registerNodeTypes

Registers the node types defined in the given input stream depending
on the content type specified for the stream. This will also register
any namespaces identified in the input stream if they have not already
been registered.

registerNodeTypes

Registers the node types defined in the given XML stream. This
is a trivial implementation that just invokes the existing
NodeTypeReader and NodeTypeRegistry methods and
heuristically creates the returned node type array. It will also
register any namespaces defined in the input source that have not
already been registered.
Registers node types from the given node type XML stream.

registerNodeTypes

Registers the node types defined in the given input stream depending
on the content type specified for the stream. This will also register
any namespaces identified in the input stream if they have not already
been registered.
Registers node types from the given input stream of the given type.