|
||||||||||
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.SOMUnion
<union> A defining construct for schema components. The XML representation for restricting a type schema component is either a <restriction>, a <list> or a <union> element information item.
The union element defines a simpleType's content to be composed of one of a set of predefined types.
Constructor Summary | |
SOMUnion()
|
Method Summary | |
void |
addSimpleType(SOMSimpleType simpleType)
|
void |
addType(SOMType type)
|
String |
createDefault()
Not implemented. |
String |
getID()
Returns a printable element tag for this Schema Object |
Vector |
getMemberTypes()
|
String |
getMemberTypesString()
|
Vector |
getSimpleTypes()
|
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 |
Constructor Detail |
public SOMUnion()
Method Detail |
public String getID()
SOMObject
getID
in class SOMObject
public void addType(SOMType type)
public void addSimpleType(SOMSimpleType simpleType)
public String getMemberTypesString()
public Vector getMemberTypes()
public Vector getSimpleTypes()
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 String createDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |