public interface Traverser
| Modifier and Type | Method and Description |
|---|---|
Map<QName,String> |
getAttributes()
Get the attributes for the current element.
|
String |
getEntityName() |
Map<String,String> |
getNamespaces()
Get the namespace declarations for the current element.
|
String |
getPIData() |
String |
getPITarget() |
String |
getPublicId() |
QName |
getQName() |
String |
getRootName() |
String |
getSystemId() |
String |
getText() |
Event |
next() |
Event next() throws TraverserException
TraverserExceptionString getRootName()
String getPublicId()
String getSystemId()
QName getQName()
Map<QName,String> getAttributes()
next()
returned Event.START_ELEMENT.null if the element has no attributesMap<String,String> getNamespaces()
next() returned Event.START_ELEMENT. Namespace declarations for the default
namespace are represented using an empty string as prefix.null if the element has no
namespace declarationsString getText()
String getEntityName()
String getPITarget()
String getPIData()
Copyright ? The Apache Software Foundation. All Rights Reserved.