public abstract class PrefixCollector extends Object
| Constructor and Description |
|---|
PrefixCollector() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
declare(String pPrefix,
String pNamespaceURI)
Records a single namespace prefix declaration.
|
void |
searchAllPrefixDeclarations(Node pNode)
Searches for namespace prefix declarations in the given node.
|
void |
searchLocalPrefixDeclarations(Node pNode)
Searches for namespace prefix declarations in the given node.
|
protected abstract void declare(String pPrefix, String pNamespaceURI)
public void searchLocalPrefixDeclarations(Node pNode)
declare(String, String). This method doesn't work recursively: The parent nodes prefix
declarations are ignored.public void searchAllPrefixDeclarations(Node pNode)
declare(String, String). This method works recursively: The parent nodes prefix declarations
are collected before the current nodes.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.