org.apache.cocoon.xml.dom
Class DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo

java.lang.Object
  extended byorg.apache.cocoon.xml.dom.DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo
Enclosing class:
DOMStreamer.NamespaceNormalizingDOMStreamer

public static class DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo
extends Object


Field Summary
 String localName
           
 Map namespaceDeclarations
           
 String namespaceURI
           
 DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo parent
           
 String qName
           
 
Constructor Summary
DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo(DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo parent)
           
 
Method Summary
 String findNamespaceURI(String prefix)
          Finds a namespace declaration on this element or containing elements.
 String findPrefix(String namespaceURI)
          Finds a prefix declaration on this element or containing elements.
 String getNamespaceURI(String prefix)
          Finds a namespace URI declared on this element.
 String getPrefix(String namespaceURI)
          Finds a prefix declared on this element.
 void put(String prefix, String namespaceURI)
          Declare a new namespace prefix on this element, possibly overriding an existing one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localName

public String localName

namespaceURI

public String namespaceURI

qName

public String qName

namespaceDeclarations

public Map namespaceDeclarations

parent

public DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo parent
Constructor Detail

DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo

public DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo(DOMStreamer.NamespaceNormalizingDOMStreamer.ElementInfo parent)
Method Detail

put

public void put(String prefix,
                String namespaceURI)
Declare a new namespace prefix on this element, possibly overriding an existing one.


getPrefix

public String getPrefix(String namespaceURI)
Finds a prefix declared on this element.


getNamespaceURI

public String getNamespaceURI(String prefix)
Finds a namespace URI declared on this element.


findPrefix

public String findPrefix(String namespaceURI)
Finds a prefix declaration on this element or containing elements.


findNamespaceURI

public String findNamespaceURI(String prefix)
Finds a namespace declaration on this element or containing elements.



Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.