|
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.SOMExtension
<extension> This class acts as a wrapper to extension elements.
Constructor Summary | |
protected |
SOMExtension()
The extension element cannot exist without specifying a base type. |
protected |
SOMExtension(SOMObject parent,
org.xml.sax.Attributes attrs)
|
|
SOMExtension(SOMType base)
Constructs a new <extension> element of a given base type. |
Method Summary | |
SOMAnnotation |
addAnnotation(SOMAnnotation annotation)
|
SOMAttribute |
addAttribute(SOMAttribute attribute)
add an <attribute> to this complexType. |
SOMAttribute |
addAttribute(java.lang.String name)
|
SOMAttribute |
addAttribute(java.lang.String name,
SOMType type)
|
SOMAttributeGroup |
addAttributeGroup(SOMAttributeGroup attribute)
add an <attributeGroup> to this complexType. |
protected SOMObject |
addChild(java.lang.String tagName,
org.xml.sax.Attributes attrs)
|
void |
createDefault(DefaultDocumentOptions options,
org.w3c.dom.Element current)
Not implemented. |
SOMAnnotation |
getAnnotation()
|
java.util.Iterator |
getAttributeElements()
returns an iterator over SOMAttribute(s) children. |
java.util.Iterator |
getAttributeGroups()
returns an iterator over SOMAttributeGroup(s) children An extension will not have both Attribute(s) and AttributeGroup(s). |
java.util.Map |
getAttributes(boolean getAll)
retrieve the attributes for this schema element. |
SOMType |
getBase()
get the base attribute |
java.lang.String |
getID()
|
java.util.Iterator |
listAttributesExtended()
iterator over all attribute elements for this extension. |
SOMAnnotation |
removeAnnotation()
set the annotation for this type to null. |
SOMAttribute |
removeAttribute(SOMAttribute attr)
remove an attribute sub-element. |
SOMAttributeGroup |
removeAttributeGroup(SOMAttributeGroup attr)
remove an attribute sub-element. |
void |
setBase(SOMType type)
set the base type attribute |
void |
setBase(java.lang.String type)
performs a type lookup for the type name. |
void |
toXML(java.io.Writer rtn,
int indent)
|
protected void |
validate(org.w3c.dom.Node element,
java.util.List errorList)
|
Methods inherited from class com.bea.schema.SOMObject |
attributesToXML,
doIndent,
getID_UQ,
getParent,
getParentSchema,
isCircularReference,
isSchemaChild,
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 |
Constructor Detail |
protected SOMExtension()
public SOMExtension(SOMType base)
base
- type to be extended.protected SOMExtension(SOMObject parent, org.xml.sax.Attributes attrs)
Method Detail |
public void setBase(SOMType type)
type
- basepublic void setBase(java.lang.String type)
type
- type name to lookuppublic SOMType getBase()
public java.lang.String getID()
public SOMAnnotation addAnnotation(SOMAnnotation annotation)
public SOMAnnotation getAnnotation()
public SOMAnnotation removeAnnotation()
public java.util.Iterator getAttributeElements()
public java.util.Iterator getAttributeGroups()
public java.util.Iterator listAttributesExtended()
public java.util.Map getAttributes(boolean getAll)
getAll
- get all attributesprotected SOMObject addChild(java.lang.String tagName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
public SOMAttribute addAttribute(java.lang.String name)
public SOMAttribute addAttribute(java.lang.String name, SOMType type)
public SOMAttribute addAttribute(SOMAttribute attribute)
attribute
- the attribute to addpublic SOMAttributeGroup addAttributeGroup(SOMAttributeGroup attribute)
attribute
- the attributeGroup to addpublic SOMAttribute removeAttribute(SOMAttribute attr)
attr
- public SOMAttributeGroup removeAttributeGroup(SOMAttributeGroup attr)
attr
- public void toXML(java.io.Writer rtn, int indent) throws java.io.IOException
public void createDefault(DefaultDocumentOptions options, org.w3c.dom.Element current)
options
- current
- protected void validate(org.w3c.dom.Node element, java.util.List errorList)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |