org.objectweb.jonathan.apis.kernel

Interface Name

public interface Name

Names are non-mutable structures representing names used by contexts. A Name is a pair , where id is an identifier (represented as a String, and subname a (possibly null) Name. The "" identifier is reserved in contexts representing trees to represent the root of the tree.

Method Summary

String
getId()
Returns the id of the target name.
Name
getSubName()
Returns the subname of the target name.

Method Details

getId

public String getId()
Returns the id of the target name.

Returns:
the id of the target name.


getSubName

public Name getSubName()
Returns the subname of the target name.

Returns:
the subname of the target name.