com.icl.saxon.tree
Class BaseURIMap

java.lang.Object
  |
  +--com.icl.saxon.tree.BaseURIMap

public class BaseURIMap
extends java.lang.Object

Base URIs are not held in nodes in the tree, because they are usually the same for a whole document. This class provides a map from element sequence numbers to base URIs: it is linked to the root node of the tree.


Constructor Summary
BaseURIMap()
           
 
Method Summary
 java.lang.String getBaseURI(int sequence)
          Get the uri corresponding to a given sequence number
 void setBaseURI(int sequence, java.lang.String uri)
          Set the base uri corresponding to a given sequence number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseURIMap

public BaseURIMap()
Method Detail

setBaseURI

public void setBaseURI(int sequence,
                       java.lang.String uri)
Set the base uri corresponding to a given sequence number

getBaseURI

public java.lang.String getBaseURI(int sequence)
Get the uri corresponding to a given sequence number