public final class DecisionImpl extends Object implements Decision
Constructor and Description |
---|
DecisionImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
public DecisionImpl()
public boolean isArray(Object o)
Decision
public boolean isBinary(Object object)
Decision
public boolean isBoolean(Object value)
Decision
public boolean isBoolean(String str)
Decision
public boolean isComponent(Object object)
Decision
isComponent
in interface Decision
public boolean isDate(Object value, boolean alsoNumbers)
Decision
public boolean isHex(String str)
Decision
public boolean isLeapYear(int year)
Decision
isLeapYear
in interface Decision
year
- year to checkpublic boolean isNativeArray(Object o)
Decision
isNativeArray
in interface Decision
public boolean isNumeric(Object value)
Decision
public boolean isNumeric(String str)
Decision
public boolean isObject(Object o)
Decision
public boolean isQuery(Object object)
Decision
public boolean isSimpleValue(Object value)
Decision
isSimpleValue
in interface Decision
value
- value to testpublic boolean isSimpleVariableName(String string)
isSimpleVariableName
in interface Decision
public boolean isStruct(Object o)
Decision
public boolean isUserDefinedFunction(Object object)
Decision
isUserDefinedFunction
in interface Decision
public boolean isUUID(String str)
Decision
public boolean isVariableName(String string)
isVariableName
in interface Decision
public boolean isWddx(Object o)
Decision
public boolean isXML(Object o)
Decision
public boolean isXMLDocument(Object o)
Decision
isXMLDocument
in interface Decision
o
- Object to checkpublic boolean isXMLElement(Object o)
Decision
isXMLElement
in interface Decision
o
- Object to checkpublic boolean isXMLRootElement(Object o)
Decision
isXMLRootElement
in interface Decision
o
- Object to checkpublic 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)
Copyright © 2015 Lucee