org.eclipse.higgins.idas
Class AbstractLiteral
java.lang.Object
org.eclipse.higgins.idas.AbstractLiteral
- All Implemented Interfaces:
- ILiteral, IPropertyValue
- Direct Known Subclasses:
- BasicValueBase64Binary, BasicValueBoolean, BasicValueByte, BasicValueDateTime, BasicValueDecimal, BasicValueDouble, BasicValueFloat, BasicValueHexBinary, BasicValueInt, BasicValueInteger, BasicValueLong, BasicValueShort, BasicValueString, BasicValueURI
public abstract class AbstractLiteral
- extends Object
- implements ILiteral
Method Summary |
String |
getCanonical()
Default implementation of getCanonical calls toString() on the backing datatype. |
String |
getLexical()
Default implementation of getLexical calls toString() on the backing datatype. |
boolean |
isLiteral()
returns true |
AbstractLiteral
public AbstractLiteral()
getLexical
public String getLexical()
throws IdASException
- Default implementation of getLexical calls toString() on the backing datatype.
- Specified by:
getLexical
in interface ILiteral
- Throws:
IdASException
getCanonical
public String getCanonical()
throws IdASException
- Default implementation of getCanonical calls toString() on the backing datatype.
- Specified by:
getCanonical
in interface ILiteral
- Throws:
IdASException
isLiteral
public boolean isLiteral()
throws IdASException
- returns true
- Specified by:
isLiteral
in interface IPropertyValue
- Throws:
IdASException