jlibs.xml.stream
Class STAXLocator
java.lang.Object
jlibs.xml.stream.STAXLocator
- All Implemented Interfaces:
- Locator2, Locator
public class STAXLocator
- extends Object
- implements Locator2
SAX Locator2 implementation for XMLStreamReader.
- Author:
- Santhosh Kumar T
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STAXLocator
public STAXLocator(XMLStreamReader reader)
getPublicId
public String getPublicId()
- Specified by:
getPublicId in interface Locator
getSystemId
public String getSystemId()
- Specified by:
getSystemId in interface Locator
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber in interface Locator
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumber in interface Locator
getXMLVersion
public String getXMLVersion()
- Specified by:
getXMLVersion in interface Locator2
getEncoding
public String getEncoding()
- Specified by:
getEncoding in interface Locator2
Copyright © 2015. All rights reserved.