Package com.norconex.commons.lang.xml
Class XMLCursor
- java.lang.Object
-
- com.norconex.commons.lang.xml.XMLCursor
-
public class XMLCursor extends Object
XML cursor referencing the current position or element in XML traversal.- Since:
- 2.0.0
- Author:
- Pascal Essiembre
- See Also:
XML.iterator(),XML.iterator(Object),XML.stream(),XML.stream(Object)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertiesgetAttributes()StartElementgetElement()PropertiesgetLocalAttributes()StringgetLocalName()StringgetLocalPath()StringgetName()StringgetPath()NodereadAsDOM()XMLreadAsXML()StringreadText()
-
-
-
Method Detail
-
getElement
public StartElement getElement()
-
getPath
public String getPath()
-
getLocalPath
public String getLocalPath()
-
getName
public String getName()
-
getLocalName
public String getLocalName()
-
getAttributes
public Properties getAttributes()
-
getLocalAttributes
public Properties getLocalAttributes()
-
readText
public String readText()
-
readAsDOM
public Node readAsDOM()
-
readAsXML
public XML readAsXML()
-
-