| java.lang.Object org.griphyn.vdl.parser.VDLtFQDN
VDLtFQDN | class VDLtFQDN implements VDLtToken(Code) | | Class to pass the name of a definition from scanner to parser.
The class is used for both, the namespace::name:version info as
well as the namespace::name:min,max mapping.
This class is module-local on purpose.
author: Jens-S. Vöckler version: $Revision: 50 $ |
Constructor Summary | |
public | VDLtFQDN() Contructs an empty fqdn to pass. |
Method Summary | |
public String | getValue(int index) Obtains the current name value of an fqdn part.
Parameters: index - is the part to obtain the value for the name of the identifer, which may be null. | public String | setValue(int index, String value) Sets a part of the fqdn to the given value. |
VDLtFQDN | public VDLtFQDN()(Code) | | Contructs an empty fqdn to pass.
|
getValue | public String getValue(int index)(Code) | | Obtains the current name value of an fqdn part.
Parameters: index - is the part to obtain the value for the name of the identifer, which may be null. null isalways returned for index out of bounds. |
setValue | public String setValue(int index, String value)(Code) | | Sets a part of the fqdn to the given value.
Parameters: index - is the part to set Parameters: value - is the new value to set the part for the old value at the slot. For an index out of bounds,null will always be returned. |
|
|