|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.treebind.DefaultNameImplementation
Default implementation of a TreeBind name This class implements a simple variant of TreeBind names composed of a domain name and a local name that are separed by a separator when they are concatenated.
Name| Constructor Summary | |
DefaultNameImplementation()
|
|
| Method Summary | |
boolean |
equals(Name name)
Test if two names are equal. |
java.lang.String |
getDomainName()
Gets the domain name. |
java.lang.String |
getFullName()
Gets the full name which is usually the concatenation of the domain name and the local name with a separator. |
java.lang.String |
getLocalName()
Gets the local name. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultNameImplementation()
| Method Detail |
public java.lang.String getLocalName()
Name
getLocalName in interface Namepublic java.lang.String getFullName()
Name
getFullName in interface Namepublic java.lang.String getDomainName()
Name
getDomainName in interface Namepublic boolean equals(Name name)
Name
equals in interface Namename - the name against which the equality must be checked.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||