com.sun.msv.grammar.relax
Class EmptyStringType

java.lang.Object
  extended byBuiltinAtomicType
      extended bycom.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

Field Summary
static EmptyStringType theInstance
           
 
Method Summary
 java.lang.Object _createValue(java.lang.String lexicalValue, ValidationContext context)
           
 boolean checkFormat(java.lang.String literal, ValidationContext context)
           
 java.lang.String convertToLexicalValue(java.lang.Object o, SerializationContext context)
           
 XSDatatype getBaseType()
           
 java.lang.Class getJavaObjectType()
           
 int isFacetApplicable(java.lang.String facetName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theInstance

public static final EmptyStringType theInstance
Method Detail

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()