com.sun.msv.grammar.relax

Class NoneType


public class NoneType
extends BuiltinAtomicType

'none' datatype of RELAX. this type accepts nothing.
Author:
Kohsuke KAWAGUCHI

Field Summary

static NoneType
theInstance

Method Summary

Object
_createValue(String lexicalValue, ValidationContext context)
boolean
checkFormat(String literal, ValidationContext context)
String
convertToLexicalValue(Object o, SerializationContext context)
XSDatatype
getBaseType()
Class
getJavaObjectType()
int
isFacetApplicable(String facetName)

Field Details

theInstance

public static final NoneType theInstance

Method Details

_createValue

public Object _createValue(String lexicalValue,
                           ValidationContext context)

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)