|
GXPARSE hosted by |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.gorman.xml.parse.toolkit.AbstractElement
ca.gorman.xml.parse.toolkit.MutableElement
public class MutableElement
Constructable and mutable realization of Element.
This class makes the contructors and setters of the base class visible to
the public.
| Constructor Summary | |
|---|---|
|
MutableElement()
Create an uninitialized MutableElement. |
|
MutableElement(Element element)
Create an initialized MutableElement. |
|
MutableElement(QName qName)
Create a named MutableElement with empty attribute list. |
protected |
MutableElement(QName qName,
Attribute[] attributes)
Create an initialized MutableElement. |
| Method Summary | |
|---|---|
void |
setAttribute(Attribute attribute)
Set or replace a single Attribute |
void |
setAttributes(Attribute[] attribute)
Set or replace the entire list of attributes. |
void |
setQName(QName qName)
Set element name. |
| Methods inherited from class ca.gorman.xml.parse.toolkit.AbstractElement |
|---|
equals, getAttribute, getAttributes, getChildCount, getParent, getQName, getRepeatCount, getSiblingCount, hasAncestor, hashCode, hasParent, newInstance, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ca.gorman.xml.parse.Element |
|---|
equals, getAttribute, getAttributes, getChildCount, getParent, getQName, getRepeatCount, getSiblingCount, hasAncestor, hashCode, hasParent |
| Constructor Detail |
|---|
protected MutableElement(QName qName,
Attribute[] attributes)
Create an initialized MutableElement.
public MutableElement(Element element)
Create an initialized MutableElement.
public MutableElement(QName qName)
Create a named MutableElement with empty attribute list.
public MutableElement()
Create an uninitialized MutableElement.
| Method Detail |
|---|
public final void setQName(QName qName)
AbstractElementSet element name.
setQName in class AbstractElementpublic final void setAttributes(Attribute[] attribute)
AbstractElementSet or replace the entire list of attributes.
setAttributes in class AbstractElementpublic void setAttribute(Attribute attribute)
Set or replace a single Attribute
setAttribute in class AbstractElementNullPointerException - if attribute is null
|
GXPARSE download | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||