AbstractXMLNode is the base class of XMLNode and XMLStreamNode. More...

Public Member Functions | |
| abstract String | getName () |
| abstract String | get (final String attrName) |
| read only access to an attribute | |
| abstract String | get (final String attrName, final String def) |
| read only access to an attribute with default value | |
| abstract String | getContent () |
| abstract String | toString () |
| XMLInt | getInt (final String attrName) |
| XMLInt | getInt (final String attrName, int def) |
| XMLNumber | getNumber (final String attrName) |
| XMLNumber | getNumber (final String attrName, BigDecimal def) |
| XMLBool | getBool (final String attrName) |
| XMLBool | getBool (final String attrName, boolean def) |
| XMLString | getString (final String attrName) |
| XMLString | getString (final String attrName, final String def) |
AbstractXMLNode is the base class of XMLNode and XMLStreamNode.
Definition at line 10 of file AbstractXMLNode.java.
| abstract String de.mfuchs.xmlstorage.AbstractXMLNode.get | ( | final String | attrName ) | [pure virtual] |
read only access to an attribute
Implemented in de.mfuchs.xmlstorage.stream.XMLStreamNode, and de.mfuchs.xmlstorage.XMLNode.
Referenced by de.mfuchs.xmlstorage.XMLNode.getSubattrib(), de.mfuchs.xmlstorage.XPathElement.matches(), de.mfuchs.xmlstorage.XMLBool.XMLBool(), de.mfuchs.xmlstorage.XMLInt.XMLInt(), de.mfuchs.xmlstorage.XMLNumber.XMLNumber(), and de.mfuchs.xmlstorage.XMLString.XMLString().
| abstract String de.mfuchs.xmlstorage.AbstractXMLNode.get | ( | final String | attrName, |
| final String | def | ||
| ) | [pure virtual] |
read only access to an attribute with default value
Implemented in de.mfuchs.xmlstorage.stream.XMLStreamNode, and de.mfuchs.xmlstorage.XMLNode.
| XMLBool de.mfuchs.xmlstorage.AbstractXMLNode.getBool | ( | final String | attrName ) |
Definition at line 42 of file AbstractXMLNode.java.
{
return new XMLBool(this, attrName);
}
| XMLBool de.mfuchs.xmlstorage.AbstractXMLNode.getBool | ( | final String | attrName, |
| boolean | def | ||
| ) |
Definition at line 46 of file AbstractXMLNode.java.
{
return new XMLBool(this, attrName, def);
}
| abstract String de.mfuchs.xmlstorage.AbstractXMLNode.getContent | ( | ) | [pure virtual] |
Implemented in de.mfuchs.xmlstorage.stream.XMLStreamNode, and de.mfuchs.xmlstorage.XMLNode.
| XMLInt de.mfuchs.xmlstorage.AbstractXMLNode.getInt | ( | final String | attrName ) |
Definition at line 24 of file AbstractXMLNode.java.
{
return new XMLInt(this, attrName);
}
| XMLInt de.mfuchs.xmlstorage.AbstractXMLNode.getInt | ( | final String | attrName, |
| int | def | ||
| ) |
Definition at line 28 of file AbstractXMLNode.java.
{
return new XMLInt(this, attrName, def);
}
| abstract String de.mfuchs.xmlstorage.AbstractXMLNode.getName | ( | ) | [pure virtual] |
Implemented in de.mfuchs.xmlstorage.stream.XMLStreamNode, and de.mfuchs.xmlstorage.XMLNode.
| XMLNumber de.mfuchs.xmlstorage.AbstractXMLNode.getNumber | ( | final String | attrName ) |
Definition at line 33 of file AbstractXMLNode.java.
{
return new XMLNumber(this, attrName);
}
| XMLNumber de.mfuchs.xmlstorage.AbstractXMLNode.getNumber | ( | final String | attrName, |
| BigDecimal | def | ||
| ) |
Definition at line 37 of file AbstractXMLNode.java.
{
return new XMLNumber(this, attrName, def);
}
| XMLString de.mfuchs.xmlstorage.AbstractXMLNode.getString | ( | final String | attrName, |
| final String | def | ||
| ) |
Definition at line 55 of file AbstractXMLNode.java.
{
return new XMLString(this, attrName, def);
}
| XMLString de.mfuchs.xmlstorage.AbstractXMLNode.getString | ( | final String | attrName ) |
Definition at line 51 of file AbstractXMLNode.java.
{
return new XMLString(this, attrName);
}
| abstract String de.mfuchs.xmlstorage.AbstractXMLNode.toString | ( | ) | [pure virtual] |
Implemented in de.mfuchs.xmlstorage.stream.XMLStreamNode, and de.mfuchs.xmlstorage.XMLNode.
Referenced by de.mfuchs.xmlstorage.XPathElement.matches().
1.7.2