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