|
CubeTwister 2.0alpha142 2012-02-11 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DOMInput
DOMInput.
| Method Summary | |
|---|---|
void |
closeElement()
Closes the current element of the DOM Document. |
boolean |
getAttribute(java.lang.String name,
boolean defaultValue)
Gets an attribute of the current element of the DOM Document. |
double |
getAttribute(java.lang.String name,
double defaultValue)
Gets an attribute of the current element of the DOM Document. |
float |
getAttribute(java.lang.String name,
float defaultValue)
Gets an attribute of the current element of the DOM Document. |
int |
getAttribute(java.lang.String name,
int defaultValue)
Gets an attribute of the current element of the DOM Document. |
java.lang.String |
getAttribute(java.lang.String name,
java.lang.String defaultValue)
Gets an attribute of the current element of the DOM Document. |
int |
getElementCount()
Returns the number of child elements of the current element. |
int |
getElementCount(java.lang.String tagName)
Returns the number of child elements with the specified tag name of the current element. |
java.lang.String |
getTagName()
Returns the tag name of the current element. |
java.lang.String |
getText()
Gets the text of the current element of the DOM Document. |
java.lang.String |
getText(java.lang.String defaultValue)
Gets the text of the current element of the DOM Document. |
void |
openElement(int index)
Opens the element with the specified index and makes it the current node. |
void |
openElement(java.lang.String tagName)
Opens the last element with the specified name and makes it the current node. |
void |
openElement(java.lang.String tagName,
int index)
Opens the element with the specified name and index and makes it the current node. |
java.lang.Object |
readObject()
Reads an object from the current element. |
java.lang.Object |
readObject(int index)
Reads an object from the current element. |
| Method Detail |
|---|
java.lang.String getTagName()
java.lang.String getAttribute(java.lang.String name,
java.lang.String defaultValue)
java.lang.String getText()
java.lang.String getText(java.lang.String defaultValue)
int getAttribute(java.lang.String name,
int defaultValue)
double getAttribute(java.lang.String name,
double defaultValue)
float getAttribute(java.lang.String name,
float defaultValue)
boolean getAttribute(java.lang.String name,
boolean defaultValue)
int getElementCount()
int getElementCount(java.lang.String tagName)
void openElement(int index)
void openElement(java.lang.String tagName)
void openElement(java.lang.String tagName,
int index)
void closeElement()
java.lang.IllegalArgumentException - if the provided tagName does
not match the tag name of the element.java.lang.Object readObject()
java.lang.Object readObject(int index)
|
(c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||