org.eclipse.higgins.idas
Class AbstractLiteral

Package class diagram package AbstractLiteral
java.lang.Object
  extended by 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


Constructor Summary
AbstractLiteral()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.ILiteral
getData
 

Constructor Detail

AbstractLiteral

public AbstractLiteral()
Method Detail

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