public class XMLUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Element |
buildFilterMappingNode(org.w3c.dom.Document document,
java.lang.String filterName,
java.lang.String urlPattern,
java.lang.String dispatcher) |
static org.w3c.dom.Element |
buildFilterNode(org.w3c.dom.Document document,
java.lang.String filterName,
java.lang.String filterClass,
java.lang.String... filterInitParams) |
static org.w3c.dom.Element |
buildNode(org.w3c.dom.Document document,
java.lang.String nodeName,
java.lang.String nodeText) |
static org.w3c.dom.Element |
buildServletMappingNode(org.w3c.dom.Document document,
java.lang.String servletName,
java.lang.String... urlPatterns) |
static org.w3c.dom.Element |
buildServletNode(org.w3c.dom.Document document,
java.lang.String servletName,
java.lang.String servletClass,
java.lang.String... servletInitParams) |
static java.lang.String |
escape(java.lang.String str) |
static java.util.Enumeration |
readObjectsFromXML(java.io.File xmlFile) |
static java.util.Enumeration |
readObjectsFromXML(java.io.InputStream is) |
static int |
writeObjectsToXML(java.io.File xmlFile,
java.util.Enumeration enumeration) |
static int |
writeObjectsToXML(java.io.OutputStream os,
java.util.Enumeration enumeration) |
public static int writeObjectsToXML(java.io.File xmlFile, java.util.Enumeration enumeration)
public static int writeObjectsToXML(java.io.OutputStream os, java.util.Enumeration enumeration)
public static java.util.Enumeration readObjectsFromXML(java.io.File xmlFile)
public static java.util.Enumeration readObjectsFromXML(java.io.InputStream is)
public static java.lang.String escape(java.lang.String str)
public static org.w3c.dom.Element buildNode(org.w3c.dom.Document document, java.lang.String nodeName, java.lang.String nodeText)
public static org.w3c.dom.Element buildFilterNode(org.w3c.dom.Document document, java.lang.String filterName, java.lang.String filterClass, java.lang.String... filterInitParams)
public static org.w3c.dom.Element buildFilterMappingNode(org.w3c.dom.Document document, java.lang.String filterName, java.lang.String urlPattern, java.lang.String dispatcher)
public static org.w3c.dom.Element buildServletNode(org.w3c.dom.Document document, java.lang.String servletName, java.lang.String servletClass, java.lang.String... servletInitParams)
public static org.w3c.dom.Element buildServletMappingNode(org.w3c.dom.Document document, java.lang.String servletName, java.lang.String... urlPatterns)