Uses of Class
com.mycila.xmltool.XMLDocumentException
-
Uses of XMLDocumentException in com.mycila.xmltool
Methods in com.mycila.xmltool that throw XMLDocumentExceptionModifier and TypeMethodDescription(package private) XMLDocDefinition
XMLDocDefinition.addNamespace
(String prefix, String namespaceURI) XMLTag.delete()
Delete current tag and its childs.XMLTag.deleteAttribute
(String name) Delete an attribute of the current node.XMLDoc.findAttribute
(String name, String relativeXpath, Object... arguments) XMLTag.findAttribute
(String name, String relativeXpath, Object... arguments) Returns the attribute value of the node pointed by given XPath expression or null if the attribute does not existXMLTag.getAttribute
(String name) returns the attribute value of the current nodeXMLTag.getAttribute
(String name, String relativeXpath, Object... arguments) Returns the attribute value of the node pointed by given XPath expressionGet the CDATA of a selected nodeXMLDoc.getCDATAorText
(String relativeXpath, Object... arguments) XMLTag.getCDATAorText
(String relativeXpath, Object... arguments) Get the text of a sepcific nodeGet the text of a sepcific nodeXMLDoc.getTextOrCDATA
(String relativeXpath, Object... arguments) XMLTag.getTextOrCDATA
(String relativeXpath, Object... arguments) Get the text of a sepcific nodeXMLTag.gotoChild()
Go to the only child element of the curent node.XMLTag.gotoChild
(int i) Go to the Nth child of the curent node.Go to the child found with given node nameXMLDoc.gotoFirstChild()
XMLDoc.gotoFirstChild
(String name) XMLTag.gotoFirstChild()
Go to the first child element of the curent node.XMLTag.gotoFirstChild
(String name) Go to the first child occurance found having given nameXMLDoc.gotoLastChild()
XMLDoc.gotoLastChild
(String name) XMLTag.gotoLastChild()
Go to the lastest child element of the curent node.XMLTag.gotoLastChild
(String name) Go to the last child occurance found having given nameGo to a specific nodeboolean
XMLTag.hasAttribute
(String name, String relativeXpath, Object... arguments) Check if targeted tag has an attribute of given nameXMLDoc.setAttribute
(String name, String value) XMLDoc.setAttribute
(String name, String value, String relativeXpath, Object... arguments) XMLTag.setAttribute
(String name, String value) Sets the new value on an existign attribute, and remains on the current tag.XMLTag.setAttribute
(String name, String value, String relativeXpath, Object... arguments) Sets the new value on a targetted node's attribute, and remains on the current tag.XMLDoc.setAttributeIfExist
(String name, String value, String relativeXpath, Object... arguments) XMLTag.setAttributeIfExist
(String name, String value, String relativeXpath, Object... arguments) Sets the new value on a targetted node's attribute, and remains on the current tag.Set the cdata in the targetted node.XMLDoc.setCDATAIfExist
(String data, String relativeXpath, Object... arguments) XMLTag.setCDATAIfExist
(String data, String relativeXpath, Object... arguments) Set the cdata in the targetted node.Set the text in the targetted node.XMLDoc.setTextIfExist
(String text, String relativeXpath, Object... arguments) XMLTag.setTextIfExist
(String text, String relativeXpath, Object... arguments) Set the text in the targetted node.