public class XMLFactory extends Object
| Constructor and Description |
|---|
XMLFactory() |
| Modifier and Type | Method and Description |
|---|---|
static NodeXML |
getFirstNode(File xmlFile)
get the root node from a file (grh)
|
static NodeXML |
getFirstNode(InputStream inXML)
get the root node from an input stream (grh)
|
static NodeXML |
getFirstNode(Reader inXML)
get the root node from an input stream (pvdm)
|
static NodeXML |
getFirstNode(String xml)
get the root node from an url (grh)
|
static NodeXML |
getFirstNode(URL myURL)
get the root node from an URL (grh)
|
static NodeXML |
getFirstNodeFromXML(String xml) |
static void |
main(String[] args) |
public static NodeXML getFirstNodeFromXML(String xml) throws Exception
Exceptionpublic static NodeXML getFirstNode(InputStream inXML) throws Exception
Exceptionpublic static NodeXML getFirstNode(String xml) throws Exception
Exceptionpublic static NodeXML getFirstNode(Reader inXML) throws Exception
Exceptionpublic static NodeXML getFirstNode(File xmlFile) throws Exception
Exceptionpublic static NodeXML getFirstNode(URL myURL) throws Exception
Exceptionpublic static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.