Package com.persequor.xml
Class XmlNode
java.lang.Object
com.persequor.xml.XmlNode
- Direct Known Subclasses:
- NullXmlNode
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddAttribute(String name, String value) addChildNode(Namespace namespace, String name) addChildNode(Namespace namespace, String name, boolean forceQualified) addChildNode(String name) ensureChildExists(String name, boolean forceQualified) getAttribute(String name) getName()booleanvoidremove()voidsetTextContent(String content) xpathSingle(String xpath) xpathSingleOptional(String xpath) 
- 
Constructor Details- 
XmlNode
 
- 
- 
Method Details- 
getChildren
- 
xpath- Throws:
- XPathExpressionException
 
- 
ensureChildExistspublic XmlNode ensureChildExists(String name, boolean forceQualified) throws XPathExpressionException - Throws:
- XPathExpressionException
 
- 
addChildNode
- 
addChildNode
- 
addChildNode
- 
xpathSingleOptional- Throws:
- XPathExpressionException
 
- 
xpathSingle- Throws:
- XPathExpressionException
 
- 
removepublic void remove()
- 
getLocalName
- 
getName
- 
getPrefix
- 
getNamespace
- 
getTextContent
- 
setTextContent
- 
isElementpublic boolean isElement()
- 
addAttribute
- 
getAttribute
- 
getAttributes
 
-