| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An abstract representation of any addressing scheme. In this representation, an address (reference) is defined using a string and the reference string is specified in a particular notation. For example, the majority of network addresses are specified using the "URI" notation, and so the reference string must conform to this notation specification.
| Method Summary | |
|  boolean | equals(java.lang.Object o)Returns true if the other object is equal to this one. | 
|  java.lang.String | getNotation()Returns the notation string of the locator. | 
|  java.lang.String | getReference()Returns the reference string portion of the locator. | 
|  int | hashCode()The hashCode() implementation must satisfy JDK's requirements that equal objects should return equal hashCode values. | 
|  Locator | resolveRelative(java.lang.String relative)Produces a new Locator object by resolving a reference string relative to the reference of this Locator. | 
|  java.lang.String | toExternalForm()Returns a string representation of this locator suitable for output or passing to APIs which will parse the locator anew. | 
| Method Detail | 
public java.lang.String getReference()
public java.lang.String getNotation()
public Locator resolveRelative(java.lang.String relative)
relative - The relative reference to be resolved.
relative
 relative to the reference of this Locator.public java.lang.String toExternalForm()
public boolean equals(java.lang.Object o)
o is not an instance
 of Locator the return value is false.
public int hashCode()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||