public class NamespacedToken extends Object implements OdfDataType
| Constructor and Description |
|---|
NamespacedToken(String namespacedToken)
Construct NamespacedToken by the parsing the given string
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValid(String stringValue)
check if the specified String instance is a valid namespacedToken data
type
|
String |
toString()
Returns a String Object representing this NamespacedToken's value
|
static NamespacedToken |
valueOf(String stringValue)
Returns a NamespacedToken instance representing the specified String
value
|
public NamespacedToken(String namespacedToken) throws IllegalArgumentException
namespacedToken - The String to be parsed into NamespacedTokenIllegalArgumentException - if the given argument is not a valid NamespacedTokenpublic String toString()
public static NamespacedToken valueOf(String stringValue) throws IllegalArgumentException
stringValue - a String valueIllegalArgumentException - if the given argument is not a valid NamespacedTokenpublic static boolean isValid(String stringValue)
stringValue - the value to be testedCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.