Class XMLDocBuilder
java.lang.Object
com.mycila.xmltool.XMLDocBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDefaultNamespace(String defaultNamespaceURI) Set the default namespace to use in the document declaration.addNamespace(String prefix, String namespaceURI) Add a namespace to the document that will be createdCreate a root node for this XML documentprivate static voidprivate static XMLTagcreate(XMLDocDefinition def) (package private) static XMLTag(package private) static XMLTag(package private) static XMLTag(package private) static XMLTagfrom(InputStream is, boolean ignoreNamespaces) (package private) static XMLTagfrom(InputStream is, boolean ignoreNamespaces, String encoding) (package private) static XMLTag(package private) static XMLTag(package private) static XMLTag(package private) static XMLTag(package private) static XMLTag(package private) static XMLTag(package private) static XMLTag(package private) static XMLTag(package private) static XMLTag(package private) static XMLTagfrom(InputSource source, boolean ignoreNamespaces) (package private) static XMLTagfromCurrentTag(XMLTag tag, boolean ignoreNamespaces) private static booleanneedsNormalization(String name) (package private) static XMLDocBuildernewDocument(boolean ignoreNamespaces)
-
Field Details
-
definition
-
-
Constructor Details
-
XMLDocBuilder
-
-
Method Details
-
addNamespace
Add a namespace to the document that will be created- Parameters:
prefix- The prefix of the namespacenamespaceURI- The URI of the namespace- Returns:
- this
-
addDefaultNamespace
Set the default namespace to use in the document declaration.- Parameters:
defaultNamespaceURI- URI to use as default when tags are not prefixed- Returns:
- this
-
addRoot
-
create
-
needsNormalization
-
newDocument
-
from
-
from
-
from
-
from
-
from
-
from
-
from
-
from
-
from
-
from
-
from
-
from
-
from
-
fromCurrentTag
-
from
-
from
-
close
-