com.format.xml
API has been deprecated. Instead, use the com.format.xml.bind
API.public interface ILcdXMLEditableElement extendsILcdXMLElement
Modifier and Type | Method and Description |
---|---|
void |
addContent(int aIndex,
Object aContent)
Deprecated.
Inserts the specified content at the specified position in this XML element.
|
void |
addContent(Object aContent)
Deprecated.
Adds the given content at the end of this element.
|
void |
removeAttribute(TLcdXMLName aName)
Deprecated.
Removes the attribute with the given name, if it exists.
|
void |
removeContent(int aIndex)
Deprecated.
Removes the content at the specified position from this XML element.
|
void |
setAttribute(TLcdXMLName aName,
Object aValue)
Deprecated.
Adds the given attribute (name,value) pair to this element.
|
void |
setContent(int aIndex,
Object aContent)
Deprecated.
Replaces the content at the specified position with the specified content.
|
void |
setName(TLcdXMLName aName)
Deprecated.
Sets the name of this XML element.
|
getAttributeCount, getAttributeName, getAttributeValue, getAttributeValue, getContent, getContent, getContentCount, getContentCount, getName
void setName(TLcdXMLName aName)
aName
- the name of this XML element.void setAttribute(TLcdXMLName aName, Object aValue)
aName
- the name of the attribute.aValue
- the value of the attribute.void removeAttribute(TLcdXMLName aName)
aName
- void addContent(Object aContent)
aContent
- the content to be added.void addContent(int aIndex, Object aContent)
aIndex
- the position at which to insert the specified content.aContent
- the content to be inserted.void setContent(int aIndex, Object aContent)
aIndex
- the position of the content to be replaced.aContent
- the content to be stored at the specified position.IndexOutOfBoundsException
- if the specified index is out of range.IllegalArgumentException
- if the specified content cannot replace the content at
the specified position.void removeContent(int aIndex)
aIndex
- the position of the content to be removed.IndexOutOfBoundsException
- if the specified index is out of range.IllegalArgumentException
- if the content at the specified position cannot be removed.