Package org.jboss.windup.util.xml
Class LocationAwareXmlReader
- java.lang.Object
-
- org.jboss.windup.util.xml.LocationAwareXmlReader
-
public class LocationAwareXmlReader extends Object
XML stream reader which, after parsing, can tell which node appeared on which line.
-
-
Constructor Summary
Constructors Constructor Description LocationAwareXmlReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IntegergetLineNumber(Node node)static Set<String>getNamespaces(Document doc)static DocumentreadXML(InputStream is)
-
-
-
Method Detail
-
readXML
public static Document readXML(InputStream is) throws IOException, SAXException
- Throws:
IOExceptionSAXException
-
-