org.bibop.xml.utils
Class NamespacesTable.Entry

java.lang.Object
  |
  +--org.bibop.xml.utils.NamespacesTable.Entry
All Implemented Interfaces:
NamespacesTable.Declaration
Enclosing class:
NamespacesTable

private static class NamespacesTable.Entry
extends java.lang.Object
implements NamespacesTable.Declaration

The internal entry structure for this table.


Field Summary
private  NamespacesTable.Entry nextEntry
          The declaration following this one in the table.
private  java.lang.String prefix
          The prefix string.
private  int prefixHash
          The prefix hashcode.
private  NamespacesTable.Entry previousDeclaration
          The previous declaration for the same prefix.
private  java.lang.String uri
          The URI string.
private  int uriHash
          The URI hashcode.
 
Constructor Summary
private NamespacesTable.Entry()
           
 
Method Summary
private static NamespacesTable.Entry create(java.lang.String prefix, java.lang.String uri)
          Create a new namespace declaration.
 java.lang.String getPrefix()
          Return the namespace prefix.
 java.lang.String getUri()
          Return the namespace URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uriHash

private int uriHash
The URI hashcode.


prefixHash

private int prefixHash
The prefix hashcode.


uri

private java.lang.String uri
The URI string.


prefix

private java.lang.String prefix
The prefix string.


previousDeclaration

private NamespacesTable.Entry previousDeclaration
The previous declaration for the same prefix.


nextEntry

private NamespacesTable.Entry nextEntry
The declaration following this one in the table.

Constructor Detail

NamespacesTable.Entry

private NamespacesTable.Entry()
Method Detail

create

private static NamespacesTable.Entry create(java.lang.String prefix,
                                            java.lang.String uri)
Create a new namespace declaration.


getUri

public java.lang.String getUri()
Return the namespace URI.

Specified by:
getUri in interface NamespacesTable.Declaration

getPrefix

public java.lang.String getPrefix()
Return the namespace prefix.

Specified by:
getPrefix in interface NamespacesTable.Declaration


Copyright © 2003 Bibop Research International. All Rights Reserved.