public class XMLUtil extends Object
| Constructor | Description |
|---|---|
XMLUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
domToString(Document doc) |
|
static Node |
findChildNode(Node parent,
String childName) |
|
static Component |
getComponent(Node node,
Session session) |
|
static Map<String,String> |
mapAttributeNodes(NodeList nodes,
String nodeName,
String nodeKeyName,
String nodeValueName) |
|
static Map<String,String> |
mapAttributes(Node node) |
|
static Map<String,String> |
mapAttributes(Node node,
boolean keyToLowerCase) |
|
static Map<String,String> |
mapAttributes(Node node,
String[] requiredAttributes) |
|
static Document |
parseXML(InputStream in,
XMLFilterImpl handler) |
public static Document parseXML(InputStream in, XMLFilterImpl handler) throws Exception
Exceptionpublic static Component getComponent(Node node, Session session) throws OpenAS2Exception
OpenAS2Exceptionpublic static Map<String,String> mapAttributeNodes(NodeList nodes, String nodeName, String nodeKeyName, String nodeValueName) throws OpenAS2Exception
OpenAS2Exceptionpublic static Map<String,String> mapAttributes(Node node, String[] requiredAttributes) throws OpenAS2Exception
OpenAS2Exceptionpublic static String domToString(Document doc) throws TransformerException
TransformerExceptionCopyright © 2018. All rights reserved.