|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.webdav.xml.common.XMLUtils
public class XMLUtils
Sets of utility methods for creating an XML output
Constructor Summary | |
---|---|
XMLUtils()
|
Method Summary | |
---|---|
static String |
createEmptyTag(NamespacesProvider provider,
String url,
String tagName)
Creates an empty tag with given namespace prefix |
static String |
createEndTag(NamespacesProvider provider,
String url,
String tagName)
Creates an end tag with given namespace prefix |
static String |
createStartOpenTag(NamespacesProvider provider,
String url,
String tagName)
Creates an open start tag with given namespace prefix |
static String |
createStartTag(NamespacesProvider provider,
String url,
String tagName)
Creates a start tag with given namespace prefix |
static String |
createTag(NamespacesProvider provider,
String url,
String tagName,
Object content)
Creates a tag with given namespace prefix and tag's content |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLUtils()
Method Detail |
---|
public static String createStartTag(NamespacesProvider provider, String url, String tagName)
provider
- namespace providerurl
- namespace URLtagName
- tag name
public static String createStartOpenTag(NamespacesProvider provider, String url, String tagName)
provider
- namespace providerurl
- namespace URLtagName
- tag name
public static String createEndTag(NamespacesProvider provider, String url, String tagName)
provider
- namespace providerurl
- namespace URLtagName
- tag name
public static String createTag(NamespacesProvider provider, String url, String tagName, Object content)
provider
- namespace providerurl
- namespace URLtagName
- tag namecontent
- content. May be null
and an empty tag is going to be generated then
public static String createEmptyTag(NamespacesProvider provider, String url, String tagName)
provider
- namespace providerurl
- namespace URLtagName
- tag name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |