com.format.xml
API has been deprecated. Instead, use the com.format.xml.bind
API.public interface ILcdXMLElement
Modifier and Type | Method and Description |
---|---|
int |
getAttributeCount()
Deprecated.
Returns the number of attributes present in this XML element.
|
TLcdXMLName |
getAttributeName(int aIndex)
Deprecated.
Returns the full XML name of the attribute at the given index.
|
Object |
getAttributeValue(int aIndex)
Deprecated.
Returns the value of the attribute at the given index.
|
Object |
getAttributeValue(TLcdXMLName aAttributeName)
Deprecated.
Returns the value of the attribute with the specified name,, or
null if no such
attribute exists. |
Object |
getContent(int aIndex)
Deprecated.
Returns the content at the given index.
|
Object |
getContent(TLcdXMLName aChildName,
int aIndex)
Deprecated.
Returns the content at the specified position in the list of contents having the specified name.
|
int |
getContentCount()
Deprecated.
Returns the number of contents present in this XML element.
|
int |
getContentCount(TLcdXMLName aChildName)
Deprecated.
Returns the number of contents with the specified name, contained in this XML element.
|
TLcdXMLName |
getName()
Deprecated.
Returns the full XML name of this element.
|
TLcdXMLName getName()
TLcdXMLName getAttributeName(int aIndex)
aIndex
- the index of the attribute for which to return a name.IndexOutOfBoundsException
- if aIndex < 0 || aIndex >= getAttributeCount()
.Object getAttributeValue(int aIndex)
aIndex
- the index of the attribute for which to return a value.IndexOutOfBoundsException
- if aIndex < 0 || aIndex >= getAttributeCount()
.int getAttributeCount()
Object getAttributeValue(TLcdXMLName aAttributeName)
null
if no such
attribute exists.aAttributeName
- the name of the attribute for which to return a value.Object getContent(int aIndex)
<paragraph>
This is a <bold> bold </bold> text.
</paragraph>
the contents of the paragraph
element shall be, in that order:
aIndex
- the index of the content to be returned.IndexOutOfBoundsException
- if aIndex < 0 || aIndex >= getContentCount()
.int getContentCount()
int getContentCount(TLcdXMLName aChildName)
aChildName
- the XML name of the contents.Object getContent(TLcdXMLName aChildName, int aIndex)
aChildName
- the name of the content to be returned.aIndex
- the position of the content to be returned.IndexOutOfBoundsException
- if aIndex < 0 || aIndex >= getContentCount(aChildName)
.