public abstract class PrefixCollector
extends java.lang.Object
| Constructor and Description |
|---|
PrefixCollector() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
declare(java.lang.String pPrefix,
java.lang.String pNamespaceURI)
Records a single namespace prefix declaration.
|
void |
searchAllPrefixDeclarations(org.w3c.dom.Node pNode)
Searches for namespace prefix declarations in the given node.
|
void |
searchLocalPrefixDeclarations(org.w3c.dom.Node pNode)
Searches for namespace prefix declarations in the given node.
|
protected abstract void declare(java.lang.String pPrefix,
java.lang.String pNamespaceURI)
public void searchLocalPrefixDeclarations(org.w3c.dom.Node pNode)
declare(String, String). This method doesn't work recursively: The parent nodes prefix
declarations are ignored.public void searchAllPrefixDeclarations(org.w3c.dom.Node pNode)
declare(String, String). This method works recursively: The parent nodes prefix declarations
are collected before the current nodes.