- getAttribute(String) - Method in class com.mycila.xmltool.XMLDoc
-
- getAttribute(String, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
-
- getAttribute(String) - Method in interface com.mycila.xmltool.XMLTag
-
returns the attribute value of the current node
- getAttribute(String, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Returns the attribute value of the node pointed by given XPath expression
- getAttributeNames() - Method in class com.mycila.xmltool.XMLDoc
-
- getAttributeNames() - Method in interface com.mycila.xmltool.XMLTag
-
- getCDATA(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
-
- getCDATA() - Method in class com.mycila.xmltool.XMLDoc
-
- getCDATA() - Method in interface com.mycila.xmltool.XMLTag
-
- getCDATA(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Get the CDATA of a selected node
- getCDATAorText() - Method in class com.mycila.xmltool.XMLDoc
-
- getCDATAorText(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
-
- getCDATAorText() - Method in interface com.mycila.xmltool.XMLTag
-
- getCDATAorText(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Get the text of a sepcific node
- getChildCount() - Method in class com.mycila.xmltool.XMLDoc
-
- getChildCount() - Method in interface com.mycila.xmltool.XMLTag
-
- getChildElement() - Method in class com.mycila.xmltool.XMLDoc
-
- getChildElement() - Method in interface com.mycila.xmltool.XMLTag
-
- getChilds() - Method in class com.mycila.xmltool.XMLDoc
-
- getChilds(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
-
- getChilds() - Method in interface com.mycila.xmltool.XMLTag
-
XMLTag tag = XMLDoc.newDocument(true)
.addRoot("root").addTag("a")
.gotoParent().addTag("b")
.gotoParent().addTag("c")
.gotoRoot();
assertEquals(tag.getCurrentTagName(), "root");
for (XMLTag xmlTag : tag.getChilds()) {
if(xmlTag.getCurrentTagName().equals("b")) {
break;
}
}
assertEquals(tag.getCurrentTagName(), "b");
- getChilds(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Create an iterable object over selected elements.
- getContext() - Method in class com.mycila.xmltool.XMLDoc
-
- getContext() - Method in interface com.mycila.xmltool.XMLTag
-
- getCurrentTag() - Method in class com.mycila.xmltool.XMLDoc
-
- getCurrentTag() - Method in interface com.mycila.xmltool.XMLTag
-
- getCurrentTagLocation() - Method in class com.mycila.xmltool.XMLDoc
-
- getCurrentTagLocation() - Method in interface com.mycila.xmltool.XMLTag
-
- getCurrentTagName() - Method in class com.mycila.xmltool.XMLDoc
-
- getCurrentTagName() - Method in interface com.mycila.xmltool.XMLTag
-
- getErrorMessages() - Method in interface com.mycila.xmltool.ValidationResult
-
- getErrors() - Method in interface com.mycila.xmltool.ValidationResult
-
- getInnerDocument() - Method in class com.mycila.xmltool.XMLDoc
-
- getInnerDocument() - Method in interface com.mycila.xmltool.XMLTag
-
- getInnerText() - Method in class com.mycila.xmltool.XMLDoc
-
- getInnerText() - Method in interface com.mycila.xmltool.XMLTag
-
- getPefix(String) - Method in class com.mycila.xmltool.XMLDoc
-
- getPefix(String) - Method in interface com.mycila.xmltool.XMLTag
-
Get the prefix of a namespace
- getPefixes(String) - Method in class com.mycila.xmltool.XMLDoc
-
- getPefixes(String) - Method in interface com.mycila.xmltool.XMLTag
-
Get all bound prefixes of a namespace
- getText(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
-
- getText() - Method in class com.mycila.xmltool.XMLDoc
-
- getText() - Method in interface com.mycila.xmltool.XMLTag
-
- getText(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Get the text of a sepcific node
- getTextOrCDATA() - Method in class com.mycila.xmltool.XMLDoc
-
- getTextOrCDATA(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
-
- getTextOrCDATA() - Method in interface com.mycila.xmltool.XMLTag
-
- getTextOrCDATA(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Get the text of a sepcific node
- getWarningMessages() - Method in interface com.mycila.xmltool.ValidationResult
-
- getWarnings() - Method in interface com.mycila.xmltool.ValidationResult
-
- gotoChild() - Method in class com.mycila.xmltool.XMLDoc
-
- gotoChild(int) - Method in class com.mycila.xmltool.XMLDoc
-
- gotoChild(String) - Method in class com.mycila.xmltool.XMLDoc
-
- gotoChild() - Method in interface com.mycila.xmltool.XMLTag
-
Go to the only child element of the curent node.
- gotoChild(int) - Method in interface com.mycila.xmltool.XMLTag
-
Go to the Nth child of the curent node.
- gotoChild(String) - Method in interface com.mycila.xmltool.XMLTag
-
Go to the child found with given node name
- gotoFirstChild() - Method in class com.mycila.xmltool.XMLDoc
-
- gotoFirstChild(String) - Method in class com.mycila.xmltool.XMLDoc
-
- gotoFirstChild() - Method in interface com.mycila.xmltool.XMLTag
-
Go to the first child element of the curent node.
- gotoFirstChild(String) - Method in interface com.mycila.xmltool.XMLTag
-
Go to the first child occurance found having given name
- gotoLastChild() - Method in class com.mycila.xmltool.XMLDoc
-
- gotoLastChild(String) - Method in class com.mycila.xmltool.XMLDoc
-
- gotoLastChild() - Method in interface com.mycila.xmltool.XMLTag
-
Go to the lastest child element of the curent node.
- gotoLastChild(String) - Method in interface com.mycila.xmltool.XMLTag
-
Go to the last child occurance found having given name
- gotoParent() - Method in class com.mycila.xmltool.XMLDoc
-
- gotoParent() - Method in interface com.mycila.xmltool.XMLTag
-
Go to parent tag.
- gotoRoot() - Method in class com.mycila.xmltool.XMLDoc
-
- gotoRoot() - Method in interface com.mycila.xmltool.XMLTag
-
Go to document root tag
- gotoTag(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
-
- gotoTag(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Go to a specific node