|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.op.DecisionImpl
public final class DecisionImpl
implementation of the interface Decision
Constructor Summary | |
---|---|
DecisionImpl()
|
Method Summary | |
---|---|
static Decision |
getInstance()
|
boolean |
isArray(Object o)
tests if object is a array |
boolean |
isBinary(Object object)
tests if object is a binary |
boolean |
isBoolean(Object value)
tests if value is a Boolean (Numbers are not acctepeted) |
boolean |
isBoolean(String str)
tests if value is a Boolean |
boolean |
isComponent(Object object)
tests if object is a Component |
boolean |
isDate(Object value,
boolean alsoNumbers)
tests if value is DateTime Object |
boolean |
isEmpty(String str)
|
boolean |
isEmpty(String str,
boolean trim)
|
boolean |
isHex(String str)
tests if String value is Hex Value |
boolean |
isLeapYear(int year)
tests if year is a leap year |
boolean |
isNativeArray(Object o)
tests if object is a native java array |
boolean |
isNumeric(Object value)
tests if value is Numeric |
boolean |
isNumeric(String str)
tests if String value is Numeric |
boolean |
isObject(Object o)
returns if object is a CFML object |
boolean |
isQuery(Object object)
tests if object is a Query |
boolean |
isSimpleValue(Object value)
tests if value is a simple value (Number,String,Boolean,Date,Printable) |
boolean |
isSimpleVariableName(String string)
|
boolean |
isStruct(Object o)
tests if object is a struct |
boolean |
isUserDefinedFunction(Object object)
tests if object is a binary |
boolean |
isUUID(String str)
tests if String value is UUID Value |
boolean |
isVariableName(String string)
|
boolean |
isWddx(Object o)
tests if object is a WDDX Object |
boolean |
isXML(Object o)
tests if object is a XML Object |
boolean |
isXMLDocument(Object o)
tests if object is a XML Document Object |
boolean |
isXMLElement(Object o)
tests if object is a XML Element Object |
boolean |
isXMLRootElement(Object o)
tests if object is a XML Root Element Object |
Collection.Key |
toKey(Object obj)
|
Collection.Key |
toKey(Object obj,
Collection.Key defaultValue)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DecisionImpl()
Method Detail |
---|
public boolean isArray(Object o)
Decision
isArray
in interface Decision
public boolean isBinary(Object object)
Decision
isBinary
in interface Decision
public boolean isBoolean(Object value)
Decision
isBoolean
in interface Decision
value
- value to test
public boolean isBoolean(String str)
Decision
isBoolean
in interface Decision
str
- value to test
public boolean isComponent(Object object)
Decision
isComponent
in interface Decision
public boolean isDate(Object value, boolean alsoNumbers)
Decision
isDate
in interface Decision
value
- value to testalsoNumbers
- interpret also a number as date
public boolean isEmpty(String str, boolean trim)
isEmpty
in interface Decision
public boolean isEmpty(String str)
isEmpty
in interface Decision
public boolean isHex(String str)
Decision
isHex
in interface Decision
str
- value to test
public boolean isLeapYear(int year)
Decision
isLeapYear
in interface Decision
year
- year to check
public boolean isNativeArray(Object o)
Decision
isNativeArray
in interface Decision
public boolean isNumeric(Object value)
Decision
isNumeric
in interface Decision
value
- value to test
public boolean isNumeric(String str)
Decision
isNumeric
in interface Decision
str
- value to test
public boolean isObject(Object o)
Decision
isObject
in interface Decision
o
- Object to check
public boolean isQuery(Object object)
Decision
isQuery
in interface Decision
public boolean isSimpleValue(Object value)
Decision
isSimpleValue
in interface Decision
value
- value to test
public boolean isSimpleVariableName(String string)
isSimpleVariableName
in interface Decision
public boolean isStruct(Object o)
Decision
isStruct
in interface Decision
public boolean isUserDefinedFunction(Object object)
Decision
isUserDefinedFunction
in interface Decision
public boolean isUUID(String str)
Decision
isUUID
in interface Decision
str
- value to test
public boolean isVariableName(String string)
isVariableName
in interface Decision
public boolean isWddx(Object o)
Decision
isWddx
in interface Decision
o
- Object to check
public boolean isXML(Object o)
Decision
isXML
in interface Decision
o
- Object to check
public boolean isXMLDocument(Object o)
Decision
isXMLDocument
in interface Decision
o
- Object to check
public boolean isXMLElement(Object o)
Decision
isXMLElement
in interface Decision
o
- Object to check
public boolean isXMLRootElement(Object o)
Decision
isXMLRootElement
in interface Decision
o
- Object to check
public static Decision getInstance()
public Collection.Key toKey(Object obj) throws PageException
toKey
in interface Decision
PageException
public Collection.Key toKey(Object obj, Collection.Key defaultValue)
toKey
in interface Decision
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |