public class XMLUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static DocumentBuilder |
builder |
protected static DocumentBuilderFactory |
factory |
| Constructor and Description |
|---|
XMLUtil() |
| Modifier and Type | Method and Description |
|---|---|
static File |
dom2File(Document doc,
String filename) |
static String |
dom2String(Document doc) |
static String |
dom2String(Document doc,
String encoding) |
static String |
dom2String(String sFileURI) |
static Document |
getDocumentModel(String fileURI) |
static Document |
getDOMDocument(String value) |
static Document |
getExtendedDocument(InputStream input) |
static String |
getTextValue(Node son) |
static Document |
getXMLDocument() |
static Hashtable |
parseAttributes(NamedNodeMap nodeAttributes) |
protected static DocumentBuilderFactory factory
protected static DocumentBuilder builder
public static Document getDOMDocument(String value) throws Exception
Exceptionpublic static Document getXMLDocument()
public static Document getExtendedDocument(InputStream input)
public static Hashtable parseAttributes(NamedNodeMap nodeAttributes)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.