public final class XMLDocBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
XMLDocBuilder |
addDefaultNamespace(String defaultNamespaceURI)
Set the default namespace to use in the document declaration.
|
XMLDocBuilder |
addNamespace(String prefix,
String namespaceURI)
Add a namespace to the document that will be created
|
XMLTag |
addRoot(String tagName)
Create a root node for this XML document
|
public XMLDocBuilder addNamespace(String prefix, String namespaceURI)
prefix - The prefix of the namespacenamespaceURI - The URI of the namespacepublic XMLDocBuilder addDefaultNamespace(String defaultNamespaceURI)
defaultNamespaceURI - URI to use as default when tags are not prefixedCopyright © 2008–2014 Mycila. All rights reserved.