|
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.SOMAttributeGroup
<attributeGroup> The XML representation for an attribute group definition schema component is an <attributeGroup> element information item. It provides for naming a group of attribute declarations and an attribute wildcard for use by reference in the XML representation of complex type definitions and other attribute group definitions.
| Constructor Summary | |
|
SOMAttributeGroup()
|
protected |
SOMAttributeGroup(org.xml.sax.Attributes attrs,
SOMObject parent)
|
|
SOMAttributeGroup(SOMAttributeGroup ref,
SOMObject parent)
Construct an <attributeGroup> reference |
|
SOMAttributeGroup(java.lang.String name,
SOMObject parent)
|
| Method Summary | |
SOMAttribute |
add(SOMAttribute attribute)
add an <attribute> sub-element. |
SOMAttributeGroup |
add(SOMAttributeGroup attributeGroup)
add an <attributeGroup> sub-element. |
SOMAnnotation |
addAnnotation(SOMAnnotation annotation)
add an annotation. |
SOMAttribute |
addAttribute(java.lang.String name)
add an new <attribute> sub-element. |
SOMAttributeGroup |
addAttributeGroup(java.lang.String name)
add an new <attributeGroup> sub-element. |
protected SOMObject |
addChild(java.lang.String tagName,
org.xml.sax.Attributes attrs)
|
boolean |
contains(SOMObject child)
Determine if an object is child of this element. |
java.util.Iterator |
getAttributeElements()
get the iterator over the attribute elements |
java.util.Map |
getAttributes(boolean getAll)
retrieve the attributes for this schema element. |
java.lang.String |
getID()
|
java.lang.String |
getName()
get the "name" attribute. |
SOMReference |
getRef()
get the "ref" attribute. |
java.lang.String |
getRefName()
|
boolean |
isRef()
Is this element a reference to another element. |
java.util.Iterator |
listAttributesExtended()
iterator over all attribute elements. |
SOMAttribute |
remove(SOMAttribute child)
remove an attribute child. |
SOMAttributeGroup |
remove(SOMAttributeGroup child)
remove an attribute child. |
SOMAnnotation |
removeAnnotation()
set the annotation at this group to null. |
void |
setName(java.lang.String name)
set the "name" attribute. |
void |
setRef(SOMReference ref)
set the "ref" attribute. |
void |
setRef(SOMUnresolvedReference attrGrp)
set the "ref" attribute. |
void |
toXML(java.io.Writer rtn,
int indent)
|
| Methods inherited from class com.bea.schema.SOMObject |
attributesToXML,
doIndent,
getID_UQ,
getParent,
getParentSchema,
isCircularReference,
isSchemaChild,
removeNamespaceQualifier,
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 |
public SOMAttributeGroup()
public SOMAttributeGroup(java.lang.String name,
SOMObject parent)
public SOMAttributeGroup(SOMAttributeGroup ref,
SOMObject parent)
ref - <attributeGroup ref="...">
protected SOMAttributeGroup(org.xml.sax.Attributes attrs,
SOMObject parent)
| Method Detail |
public void setName(java.lang.String name)
name - the attributeGroup namepublic void setRef(SOMReference ref)
attrGrp - the attributeGroup to referencepublic void setRef(SOMUnresolvedReference attrGrp)
attrGrp - the attributeGroup to referencepublic java.lang.String getName()
name - the attributeGroup namepublic boolean isRef()
public SOMReference getRef()
public java.lang.String getRefName()
public java.lang.String getID()
protected SOMObject addChild(java.lang.String tagName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
public SOMAttribute addAttribute(java.lang.String name)
For example:
<attributeGroup name="myAttrGrp> <attribute name="style" type="xsd:string"> <attributeGroup/>
name - the attribute namepublic SOMAttributeGroup addAttributeGroup(java.lang.String name)
name - the attribute namepublic SOMAttribute add(SOMAttribute attribute)
For example:
<attributeGroup name="myAttrGrp> <attribute name="style" type="xsd:string"> <attributeGroup/>
attribute - the attribute reference to be addedpublic SOMAttributeGroup add(SOMAttributeGroup attributeGroup)
For example:
<attributeGroup name="anotherAttrGrp> <attributeGroup ref="myAttrGrp"> <attributeGroup/>
attributeGroup - the attributeGroup reference to be addedpublic SOMAnnotation addAnnotation(SOMAnnotation annotation)
annotation - a previously created annotationpublic SOMAnnotation removeAnnotation()
public SOMAttribute remove(SOMAttribute child)
child - the object that it is be removedpublic SOMAttributeGroup remove(SOMAttributeGroup child)
child - the object that it is be removedpublic boolean contains(SOMObject child)
child - the object in questionpublic java.util.Iterator getAttributeElements()
public java.util.Iterator listAttributesExtended()
public java.util.Map getAttributes(boolean getAll)
getAll - get all attributes
public void toXML(java.io.Writer rtn,
int indent)
throws java.io.IOException
|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||