A C D E F G H N R S T V X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAttribute(String, String) - Method in class com.mycila.xmltool.XMLDoc
- addAttribute(String, String) - Method in interface com.mycila.xmltool.XMLTag
-
Create a new attribute for the current node
- addAttribute(Attr) - Method in class com.mycila.xmltool.XMLDoc
- addAttribute(Attr) - Method in interface com.mycila.xmltool.XMLTag
-
Add given attribute to current element
- addCDATA(String) - Method in class com.mycila.xmltool.XMLDoc
- addCDATA(String) - Method in interface com.mycila.xmltool.XMLTag
-
Add a data node under the current node, and jump to the parent node.
- addCDATA(CDATASection) - Method in class com.mycila.xmltool.XMLDoc
- addCDATA(CDATASection) - Method in interface com.mycila.xmltool.XMLTag
-
Add a CDATA note to the current tag
- addDefaultNamespace(String) - Method in class com.mycila.xmltool.XMLDocBuilder
-
Set the default namespace to use in the document declaration.
- addDocument(XMLTag) - Method in class com.mycila.xmltool.XMLDoc
- addDocument(XMLTag) - Method in interface com.mycila.xmltool.XMLTag
-
Inserts another
XMLTag
instance under the current tag. - addDocument(Document) - Method in class com.mycila.xmltool.XMLDoc
- addDocument(Document) - Method in interface com.mycila.xmltool.XMLTag
-
Inserts another
Document
instance under the current tag - addNamespace(String, String) - Method in class com.mycila.xmltool.XMLDoc
- addNamespace(String, String) - Method in class com.mycila.xmltool.XMLDocBuilder
-
Add a namespace to the document that will be created
- addNamespace(String, String) - Method in interface com.mycila.xmltool.XMLTag
-
Add a namespace to the document
- addRoot(String) - Method in class com.mycila.xmltool.XMLDocBuilder
-
Create a root node for this XML document
- addTag(XMLTag) - Method in class com.mycila.xmltool.XMLDoc
- addTag(XMLTag) - Method in interface com.mycila.xmltool.XMLTag
-
Inserts another
XMLTag
tag hierarchy under the current tag. - addTag(String) - Method in class com.mycila.xmltool.XMLDoc
- addTag(String) - Method in interface com.mycila.xmltool.XMLTag
-
Create a tag under the current location and use it as the current node
- addTag(Element) - Method in class com.mycila.xmltool.XMLDoc
- addTag(Element) - Method in interface com.mycila.xmltool.XMLTag
-
Inserts a
Element
instance and its hierarchy under the current tag - addText(String) - Method in class com.mycila.xmltool.XMLDoc
- addText(String) - Method in interface com.mycila.xmltool.XMLTag
-
Add a text node under the current node, and jump to the parent node.
- addText(Text) - Method in class com.mycila.xmltool.XMLDoc
- addText(Text) - Method in interface com.mycila.xmltool.XMLTag
-
Add a text note to the current tag
C
- CallBack - Interface in com.mycila.xmltool
- com.mycila.xmltool - package com.mycila.xmltool
D
- delete() - Method in class com.mycila.xmltool.XMLDoc
- delete() - Method in interface com.mycila.xmltool.XMLTag
-
Delete current tag and its childs.
- deleteAttribute(String) - Method in class com.mycila.xmltool.XMLDoc
- deleteAttribute(String) - Method in interface com.mycila.xmltool.XMLTag
-
Delete an attribute of the current node.
- deleteAttributeIfExists(String) - Method in class com.mycila.xmltool.XMLDoc
- deleteAttributeIfExists(String) - Method in interface com.mycila.xmltool.XMLTag
-
Delete an attribute of the current node, if it exists
- deleteAttributes() - Method in class com.mycila.xmltool.XMLDoc
- deleteAttributes() - Method in interface com.mycila.xmltool.XMLTag
-
Delete all existing attributes of current node
- deleteChilds() - Method in class com.mycila.xmltool.XMLDoc
- deleteChilds() - Method in interface com.mycila.xmltool.XMLTag
-
Delete all existing elements of this node
- deletePrefixes() - Method in class com.mycila.xmltool.XMLDoc
- deletePrefixes() - Method in interface com.mycila.xmltool.XMLTag
-
Remove any prefix and namespaces contained in the tag name, childs and attributes, thus changing namespace and tag name.
- duplicate() - Method in class com.mycila.xmltool.XMLDoc
- duplicate() - Method in interface com.mycila.xmltool.XMLTag
E
- execute(XMLTag) - Method in interface com.mycila.xmltool.CallBack
F
- findAttribute(String) - Method in class com.mycila.xmltool.XMLDoc
- findAttribute(String) - Method in interface com.mycila.xmltool.XMLTag
-
returns the attribute value of the current node or null if the attribute does not exist
- findAttribute(String, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- findAttribute(String, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Returns the attribute value of the node pointed by given XPath expression or null if the attribute does not exist
- forEach(CallBack, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- forEach(CallBack, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Execute an action for each selected tags from the current node.
- forEach(String, CallBack) - Method in class com.mycila.xmltool.XMLDoc
- forEach(String, CallBack) - Method in interface com.mycila.xmltool.XMLTag
- forEachChild(CallBack) - Method in class com.mycila.xmltool.XMLDoc
- forEachChild(CallBack) - Method in interface com.mycila.xmltool.XMLTag
-
Execute an action for each child in the current node.
- from(XMLTag, boolean) - Static method in class com.mycila.xmltool.XMLDoc
- from(File, boolean) - Static method in class com.mycila.xmltool.XMLDoc
- from(InputStream, boolean) - Static method in class com.mycila.xmltool.XMLDoc
- from(Reader, boolean) - Static method in class com.mycila.xmltool.XMLDoc
- from(String, boolean) - Static method in class com.mycila.xmltool.XMLDoc
- from(URL, boolean) - Static method in class com.mycila.xmltool.XMLDoc
- from(Source, boolean) - Static method in class com.mycila.xmltool.XMLDoc
- from(Node, boolean) - Static method in class com.mycila.xmltool.XMLDoc
- from(InputSource, boolean) - Static method in class com.mycila.xmltool.XMLDoc
- fromCurrentTag(XMLTag, boolean) - Static method in class com.mycila.xmltool.XMLDoc
-
Create another
XMLTag
instance from the hierarchy under the current tag.
G
- getAttribute(String) - 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 class com.mycila.xmltool.XMLDoc
- 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() - Method in class com.mycila.xmltool.XMLDoc
- getCDATA() - Method in interface com.mycila.xmltool.XMLTag
- getCDATA(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- 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() - Method in interface com.mycila.xmltool.XMLTag
- getCDATAorText(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- 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() - 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 class com.mycila.xmltool.XMLDoc
- 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() - Method in class com.mycila.xmltool.XMLDoc
- getText() - Method in interface com.mycila.xmltool.XMLTag
- getText(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- 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() - Method in interface com.mycila.xmltool.XMLTag
- getTextOrCDATA(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- 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() - Method in interface com.mycila.xmltool.XMLTag
-
Go to the only child element of the curent node.
- gotoChild(int) - Method in class com.mycila.xmltool.XMLDoc
- gotoChild(int) - Method in interface com.mycila.xmltool.XMLTag
-
Go to the Nth child of the curent node.
- gotoChild(String) - Method in class com.mycila.xmltool.XMLDoc
- 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() - Method in interface com.mycila.xmltool.XMLTag
-
Go to the first child element of the curent node.
- gotoFirstChild(String) - Method in class com.mycila.xmltool.XMLDoc
- 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() - Method in interface com.mycila.xmltool.XMLTag
-
Go to the lastest child element of the curent node.
- gotoLastChild(String) - Method in class com.mycila.xmltool.XMLDoc
- 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
H
- hasAttribute(String) - Method in class com.mycila.xmltool.XMLDoc
- hasAttribute(String) - Method in interface com.mycila.xmltool.XMLTag
-
Check wheter current tag contains an atribute
- hasAttribute(String, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- hasAttribute(String, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Check if targeted tag has an attribute of given name
- hasError() - Method in interface com.mycila.xmltool.ValidationResult
- hasTag(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- hasTag(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Check if a tag exist in the document
- hasWarning() - Method in interface com.mycila.xmltool.ValidationResult
N
- newDocument(boolean) - Static method in class com.mycila.xmltool.XMLDoc
R
- rawXpathBoolean(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- rawXpathBoolean(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Execute an XPath expression directly using the Java XPath API, from the current node.
- rawXpathNode(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- rawXpathNode(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Execute an XPath expression directly using the Java XPath API, from the current node.
- rawXpathNodeSet(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- rawXpathNodeSet(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Execute an XPath expression directly using the Java XPath API, from the current node.
- rawXpathNumber(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- rawXpathNumber(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Execute an XPath expression directly using the Java XPath API, from the current node.
- rawXpathString(String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- rawXpathString(String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Execute an XPath expression directly using the Java XPath API, from the current node.
- renameTo(String) - Method in class com.mycila.xmltool.XMLDoc
- renameTo(String) - Method in interface com.mycila.xmltool.XMLTag
-
Replace current element name by another name
S
- setAttribute(String, String) - Method in class com.mycila.xmltool.XMLDoc
- setAttribute(String, String) - Method in interface com.mycila.xmltool.XMLTag
-
Sets the new value on an existign attribute, and remains on the current tag.
- setAttribute(String, String, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- setAttribute(String, String, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Sets the new value on a targetted node's attribute, and remains on the current tag.
- setAttributeIfExist(String, String) - Method in class com.mycila.xmltool.XMLDoc
- setAttributeIfExist(String, String) - Method in interface com.mycila.xmltool.XMLTag
-
Sets the new value on an attribute, and remains on the current tag.
- setAttributeIfExist(String, String, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- setAttributeIfExist(String, String, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Sets the new value on a targetted node's attribute, and remains on the current tag.
- setCDATA(String) - Method in class com.mycila.xmltool.XMLDoc
- setCDATA(String) - Method in interface com.mycila.xmltool.XMLTag
-
Set the cdata in the current node.
- setCDATA(String, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- setCDATA(String, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Set the cdata in the targetted node.
- setCDATAIfExist(String, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- setCDATAIfExist(String, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Set the cdata in the targetted node.
- setText(String) - Method in class com.mycila.xmltool.XMLDoc
- setText(String) - Method in interface com.mycila.xmltool.XMLTag
-
Set the text in the current node.
- setText(String, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- setText(String, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Set the text in the targetted node.
- setTextIfExist(String, String, Object...) - Method in class com.mycila.xmltool.XMLDoc
- setTextIfExist(String, String, Object...) - Method in interface com.mycila.xmltool.XMLTag
-
Set the text in the targetted node.
T
- toBytes() - Method in class com.mycila.xmltool.XMLDoc
- toBytes() - Method in interface com.mycila.xmltool.XMLTag
- toBytes(String) - Method in class com.mycila.xmltool.XMLDoc
- toBytes(String) - Method in interface com.mycila.xmltool.XMLTag
- toDocument() - Method in class com.mycila.xmltool.XMLDoc
- toDocument() - Method in interface com.mycila.xmltool.XMLTag
- toOutputStream() - Method in class com.mycila.xmltool.XMLDoc
- toOutputStream() - Method in interface com.mycila.xmltool.XMLTag
- toOutputStream(String) - Method in class com.mycila.xmltool.XMLDoc
- toOutputStream(String) - Method in interface com.mycila.xmltool.XMLTag
- toResult() - Method in class com.mycila.xmltool.XMLDoc
- toResult() - Method in interface com.mycila.xmltool.XMLTag
- toResult(String) - Method in class com.mycila.xmltool.XMLDoc
- toResult(String) - Method in interface com.mycila.xmltool.XMLTag
- toResult(Result) - Method in class com.mycila.xmltool.XMLDoc
- toResult(Result) - Method in interface com.mycila.xmltool.XMLTag
-
Converts this document to the result provided
- toResult(Result, String) - Method in class com.mycila.xmltool.XMLDoc
- toResult(Result, String) - Method in interface com.mycila.xmltool.XMLTag
-
Converts this document to the result provided, overriding default encoding of xml document
- toSource() - Method in class com.mycila.xmltool.XMLDoc
- toSource() - Method in interface com.mycila.xmltool.XMLTag
- toStream(OutputStream) - Method in class com.mycila.xmltool.XMLDoc
- toStream(OutputStream) - Method in interface com.mycila.xmltool.XMLTag
-
Write this document to a stream
- toStream(OutputStream, String) - Method in class com.mycila.xmltool.XMLDoc
- toStream(OutputStream, String) - Method in interface com.mycila.xmltool.XMLTag
-
Write this document to a stream
- toStream(Writer) - Method in class com.mycila.xmltool.XMLDoc
- toStream(Writer) - Method in interface com.mycila.xmltool.XMLTag
-
Write this document to a stream
- toStream(Writer, String) - Method in class com.mycila.xmltool.XMLDoc
- toStream(Writer, String) - Method in interface com.mycila.xmltool.XMLTag
-
Write this document to a stream
- toString() - Method in class com.mycila.xmltool.XMLDoc
- toString() - Method in interface com.mycila.xmltool.XMLTag
- toString(String) - Method in class com.mycila.xmltool.XMLDoc
- toString(String) - Method in interface com.mycila.xmltool.XMLTag
- toWriter() - Method in class com.mycila.xmltool.XMLDoc
- toWriter() - Method in interface com.mycila.xmltool.XMLTag
- toWriter(String) - Method in class com.mycila.xmltool.XMLDoc
- toWriter(String) - Method in interface com.mycila.xmltool.XMLTag
V
- validate(URL...) - Method in class com.mycila.xmltool.XMLDoc
- validate(URL...) - Method in interface com.mycila.xmltool.XMLTag
-
Validate this document against specifief schemas
- validate(Source...) - Method in class com.mycila.xmltool.XMLDoc
- validate(Source...) - Method in interface com.mycila.xmltool.XMLTag
-
Validate this document against specifief schemas
- ValidationResult - Interface in com.mycila.xmltool
X
- XMLDoc - Class in com.mycila.xmltool
- XMLDocBuilder - Class in com.mycila.xmltool
- XMLDocumentException - Exception in com.mycila.xmltool
- XMLDocumentException(String, Object...) - Constructor for exception com.mycila.xmltool.XMLDocumentException
- XMLDocumentException(String, Throwable) - Constructor for exception com.mycila.xmltool.XMLDocumentException
- XMLTag - Interface in com.mycila.xmltool
-
Enables you to build, parse, navigate, modify XML documents through a simple and intuitive fluent interface.
All Classes All Packages