Package ro.sync.xml
Class ProxyNamespaceMapping
java.lang.Object
ro.sync.basic.xml.ProxyNamespaceMapping
ro.sync.xml.ProxyNamespaceMapping
- All Implemented Interfaces:
Cloneable
@API(type=EXTENDABLE,
src=PRIVATE)
public class ProxyNamespaceMapping
extends ro.sync.basic.xml.ProxyNamespaceMapping
Stores the mappings between the namespace prefixes and the URI's.
It is mainly used in the content completion process. The implementation
consists in two lists. The modifying operations are performed at the end of the lists.
Note that duplicates can exist in the mappings.
-
Field Summary
Fields inherited from class ro.sync.basic.xml.ProxyNamespaceMapping
namespaces, prefixes
-
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructor.protected
ProxyNamespaceMapping
(List<String> prefixies, List<String> namespaces) Private constructor.ProxyNamespaceMapping
(Node node) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the prefix namespace mapping.protected ProxyNamespaceMapping
boolean
Methods inherited from class ro.sync.basic.xml.ProxyNamespaceMapping
addMapping, clear, getMappingsFromAncestor, getNamespaceForAttributePrefix, getNamespaceForPrefix, getNamespaces, getPrefixesForNamespace, getPrefixesForNamespace, getPrefixForAttributeNamespace, getPrefixForNamespace, getPrefixForNamespace, getProxies, removeByNamespace, removeByPrefix, removeLastMapping, toString, update, updateNamespaceProxyMapping
-
Constructor Details
-
ProxyNamespaceMapping
Constructor. Adds the default namespace mapping.- Parameters:
node
- The context node, DOM Level 1, the prefix namespace mapping will be populated based on thexmlns
attributes, starting with the root element.
-
ProxyNamespaceMapping
Private constructor. Used to clone a prefix-namespace mapping.- Parameters:
prefixies
- The prefixes list.namespaces
- The namespaces list.
-
ProxyNamespaceMapping
public ProxyNamespaceMapping()Constructor. Adds the default namespace.
-
-
Method Details