org.bibop.xml.utils
Class PrefixEntry

java.lang.Object
  |
  +--org.bibop.xml.utils.PrefixEntry

public class PrefixEntry
extends java.lang.Object

Namespace / prefix Entry class.

Version:
1.0
Author:
Alberto Garoffolo

Field Summary
private  java.lang.String prefix
           
private  java.lang.String uri
           
 
Constructor Summary
PrefixEntry(java.lang.String prefix)
          Create a new prefix entry from a prefix and an empty uri
PrefixEntry(java.lang.String prefix, java.lang.String uri)
          Create a new prefix entry from a prefix and an uri
 
Method Summary
 boolean equals(java.lang.Object obj)
          Checks if the this prefix is equal to the obj's prefix
 java.lang.String getPrefix()
          get the prefix
 java.lang.String getUri()
          get the uri
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uri

private java.lang.String uri

prefix

private java.lang.String prefix
Constructor Detail

PrefixEntry

public PrefixEntry(java.lang.String prefix,
                   java.lang.String uri)
Create a new prefix entry from a prefix and an uri


PrefixEntry

public PrefixEntry(java.lang.String prefix)
Create a new prefix entry from a prefix and an empty uri

Method Detail

equals

public boolean equals(java.lang.Object obj)
Checks if the this prefix is equal to the obj's prefix

Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:
true if obj's prefix is equal to this prefix

getPrefix

public java.lang.String getPrefix()
get the prefix

Returns:
prefix

getUri

public java.lang.String getUri()
get the uri

Returns:
uri


Copyright 2003 Bibop Research International. All Rights Reserved.