gr.uoa.di.madgik.grs.xml
Class XMLHelper
java.lang.Object
gr.uoa.di.madgik.grs.xml.XMLHelper
public class XMLHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLHelper
public XMLHelper()
getXMLDocument
public static Document getXMLDocument(InputStream in)
throws Exception
- Throws:
Exception
getXMLNode
public static Node getXMLNode(String str)
throws Exception
- Throws:
Exception
getXMLDocument
public static Document getXMLDocument(String request)
throws Exception
- Throws:
Exception
printXML
public static void printXML(Document doc)
throws TransformerException
- Throws:
TransformerException
printXMLElement
public static void printXMLElement(Element element,
OutputStream out)
throws TransformerException
- Throws:
TransformerException
printXMLNode
public static void printXMLNode(Node node,
OutputStream out)
throws TransformerException
- Throws:
TransformerException
sendXML
public static void sendXML(Document doc,
OutputStream out)
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.