public class XMLParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XMLParser.NodeType |
| Constructor and Description |
|---|
XMLParser() |
| Modifier and Type | Method and Description |
|---|---|
static Node |
parse(byte[] xml) |
static Node |
parse(File file) |
static Node |
parse(InputStream stream) |
static Node |
parse(String xml) |
static byte[] |
toXMLByteArray(Node node) |
static InputStream |
toXMLInputStream(Node node) |
static String |
toXMLString(Node node) |
public static InputStream toXMLInputStream(Node node)
public static byte[] toXMLByteArray(Node node)
public static Node parse(File file) throws XMLParserException, FileNotFoundException
public static Node parse(byte[] xml)
public static Node parse(InputStream stream) throws XMLParserException
XMLParserExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.