org.tockit.datatype.xsd
Class StringType.LengthRestrictedStringType

java.lang.Object
  extended byorg.tockit.datatype.AbstractDatatype
      extended byorg.tockit.datatype.xsd.AbstractXSDDatatype
          extended byorg.tockit.datatype.xsd.StringType
              extended byorg.tockit.datatype.xsd.StringType.LengthRestrictedStringType
All Implemented Interfaces:
Datatype, XMLizable
Enclosing class:
StringType

public static class StringType.LengthRestrictedStringType
extends StringType


Nested Class Summary
 
Nested classes inherited from class org.tockit.datatype.xsd.StringType
StringType.EnumerationRestrictedStringType, StringType.LengthRestrictedStringType, StringType.PatternRestrictedStringType
 
Nested classes inherited from class org.tockit.datatype.xsd.AbstractXSDDatatype
AbstractXSDDatatype.TypeCreator
 
Field Summary
 
Fields inherited from class org.tockit.datatype.xsd.AbstractXSDDatatype
XSD_NAMESPACE
 
Method Summary
protected  void addRestrictions(org.jdom.Element restElement)
           
 int getMaxLength()
           
 int getMinLength()
           
 boolean isValidStringValue(java.lang.String valueToTest)
           
 
Methods inherited from class org.tockit.datatype.xsd.StringType
canConvertFrom, canParse, convertType, createEnumerationRestrictedType, createEnumerationRestrictedType, createLengthRestrictedType, createPatternRestrictedType, createUnrestrictedType, getBaseType, getTypeCreator, insertValue, isValidValue, parse, readXML, toValue
 
Methods inherited from class org.tockit.datatype.xsd.AbstractXSDDatatype
createElement, registerTypeCreators, toXML
 
Methods inherited from class org.tockit.datatype.AbstractDatatype
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMaxLength

public int getMaxLength()

getMinLength

public int getMinLength()

isValidStringValue

public boolean isValidStringValue(java.lang.String valueToTest)
Overrides:
isValidStringValue in class StringType

addRestrictions

protected void addRestrictions(org.jdom.Element restElement)
Overrides:
addRestrictions in class StringType


The ToscanaJ project