org.apache.rat.report.xml
Class XmlUtils
java.lang.Object
org.apache.rat.report.xml.XmlUtils
public final class XmlUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlUtils
public XmlUtils()
isWellFormedXml
public static final boolean isWellFormedXml(java.lang.String string)
throws java.lang.Exception
- Throws:
java.lang.Exception
newXMLReader
public static final org.xml.sax.XMLReader newXMLReader()
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
isWellFormedXml
public static final boolean isWellFormedXml(org.xml.sax.InputSource isource)
isWellFormedXml
public static final boolean isWellFormedXml(java.io.InputStream in)
throws java.lang.Exception
- Throws:
java.lang.Exception
toDom
public static final org.w3c.dom.Document toDom(java.io.InputStream in)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
javax.xml.parsers.FactoryConfigurationError
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.