|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.schema.SOMObject
com.bea.schema.type.SOMType
com.bea.schema.SOMUserDefinedType
com.bea.schema.SOMSimpleType
This object defines a simple user defined schema type.
Simple Type definitions provide for:
| 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 | |
SOMSimpleType()
|
|
SOMSimpleType(String name)
|
|
| Method Summary | |
SOMList |
add(SOMList list)
|
SOMRestriction |
add(SOMRestriction restrict)
|
SOMUnion |
add(SOMUnion p_union)
|
SOMList |
addList(SOMType type)
add a new SOMList constraint. |
SOMRestriction |
addRestriction(SOMType type)
add a new SOMRestriction constraint. |
String |
createDefault()
|
Vector |
getAllowedFacets()
By default, all sub-classes of SOMType do not allow facets (restrictions). |
SOMObject |
getConstraint()
The generic constraint - for the type specific constraint, use getRestriction(), getList(), or getUnion(). |
String |
getID()
<xsd:anyType> |
SOMList |
getList()
Access the
|
SOMRestriction |
getRestriction()
Access the |
SOMUnion |
getUnion()
Access the |
SOMObject |
removeConstraint()
remove the previously set constraint. |
void |
toXML(Writer rtn,
int indent)
Outputs a formatted XML representation of SOMObject. |
| Methods inherited from class com.bea.schema.SOMUserDefinedType |
addAnnotation, addAnnotation, addDocumentation, getAnnotation, getAttributes, getName, isElementalType, isUserDefinedType, removeAnnotation, setName |
| Methods inherited from class com.bea.schema.type.SOMType |
getType |
| 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 |
| Constructor Detail |
public SOMSimpleType()
public SOMSimpleType(String name)
| Method Detail |
public String getID()
SOMType
getID in class SOMTypepublic SOMObject removeConstraint()
public SOMRestriction addRestriction(SOMType type)
type - the restriction base type
public SOMList addList(SOMType type)
type - the list item type
public SOMRestriction add(SOMRestriction restrict)
public SOMList add(SOMList list)
public SOMUnion add(SOMUnion p_union)
public SOMRestriction getRestriction()
public SOMList getList()
public SOMUnion getUnion()
public SOMObject getConstraint()
getRestriction(),
getList(),
getUnion(),
SOMRestriction,
SOMList,
SOMUnion
public void toXML(Writer rtn,
int indent)
throws IOException
SOMObject
toXML in class SOMTypeIOExceptionpublic Vector getAllowedFacets()
SOMType
getAllowedFacets in class SOMTypepublic String createDefault()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||