com.sun.msv.datatype.xsd

Class BooleanType

public class BooleanType extends BuiltinAtomicType

"boolean" type. type of the value object is java.lang.Boolean. See http://www.w3.org/TR/xmlschema-2/#boolean for the spec

Author: Kohsuke KAWAGUCHI

Field Summary
static BooleanTypetheInstance
Method Summary
StringconvertToLexicalValue(Object value, SerializationContext context)
XSDatatypegetBaseType()
ClassgetJavaObjectType()
intisFacetApplicable(String facetName)
static Booleanload(String s)
static Stringsave(Boolean b)
Object_createValue(String lexicalValue, ValidationContext context)

Field Detail

theInstance

public static final BooleanType theInstance

Method Detail

convertToLexicalValue

public String convertToLexicalValue(Object value, SerializationContext context)

getBaseType

public final XSDatatype getBaseType()

getJavaObjectType

public Class getJavaObjectType()

isFacetApplicable

public int isFacetApplicable(String facetName)

load

public static Boolean load(String s)

save

public static String save(Boolean b)

_createValue

public Object _createValue(String lexicalValue, ValidationContext context)