com.sun.msv.grammar.relax

Class EmptyStringType

public class EmptyStringType extends BuiltinAtomicType

'emptyString' type of RELAX. this type accepts nothing but "".

Author: Kohsuke KAWAGUCHI

Field Summary
static EmptyStringTypetheInstance
Method Summary
booleancheckFormat(String literal, ValidationContext context)
StringconvertToLexicalValue(Object o, SerializationContext context)
XSDatatypegetBaseType()
ClassgetJavaObjectType()
intisFacetApplicable(String facetName)
Object_createValue(String lexicalValue, ValidationContext context)

Field Detail

theInstance

public static final EmptyStringType theInstance

Method Detail

checkFormat

public boolean checkFormat(String literal, ValidationContext context)

convertToLexicalValue

public String convertToLexicalValue(Object o, SerializationContext context)

getBaseType

public final XSDatatype getBaseType()

getJavaObjectType

public Class getJavaObjectType()

isFacetApplicable

public int isFacetApplicable(String facetName)

_createValue

public Object _createValue(String lexicalValue, ValidationContext context)