org.odftoolkit.odfdom.type
public class NCName extends Object implements OdfDataType
Constructor and Description |
---|
NCName(String name)
Construct NCName 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 NCName data type
|
String |
toString()
Returns a String Object representing this NCName value
|
static NCName |
valueOf(String stringValue)
Returns a NCName instance representing the specified String value
|
public NCName(String name) throws IllegalArgumentException
name
- The String to be parsed into NCNameIllegalArgumentException
- if the given argument is not a valid NCNamepublic String toString()
public static NCName valueOf(String stringValue) throws IllegalArgumentException
stringValue
- a String valueIllegalArgumentException
- if the given argument is not a valid NCNameCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.