|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.admin.ns.ValueComponent
com.novell.admin.ns.Value
com.novell.admin.ns.StringValue
Storage class for all syntaxes that use string types.
This class is immutable.
BooleanValue
,
HexValue
,
LongValue
,
StreamValue
,
Serialized FormConstructor Summary | |
StringValue(Syntax syntax,
java.lang.String str)
Constructor that uses a String object. |
Method Summary | |
java.lang.String |
getValue()
Returns the value as a String. |
boolean |
isLegalString(java.lang.String str)
Determines if a String contains only characters supported by the associated syntax. |
Methods inherited from class com.novell.admin.ns.Value |
clone |
Methods inherited from class com.novell.admin.ns.ValueComponent |
compareTo, equals, getSyntax, isWithinBounds, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StringValue(Syntax syntax, java.lang.String str)
This constructor should be called only by a syntax strategy for data types that store data as strings.
syntax
- Associated syntax for this String value.
The strategy associated with the syntax must extend StringStrategy, or an internal error will be thrown.
str
- The String object.StringStrategy
Method Detail |
public java.lang.String getValue()
public boolean isLegalString(java.lang.String str)
str
- The String being checked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |