public class PositionalXmlReader
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
END_POSITION |
static String |
START_POSITION |
Constructor and Description |
---|
PositionalXmlReader() |
Modifier and Type | Method and Description |
---|---|
static TypedKeyValue<Point,Point> |
getLocation(org.w3c.dom.Node treesNode)
Gets the location information (start and end) from the DOM node.
|
static org.w3c.dom.Document |
readXML(InputStream is)
Read xml.
|
public static final String START_POSITION
public static final String END_POSITION
public static TypedKeyValue<Point,Point> getLocation(org.w3c.dom.Node treesNode)
treesNode
- the DOMN nodepublic static org.w3c.dom.Document readXML(InputStream is) throws IOException, org.xml.sax.SAXException
is
- the input steamIOException
- Signals that an I/O exception has occurred.org.xml.sax.SAXException
- the SAX exceptionCopyright © 2010-2020 Toolsverse. All Rights Reserved.