com.bea.schema
Class SOMList
java.lang.Object
com.bea.schema.SOMObject
com.bea.schema.SOMList
- All Implemented Interfaces:
- Serializable
- public class SOMList
- extends SOMObject
<list> 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 list element defines a simpleType's content to be
composed of a list of another type.
- Version:
- 1.0
- Author:
- sharpe
- See Also:
- Serialized Form
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 |
SOMList
public SOMList(SOMType itemType)
getID
public String getID()
- Description copied from class:
SOMObject
- Returns a printable element tag for this Schema Object
- Specified by:
getID
in class SOMObject
- Returns:
- String representation of the element tag
setType
public SOMType setType(SOMType itemType)
addAnnotation
public SOMAnnotation addAnnotation(SOMAnnotation annotation)
getType
public SOMType getType()
toXML
public void toXML(Writer rtn,
int indent)
throws IOException
- Description copied from class:
SOMObject
- Outputs a formatted XML representation of SOMObject.
- Specified by:
toXML
in class SOMObject
- Parameters:
rtn
- printable XML Schemaindent
- the indent level for formatting at which to start this schema object.
- Throws:
IOException
- if IOExcpetion is thrown by underlying java.io.Writer
createDefault
public String createDefault()