Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ws.commons.schema.utils
Class PrefixCollector

    java.lang.Object
      org.apache.ws.commons.schema.utils.PrefixCollector

    public abstract class PrefixCollector

extends java.lang.Object

Searches for namespace prefix declarations.

Constructor Summary
`PrefixCollector()`

Method Summary
`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.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PrefixCollector

    public PrefixCollector()

Method Detail

### declare

    protected abstract void declare(java.lang.String pPrefix,
                                    java.lang.String pNamespaceURI)

  Records a single namespace prefix declaration.

### searchLocalPrefixDeclarations

    public void searchLocalPrefixDeclarations(org.w3c.dom.Node pNode)

  Searches for namespace prefix declarations in the given node. For any prefix declaration, it invokes `declare(String, String)`. This method doesn't work recursively: The parent nodes prefix declarations are ignored.

### searchAllPrefixDeclarations

    public void searchAllPrefixDeclarations(org.w3c.dom.Node pNode)

  Searches for namespace prefix declarations in the given node. For any prefix declaration, it invokes `declare(String, String)`. This method works recursively: The parent nodes prefix declarations are collected before the current nodes.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.