|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
Interface that represents the common access methods for both Attributes and Elements.
Method Summary | |
---|---|
boolean |
getBooleanValue()
Get the contents of this element / attribute as a boolean. |
java.util.Date |
getDateValue()
Get the contents of this element / attribute as a Date. |
double |
getDoubleValue()
Get the contents of this element / attribute as a Double number. |
long |
getLongValue()
Get the contents of this element / attribute as a Long number. |
java.lang.String |
getName()
Get the name of this element / attribute. |
Namespace |
getNamespace()
Get the XML Schema namespace that this element / attribute belongs to. |
Element |
getParent()
Get the parent of this element / attribute. |
java.lang.String |
getTextNormalize()
Get the contents of this element / attribute as a String, with leading and trailing whitespace removed, and any internal spaces reduced to one space. |
java.lang.String |
getValue()
Get the contents of this element / attribute, as a String. |
Method Detail |
---|
java.lang.String getName()
Element getParent()
Namespace getNamespace()
java.lang.String getValue()
java.lang.String getTextNormalize()
long getLongValue() throws java.lang.NumberFormatException
java.lang.NumberFormatException
- if this element / attribute does not contain
a value that can be represented by a Longdouble getDoubleValue() throws java.lang.NumberFormatException
java.lang.NumberFormatException
- if this element / attribute does not contain
a value that can be represented by a Doubleboolean getBooleanValue() throws java.lang.NumberFormatException
java.lang.NumberFormatException
- if this element / attribute does not contain
a value that can be represented by a booleanjava.util.Date getDateValue() throws java.lang.NumberFormatException
java.lang.NumberFormatException
- if this element / attribute does not contain
a value that can be represented by a Date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |