org.tockit.datatype.xsd
Class AbstractXSDDatatype

java.lang.Object
  extended byorg.tockit.datatype.AbstractDatatype
      extended byorg.tockit.datatype.xsd.AbstractXSDDatatype
All Implemented Interfaces:
Datatype, XMLizable
Direct Known Subclasses:
DecimalType, StringType

public abstract class AbstractXSDDatatype
extends AbstractDatatype


Nested Class Summary
protected static class AbstractXSDDatatype.TypeCreator
           
 
Field Summary
protected static org.jdom.Namespace XSD_NAMESPACE
           
 
Constructor Summary
protected AbstractXSDDatatype(java.lang.String name)
           
 
Method Summary
protected abstract  void addRestrictions(org.jdom.Element restrictionElement)
           
protected  org.jdom.Element createElement(java.lang.String tagName)
           
protected abstract  java.lang.String getBaseType()
           
static void registerTypeCreators()
           
 org.jdom.Element toXML()
          Write this element as the content of elem.
 
Methods inherited from class org.tockit.datatype.AbstractDatatype
canConvertFrom, canParse, convertType, getName, parse, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tockit.datatype.Datatype
insertValue, isValidValue, toValue
 
Methods inherited from interface net.sourceforge.toscanaj.util.xmlize.XMLizable
readXML
 

Field Detail

XSD_NAMESPACE

protected static final org.jdom.Namespace XSD_NAMESPACE
Constructor Detail

AbstractXSDDatatype

protected AbstractXSDDatatype(java.lang.String name)
Method Detail

registerTypeCreators

public static void registerTypeCreators()

toXML

public org.jdom.Element toXML()
Description copied from interface: XMLizable
Write this element as the content of elem.


getBaseType

protected abstract java.lang.String getBaseType()

addRestrictions

protected abstract void addRestrictions(org.jdom.Element restrictionElement)

createElement

protected org.jdom.Element createElement(java.lang.String tagName)


The ToscanaJ project