[use case]
[use case]
[use case]
Convenience method to allow adding a single child in a chaining fashion.
Convenience method to allow adding children in a chaining fashion.
Adds a namespace with a given prefix
Adds the Map of prefix -> namespace to the scope.
Adds the Map of prefix -> namespace to the scope. If the prefix is the empty prefix, a new prefix is created for it. If the namespace has been already registered, this will not re-register it. (It is allowed by the XML spec, but kind of pointless in practice)
See the canonicalize
method on com.codecommit.antixml.Group.
Returns the children of this node.
Returns the children of this node. If the node is an com.codecommit.antixml.Elem, then this method returns the element's children. Otherwise, it returns an empty com.codecommit.antixml.Group.
[use case]
Use the uri in the FQName to lookup the binding, otherwise add a namespace with the given default prefix.
Use the uri in the FQName to lookup the binding, otherwise add a namespace with the given default prefix. If the prefix/no prefix is already in use create a new name.
Convenience method to allow adding attributes in a chaining fashion.
Convenience method to allow replacing all children in a chaining fashion.
An XML element consisting of an optional namespace prefix, a name (or identifier), a set of attributes, a namespace prefix scope (mapping of prefixes to namespace URIs), and a sequence of child nodes. For example:
This would result in the following node:
TODO: Consider making Elem not a case class and handle thing a different way.