Top Description Fields Constructors Methods
com.sun.msv.datatype.xsd

public abstract Class BuiltinAtomicType

extends ConcreteType
Class Inheritance
Known Direct Subclasses
com.sun.msv.datatype.xsd.DateTimeBaseType, com.sun.msv.datatype.xsd.DurationType, com.sun.msv.datatype.xsd.NumberType, com.sun.msv.datatype.xsd.ErrorType, com.sun.msv.datatype.xsd.FloatingNumberType, com.sun.msv.datatype.xsd.IntegerDerivedType, com.sun.msv.datatype.xsd.QnameType, com.sun.msv.datatype.xsd.SimpleURType, com.sun.msv.datatype.xsd.StringType, com.sun.msv.datatype.xsd.EntityType, com.sun.msv.datatype.xsd.AnyURIType, com.sun.msv.datatype.xsd.BinaryBaseType, com.sun.msv.datatype.xsd.BooleanType
Imports
org.relaxng.datatype.DatatypeException

base class for atomic built-in types; those types which can be used by itself (int,uriReference,string, etc) .
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
public final String
displayName()

Implements com.sun.msv.datatype.xsd.XSDatatype.displayName.

gets the displayable name of this type.
public final int
getVariety()

Implements com.sun.msv.datatype.xsd.XSDatatype.getVariety.

gets the variety of this simple type.
protected Object
Inherited from com.sun.msv.datatype.xsd.ConcreteType:
_checkValid_createJavaObjectgetConcreteTypeisFinalserializeJavaObject

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.sun.msv.datatype.xsd.ConcreteType.serialVersionUID.

Constructor Detail

BuiltinAtomicTypeback to summary
protected BuiltinAtomicType(String typeName, WhiteSpaceProcessor whiteSpace)
BuiltinAtomicTypeback to summary
protected BuiltinAtomicType(String typeName)

Method Detail

displayNameback to summary
public final String displayName()

Implements com.sun.msv.datatype.xsd.XSDatatype.displayName.

Doc from com.sun.msv.datatype.xsd.XSDatatype.displayName.

gets the displayable name of this type. This method always return something. It is useful to provide a message to the user.

This method is an ad-hoc method and there is no corresponding property in the spec.

getVarietyback to summary
public final int getVariety()

Implements com.sun.msv.datatype.xsd.XSDatatype.getVariety.

Doc from com.sun.msv.datatype.xsd.XSDatatype.getVariety.

gets the variety of this simple type.

Returns:int

VARIETY_ATOMIC, VARIETY_LIST, or VARIETY_UNION.

readResolveback to summary
protected Object readResolve() throws ObjectStreamException