Package org.javlo.xml
Class XMLFactory
- java.lang.Object
-
- org.javlo.xml.XMLFactory
-
public class XMLFactory extends Object
- Version:
- 1.3
- Author:
- pvandermasen
-
-
Constructor Summary
Constructors Constructor Description XMLFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeXMLgetFirstNode(File xmlFile)get the root node from a file (grh)static NodeXMLgetFirstNode(InputStream inXML)get the root node from an input stream (grh)static NodeXMLgetFirstNode(Reader inXML)get the root node from an input stream (pvdm)static NodeXMLgetFirstNode(String xml)get the root node from an url (grh)static NodeXMLgetFirstNode(URL myURL)get the root node from an URL (grh)static NodeXMLgetFirstNodeFromXML(String xml)static voidmain(String[] args)
-
-
-
Method Detail
-
getFirstNodeFromXML
public static NodeXML getFirstNodeFromXML(String xml) throws Exception
- Throws:
Exception
-
getFirstNode
public static NodeXML getFirstNode(InputStream inXML) throws Exception
get the root node from an input stream (grh)- Throws:
Exception
-
getFirstNode
public static NodeXML getFirstNode(String xml) throws Exception
get the root node from an url (grh)- Throws:
Exception
-
getFirstNode
public static NodeXML getFirstNode(Reader inXML) throws Exception
get the root node from an input stream (pvdm)- Throws:
Exception
-
getFirstNode
public static NodeXML getFirstNode(File xmlFile) throws Exception
get the root node from a file (grh)- Throws:
Exception
-
getFirstNode
public static NodeXML getFirstNode(URL myURL) throws Exception
get the root node from an URL (grh)- Throws:
Exception
-
main
public static void main(String[] args)
-
-