Class XmlUtils
java.lang.Object
org.aksw.commons.util.xml.XmlUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentcreateFromString(String text) static DocumentloadFromStream(InputStream inputStream) static Documentstatic Documentstatic Stringstatic voidtoText(Node node, OutputStream out) static <T> TunmarshallXml(Class<T> clazz, InputStream in)
-
Constructor Details
-
XmlUtils
public XmlUtils()
-
-
Method Details
-
toString
-
createFromString
-
toText
public static void toText(Node node, OutputStream out) throws TransformerFactoryConfigurationError, TransformerException -
openFile
-
openUrl
-
loadFromStream
- Throws:
Exception
-
unmarshallXml
public static <T> T unmarshallXml(Class<T> clazz, InputStream in) throws javax.xml.bind.JAXBException, UnsupportedEncodingException - Throws:
javax.xml.bind.JAXBExceptionUnsupportedEncodingException
-