|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.schema.SOMObject com.bea.schema.type.SOMType
<anyType> Base class for all SOM type objects, including complexType and simpleType. All primitive, derived, and user defined types within the SOM are extended from SOMType.
SOMType acts as a factory for all immutable schema types.
Constructor Summary | |
SOMType()
|
Method Summary | |
Vector |
getAllowedFacets()
By default, all sub-classes of SOMType do not allow facets (restrictions). |
String |
getID()
<xsd:anyType> |
static SOMType |
getType(String id)
getType is a factory style method that returns a reference to an instance of a predefined immutable type (primitive or derived). |
boolean |
isElementalType()
Returns true unless overridden by a subclass. |
boolean |
isUserDefinedType()
Returns false unless overridden by a subclass. |
void |
toXML(Writer rtn,
int indent)
Outputs a formatted XML representation of SOMObject. |
Methods inherited from class com.bea.schema.SOMObject |
addPrefixMapping, getContainmentXPath, getEffectivePrefixMappings, getID_UQ, getParent, getParentName, getParentSchema, getPrefixForTargetNamespace, getPrefixMapping, getTargetNamespace, getURIForPrefix, isCircularReference, isSchemaChild, 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 |
Field Detail |
public static final DerivedByte BYTE
public static final DerivedCDATA CDATA
public static final DerivedCentury CENTURY
public static final DerivedENTITIES ENTITIES
public static final DerivedENTITY ENTITY
public static final DerivedID ID
public static final DerivedIDREF IDREF
public static final DerivedIDREFS IDREFS
public static final DerivedInt INT
public static final DerivedInteger INTEGER
public static final DerivedLanguage LANGUAGE
public static final DerivedLong LONG
public static final DerivedMonth MONTH
public static final DerivedNCName NCNAME
public static final DerivedNMTOKEN NMTOKEN
public static final DerivedNMTOKENS NMTOKENS
public static final DerivedName NAME
public static final DerivedNegativeInteger NEGATIVEINTEGER
public static final DerivedNonNegativeInteger NONNEGATIVEINTEGER
public static final DerivedNonPositiveInteger NONPOSITIVEINTEGER
public static final DerivedNormalizedString NORMALIZEDSTRING
public static final DerivedPositiveInteger POSITIVEINTEGER
public static final DerivedRecurringDate RECURRINGDATE
public static final DerivedRecurringDay RECURRINGDAY
public static final DerivedShort SHORT
public static final DerivedTimeInstant TIMEINSTANT
public static final DerivedTimePeriod TIMEPERIOD
public static final DerivedToken TOKEN
public static final DerivedUnsignedByte UNSIGNEDBYTE
public static final DerivedUnsignedInt UNSIGNEDINT
public static final DerivedUnsignedLong UNSIGNEDLONG
public static final DerivedUnsignedShort UNSIGNEDSHORT
public static final DerivedYear YEAR
public static final PrimitiveAnyURI ANYURI
public static final PrimitiveBase64Binary BASE64BINARY
public static final PrimitiveBinary BINARY
public static final PrimitiveBoolean BOOLEAN
public static final PrimitiveDate DATE
public static final PrimitiveDateTime DATETIME
public static final PrimitiveDecimal DECIMAL
public static final PrimitiveDouble DOUBLE
public static final PrimitiveDuration DURATION
public static final PrimitiveFloat FLOAT
public static final PrimitiveGDay GDAY
public static final PrimitiveGMonth GMONTH
public static final PrimitiveGMonthDay GMONTHDAY
public static final PrimitiveGYear GYEAR
public static final PrimitiveGYearMonth GYEARMONTH
public static final PrimitiveHexBinary HEXBINARY
public static final PrimitiveNOTATION NOTATION
public static final PrimitiveNumber NUMBER
public static final PrimitiveQName QNAME
public static final PrimitiveRecurringDuration RECURRINGDURATION
public static final PrimitiveString STRING
public static final PrimitiveTime TIME
public static final PrimitiveTimeDuration TIMEDURATION
public static final PrimitiveUriReference URIREFERENCE
Constructor Detail |
public SOMType()
Method Detail |
public String getID()
getID
in class SOMObject
public void toXML(Writer rtn, int indent) throws IOException
SOMObject
toXML
in class SOMObject
rtn
- printable XML Schemaindent
- the indent level for formatting at which to start this schema object.
IOException
- if IOExcpetion is thrown by underlying java.io.Writerpublic Vector getAllowedFacets()
public boolean isElementalType()
isElementalType is overridden by SOMUserDefinedType
public boolean isUserDefinedType()
isUserDefinedType is overridden by SOMUserDefinedType
public static SOMType getType(String id)
SOMType.getType("string") returns a reference to the instance of PrimitiveString.
If id is prefixed with xsd:, id will truncated to the unqualified name (removing "xsd:").
id
- the lookup key - unqualified type name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |