com.sun.msv.grammar.relax
Class EmptyStringType
java.lang.Object
BuiltinAtomicType
com.sun.msv.grammar.relax.EmptyStringType
- public class EmptyStringType
- extends BuiltinAtomicType
'emptyString' type of RELAX.
this type accepts nothing but "".
- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theInstance
public static final EmptyStringType theInstance
getBaseType
public final XSDatatype getBaseType()
isFacetApplicable
public int isFacetApplicable(java.lang.String facetName)
checkFormat
public boolean checkFormat(java.lang.String literal,
ValidationContext context)
_createValue
public java.lang.Object _createValue(java.lang.String lexicalValue,
ValidationContext context)
convertToLexicalValue
public java.lang.String convertToLexicalValue(java.lang.Object o,
SerializationContext context)
getJavaObjectType
public java.lang.Class getJavaObjectType()