public class XMLUtil extends Object
Constructor and Description |
---|
XMLUtil() |
Modifier and Type | Method and 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
Exception
public static Component getComponent(Node node, Session session) throws OpenAS2Exception
OpenAS2Exception
public static Map<String,String> mapAttributeNodes(NodeList nodes, String nodeName, String nodeKeyName, String nodeValueName) throws OpenAS2Exception
OpenAS2Exception
public static Map<String,String> mapAttributes(Node node, String[] requiredAttributes) throws OpenAS2Exception
OpenAS2Exception
public static String domToString(Document doc) throws TransformerException
TransformerException
Copyright © 2018. All rights reserved.