Class PrefixCollector
java.lang.Object
org.apache.ws.commons.schema.utils.PrefixCollector
Searches for namespace prefix declarations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidRecords a single namespace prefix declaration.voidsearchAllPrefixDeclarations(Node pNode) Searches for namespace prefix declarations in the given node.voidSearches for namespace prefix declarations in the given node.
-
Constructor Details
-
PrefixCollector
public PrefixCollector()
-
-
Method Details
-
declare
Records a single namespace prefix declaration. -
searchLocalPrefixDeclarations
Searches for namespace prefix declarations in the given node. For any prefix declaration, it invokesdeclare(String, String). This method doesn't work recursively: The parent nodes prefix declarations are ignored. -
searchAllPrefixDeclarations
Searches for namespace prefix declarations in the given node. For any prefix declaration, it invokesdeclare(String, String). This method works recursively: The parent nodes prefix declarations are collected before the current nodes.
-