|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.commons.schema.utils.PrefixCollector
public abstract class PrefixCollector
Searches for namespace prefix declarations.
Constructor Summary | |
---|---|
PrefixCollector()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrefixCollector()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |