|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.help.Map.ID
An ID is a pair of String, HelpSet. An ID fully identifies a "location" within a HelpSet.
Field Summary | |
HelpSet |
hs
|
java.lang.String |
id
|
Method Summary | |
static Map.ID |
create(java.lang.String id,
HelpSet hs)
A location within a HelpSet. |
boolean |
equals(java.lang.Object o)
Determines if two IDs are equal. |
HelpSet |
getHelpSet()
Getter for property hs. |
java.lang.String |
getIDString()
Getter for property id. |
java.net.URL |
getURL()
Returns the URL that the Map.ID refers to. |
java.lang.String |
toString()
Gets an external represenation of an ID. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String id
public HelpSet hs
Method Detail |
public static Map.ID create(java.lang.String id, HelpSet hs) throws BadIDException
id
- The Stringhs
- The HelpSet
BadIDException
- if String is not within the Map of the
HelpSet.public HelpSet getHelpSet()
public java.lang.String getIDString()
public java.net.URL getURL() throws java.net.MalformedURLException
java.net.MalformedURLException
- if the URL is malformedMap.getURLFromID(javax.help.Map.ID id)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object to compare.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |