Deprecated
as a consequence of AbstractDocumentReader being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private Element |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | XomReader(Element rootElement, XmlFriendlyReplacer replacer)
Deprecated
As of 1.4 use
XomReader#XomReader(Element, NameCoder) instead.
|
| public | XomReader(Document document, XmlFriendlyReplacer replacer)
Deprecated
As of 1.4 use
XomReader#XomReader(Element, NameCoder) instead.
|
| currentElement | back to summary |
|---|---|
| private Element currentElement | |
| XomReader | back to summary |
|---|---|
| public XomReader(Element rootElement) | |
| XomReader | back to summary |
|---|---|
| public XomReader(Document document) | |
| XomReader | back to summary |
|---|---|
public XomReader(Element rootElement, NameCoder nameCoder)
| |
| XomReader | back to summary |
|---|---|
public XomReader(Document document, NameCoder nameCoder)
| |
| XomReader | back to summary |
|---|---|
| public XomReader(Element rootElement, XmlFriendlyReplacer replacer)
Deprecated As of 1.4 use
| |
| XomReader | back to summary |
|---|---|
| public XomReader(Document document, XmlFriendlyReplacer replacer)
Deprecated As of 1.4 use
| |
| getAttribute | back to summary |
|---|---|
| public String getAttribute(String name) Implements com. Doc from com. Get the value of an attribute of the current node. If no such attribute exists, the method returns null. | |
| getAttribute | back to summary |
|---|---|
| public String getAttribute(int index) Implements com. Doc from com. Get the value of an attribute of the current node, by index. Note, the behavior of this method is dependent on the underlying parser when calling it with a non-existing index. Typically some kind of RuntimeException is thrown. | |
| getAttributeCount | back to summary |
|---|---|
| public int getAttributeCount() Implements com. Doc from com. Number of attributes in current node. | |
| getAttributeName | back to summary |
|---|---|
| public String getAttributeName(int index) Implements com. Doc from com. Name of attribute in current node. Note, the behavior of this method is dependent on the underlying parser when calling it with a non-existing index. Typically some kind of RuntimeException is thrown. | |
| getChild | back to summary |
|---|---|
| protected Object getChild(int index) Implements abstract com. | |
| getChildCount | back to summary |
|---|---|
| protected int getChildCount() Implements abstract com. | |
| getNodeName | back to summary |
|---|---|
| public String getNodeName() Implements com. Doc from com. Get the name of the current node. | |
| getParent | back to summary |
|---|---|
| protected Object getParent() Implements abstract com. | |
| getValue | back to summary |
|---|---|
| public String getValue() Implements com. Doc from com. Get the value (text content) of the current node. | |
| peekNextChild | back to summary |
|---|---|
| public String peekNextChild() Overrides com. Implements com. Doc from com. Peek the name of the next child. In situation where | |
| reassignCurrentElement | back to summary |
|---|---|
| protected void reassignCurrentElement(Object current) Implements abstract com. | |