com.bea.schema.type
Class DerivedID

java.lang.Object
  extended bycom.bea.schema.SOMObject
      extended bycom.bea.schema.type.SOMType
          extended bycom.bea.schema.type.SOMElementalType
              extended bycom.bea.schema.type.PrimitiveString
                  extended bycom.bea.schema.type.DerivedNormalizedString
                      extended bycom.bea.schema.type.DerivedToken
                          extended bycom.bea.schema.type.DerivedName
                              extended bycom.bea.schema.type.DerivedNCName
                                  extended bycom.bea.schema.type.DerivedID
All Implemented Interfaces:
Serializable

public class DerivedID
extends DerivedNCName

ID represents the ID attribute type from [XML 1.0 (Second Edition)]. The value space of ID is the set of all strings that match the NCName production in [Namespaces in XML]. The lexical space of ID is the set of all strings that match the NCName production in [Namespaces in XML]. The base type of ID is NCName.

ID has the following constraining facets:

Since:
3/16/2001
Version:
1.0
Author:
sharpe
See Also:
W3C XML Schema ID, Serialized Form

Field Summary
 
Fields inherited from class com.bea.schema.type.SOMType
ANYURI, BASE64BINARY, BINARY, BOOLEAN, BYTE, CDATA, CENTURY, DATE, DATETIME, DECIMAL, DOUBLE, DURATION, ENTITIES, ENTITY, FLOAT, GDAY, GMONTH, GMONTHDAY, GYEAR, GYEARMONTH, HEXBINARY, ID, IDREF, IDREFS, INT, INTEGER, LANGUAGE, LONG, MONTH, NAME, NCNAME, NEGATIVEINTEGER, NMTOKEN, NMTOKENS, NONNEGATIVEINTEGER, NONPOSITIVEINTEGER, NORMALIZEDSTRING, NOTATION, NUMBER, POSITIVEINTEGER, QNAME, RECURRINGDATE, RECURRINGDAY, RECURRINGDURATION, SHORT, STRING, TIME, TIMEDURATION, TIMEINSTANT, TIMEPERIOD, TOKEN, UNSIGNEDBYTE, UNSIGNEDINT, UNSIGNEDLONG, UNSIGNEDSHORT, URIREFERENCE, YEAR
 
Constructor Summary
DerivedID()
           
 
Method Summary
 Vector getAllowedFacets()
          By default, all sub-classes of SOMType do not allow facets (restrictions).
 String getID()
          <xsd:anyType>
 
Methods inherited from class com.bea.schema.type.PrimitiveString
createDefault, isValid
 
Methods inherited from class com.bea.schema.type.SOMElementalType
getTypeRestrictions, isSchemaChild
 
Methods inherited from class com.bea.schema.type.SOMType
getType, isElementalType, isUserDefinedType, toXML
 
Methods inherited from class com.bea.schema.SOMObject
addPrefixMapping, getContainmentXPath, getEffectivePrefixMappings, getID_UQ, getParent, getParentName, getParentSchema, getPrefixForTargetNamespace, getPrefixMapping, getTargetNamespace, getURIForPrefix, isCircularReference, msg, msg, removeNamespaceQualifier, removePrefixMapping, setIndent, setParent, setTargetNamespace, toString, toXML, toXML, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DerivedID

public DerivedID()
Method Detail

getID

public String getID()
Description copied from class: SOMType
<xsd:anyType>

Overrides:
getID in class DerivedNCName

getAllowedFacets

public Vector getAllowedFacets()
Description copied from class: SOMType
By default, all sub-classes of SOMType do not allow facets (restrictions). For types that do allow facets, the getAllowedFacets() method returns an Enumeration of String objects for the names of allowable facets.

Overrides:
getAllowedFacets in class PrimitiveString