|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.schema.SOMObject | +--com.bea.schema.SOMGroupType
Abstract base class for all schema group types
Field Summary | |
protected java.util.Vector |
m_childElements
|
Constructor Summary | |
|
SOMGroupType()
|
protected |
SOMGroupType(org.xml.sax.Attributes attrs,
SOMObject parent)
|
Method Summary | |
SOMAll |
add(SOMAll newChild)
|
SOMAny |
add(SOMAny newChild)
|
SOMChoice |
add(SOMChoice newChild)
|
SOMElement |
add(SOMElement newChild)
|
SOMGroup |
add(SOMGroup newChild)
|
SOMSequence |
add(SOMSequence newChild)
|
SOMAnnotation |
addAnnotation(SOMAnnotation annotation)
add an annotation. |
protected SOMObject |
addChild(java.lang.String tagName,
org.xml.sax.Attributes attrs)
|
SOMElement |
addElement(java.lang.String name)
|
SOMElement |
addElement(java.lang.String name,
SOMType type)
|
boolean |
contains(SOMObject child)
Determine if an object is child of this element. |
abstract void |
createDefault(DefaultDocumentOptions options,
org.w3c.dom.Element current)
|
SOMAnnotation |
getAnnotation()
get the annotation for this group. |
java.util.Map |
getAttributes(boolean getAll)
retrieve the attributes for this schema element. |
java.util.Iterator |
getChildren()
get the iterator over the child elements of this group-type |
java.lang.String |
getChildrenString()
list the children in a comma separated string. |
int |
getMaxOccurs()
maxOccurs attribute |
java.lang.String |
getMaxOccursString()
String representation of maxOccurs attribute |
int |
getMinOccurs()
minOccurs attribute. |
java.lang.String |
getMinOccursString()
String representation of the minOccurs attribute value |
SOMObject |
remove(SOMObject child)
remove a child sub-element. |
SOMAnnotation |
removeAnnotation()
set the annotation at this group to null. |
void |
setMaxOccurs(int maxOccurs)
The maxOccurs attribute. |
void |
setMaxOccurs(java.lang.String maxOccurs)
The maxOccurs attribute for schema element. |
void |
setMinOccurs(int minOccurs)
The minOccurs attribute. |
void |
setMinOccurs(java.lang.String minOccurs)
The minOccurs attribute. |
protected abstract boolean |
startsWith(org.w3c.dom.Node element)
Attempt to determine if the element is the start of a group. |
void |
toXML(java.io.Writer rtn,
int indent)
|
protected abstract org.w3c.dom.Node |
validate(org.w3c.dom.Node element,
java.util.List errorList)
|
protected org.w3c.dom.Node |
validateOccurances(org.w3c.dom.Node element,
java.util.List errorList)
|
Methods inherited from class com.bea.schema.SOMObject |
addPrefixMapping,
attributesToXML,
collectEffectivePrefixMappings,
doIndent,
getContainmentXPath,
getEffectivePrefixMappings,
getID_UQ,
getID,
getParent,
getParentName,
getParentSchema,
getPrefixForTargetNamespace,
getTargetNamespace,
getURIForPrefix,
isCircularReference,
isSchemaChild,
namespacePrefixesToXML,
removeNamespaceQualifier,
removePrefixMapping,
setIndent,
setParent,
toString,
toXML,
toXML,
toXML,
trace,
trace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.util.Vector m_childElements
Constructor Detail |
public SOMGroupType()
protected SOMGroupType(org.xml.sax.Attributes attrs, SOMObject parent)
Method Detail |
protected SOMObject addChild(java.lang.String tagName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
public SOMElement addElement(java.lang.String name)
public SOMElement addElement(java.lang.String name, SOMType type)
public SOMElement add(SOMElement newChild)
public SOMChoice add(SOMChoice newChild)
public SOMGroup add(SOMGroup newChild)
public SOMSequence add(SOMSequence newChild)
public SOMAll add(SOMAll newChild)
public SOMAny add(SOMAny newChild)
public SOMAnnotation addAnnotation(SOMAnnotation annotation)
annotation
- a previously created annotationpublic SOMAnnotation getAnnotation()
public SOMAnnotation removeAnnotation()
public SOMObject remove(SOMObject child)
child
- the object that it is be removedpublic java.util.Iterator getChildren()
public java.lang.String getChildrenString()
public int getMinOccurs()
public java.lang.String getMinOccursString()
public int getMaxOccurs()
public java.lang.String getMaxOccursString()
public void setMinOccurs(java.lang.String minOccurs)
minOccurs
- a nonNegativeIntegerpublic void setMinOccurs(int minOccurs)
minOccurs
- a nonNegativeIntegerpublic void setMaxOccurs(java.lang.String maxOccurs)
maxOccurs
- a nonNegativeInteger or "unbounded"public void setMaxOccurs(int maxOccurs)
Any negative number is treated as "unbounded"
maxOccurs
- a nonNegativeInteger or -1 (unbounded)public boolean contains(SOMObject child)
child
- the object in questionpublic java.util.Map getAttributes(boolean getAll)
getAll
- get all attributespublic void toXML(java.io.Writer rtn, int indent) throws java.io.IOException
public abstract void createDefault(DefaultDocumentOptions options, org.w3c.dom.Element current)
protected abstract org.w3c.dom.Node validate(org.w3c.dom.Node element, java.util.List errorList) throws SOMValidationException
protected abstract boolean startsWith(org.w3c.dom.Node element)
element
- A DOM elementprotected org.w3c.dom.Node validateOccurances(org.w3c.dom.Node element, java.util.List errorList) throws SOMValidationException
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |