Daisy Open Source CMS

org.outerj.daisy.tools.importexport.import_.tm
Class NamespaceNormalizingDOMStreamer.ElementInfo

java.lang.Object
  extended by org.outerj.daisy.tools.importexport.import_.tm.NamespaceNormalizingDOMStreamer.ElementInfo
Enclosing class:
NamespaceNormalizingDOMStreamer

public static class NamespaceNormalizingDOMStreamer.ElementInfo
extends Object


Field Summary
 String localName
           
 Map namespaceDeclarations
           
 String namespaceURI
           
 NamespaceNormalizingDOMStreamer.ElementInfo parent
           
 String qName
           
 
Constructor Summary
NamespaceNormalizingDOMStreamer.ElementInfo(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
equals, 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 NamespaceNormalizingDOMStreamer.ElementInfo parent
Constructor Detail

NamespaceNormalizingDOMStreamer.ElementInfo

public NamespaceNormalizingDOMStreamer.ElementInfo(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.


Daisy Open Source CMS