Package com.luciad.format.xml
Interface ILcdXMLEditableElement
- All Superinterfaces:
ILcdXMLElement
- All Known Implementing Classes:
TLcdXMLElement
Deprecated.
A general interface representing an XML element,
providing editable access to its attributes and contents.
This interface is subject to changes. It should currently
not be implemented by users.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Methods inherited from interface com.luciad.format.xml.ILcdXMLElement
getAttributeCount, getAttributeName, getAttributeValue, getAttributeValue, getContent, getContent, getContentCount, getContentCount, getName
-
Method Details
-
setName
Deprecated.Sets the name of this XML element.- Parameters:
aName
- the name of this XML element.
-
setAttribute
Deprecated.Adds the given attribute (name,value) pair to this element.- Parameters:
aName
- the name of the attribute.aValue
- the value of the attribute.
-
removeAttribute
Deprecated.Removes the attribute with the given name, if it exists.- Parameters:
aName
-
-
addContent
Deprecated.Adds the given content at the end of this element.- Parameters:
aContent
- the content to be added.
-
addContent
Deprecated.Inserts the specified content at the specified position in this XML element. Shifts the element currently at that position and any subsequent elements to the right.- Parameters:
aIndex
- the position at which to insert the specified content.aContent
- the content to be inserted.
-
setContent
Deprecated.Replaces the content at the specified position with the specified content.- Parameters:
aIndex
- the position of the content to be replaced.aContent
- the content to be stored at the specified position.- Throws:
IndexOutOfBoundsException
- if the specified index is out of range.IllegalArgumentException
- if the specified content cannot replace the content at the specified position.
-
removeContent
void removeContent(int aIndex) Deprecated.Removes the content at the specified position from this XML element. Shifts any subsequent elements to the left.- Parameters:
aIndex
- the position of the content to be removed.- Throws:
IndexOutOfBoundsException
- if the specified index is out of range.IllegalArgumentException
- if the content at the specified position cannot be removed.
-
com.format.xml
API has been deprecated. Instead, use thecom.format.xml.bind
API.