Copyright© 2008-2022 Sitevision AB, all rights reserved.
@Requireable(value="InstanceTypeUtil") public interface InstanceTypeUtil
An instance of the Sitevision class implementing this interface can be obtained via
Utils.getInstanceTypeUtil()
.
See Utils
for how to obtain an instance of the Utils
interface.
Modifier and Type | Method and Description |
---|---|
boolean |
isBoolean(Object aObject)
Checks if an object is a
Boolean . |
boolean |
isCalendar(Object aObject)
Checks if an object is a
Calendar . |
boolean |
isCollection(Object aObject)
Checks if an object is a
Collection . |
boolean |
isComparable(Object aObject)
Checks if an object is a
Comparable . |
boolean |
isComparator(Object aObject)
Checks if an object is a
Comparator . |
boolean |
isDate(Object aObject)
Checks if an object is a
Date . |
boolean |
isDouble(Object aObject)
Checks if an object is a
Double . |
boolean |
isException(Object aObject)
Checks if an object is an
Exception . |
boolean |
isFloat(Object aObject)
Checks if an object is a
Float . |
boolean |
isInteger(Object aObject)
Checks if an object is an
Integer . |
boolean |
isIterable(Object aObject)
Checks if an object is an
Iterable . |
boolean |
isIterator(Object aObject)
Checks if an object is an
Iterator . |
boolean |
isList(Object aObject)
Checks if an object is a
List . |
boolean |
isLong(Object aObject)
Checks if an object is a
Long . |
boolean |
isMap(Object aObject)
Checks if an object is a
Map . |
boolean |
isNode(Object aObject)
Checks if an object is a
Node . |
boolean |
isNumber(Object aObject)
Checks if an object is a
Number . |
boolean |
isProperty(Object aObject)
Checks if an object is a
Property . |
boolean |
isSerializable(Object aObject)
Checks if an object is a
Serializable . |
boolean |
isSet(Object aObject)
Checks if an object is a
Set . |
boolean |
isString(Object aObject)
Checks if an object is a
String . |
boolean |
isThrowable(Object aObject)
Checks if an object is a
Throwable . |
boolean isString(Object aObject)
String
.aObject
- the object to be checkedaObject
is a java.lang.String
or not.boolean isBoolean(Object aObject)
Boolean
.aObject
- the object to be checkedaObject
is a java.lang.Boolean
or not.boolean isInteger(Object aObject)
Integer
.aObject
- the object to be checkedaObject
is a java.lang.Integer
or not.boolean isLong(Object aObject)
Long
.aObject
- the object to be checkedaObject
is a java.lang.Long
or not.boolean isDouble(Object aObject)
Double
.aObject
- the object to be checkedaObject
is a java.lang.Double
or not.boolean isFloat(Object aObject)
Float
.aObject
- the object to be checkedaObject
is a java.lang.Float
or not.boolean isNumber(Object aObject)
Number
.aObject
- the object to be checkedaObject
is a java.lang.Number
or not.boolean isNode(Object aObject)
Node
.aObject
- the object to be checkedaObject
is a Node
or not.NodeTypeUtil
boolean isProperty(Object aObject)
Property
.aObject
- the object to be checkedaObject
is a Property
or not.boolean isDate(Object aObject)
Date
.aObject
- the object to be checkedaObject
is a java.util.Date
or not.boolean isCalendar(Object aObject)
Calendar
.aObject
- the object to be checkedaObject
is a java.lang.Calendar
or not.boolean isList(Object aObject)
List
.aObject
- the object to be checkedaObject
is a java.util.List
or not.boolean isMap(Object aObject)
Map
.aObject
- the object to be checkedaObject
is a java.util.Map
or not.boolean isSet(Object aObject)
Set
.aObject
- the object to be checkedaObject
is a java.util.Set
or not.boolean isCollection(Object aObject)
Collection
.aObject
- the object to be checkedaObject
is a java.util.Collection
or not.boolean isIterator(Object aObject)
Iterator
.aObject
- the object to be checkedaObject
is a java.util.Iterator
or not.boolean isIterable(Object aObject)
Iterable
.aObject
- the object to be checkedaObject
is a java.lang.Iterable
or not.boolean isSerializable(Object aObject)
Serializable
.aObject
- the object to be checkedaObject
is a java.io.Serializable
or not.boolean isComparator(Object aObject)
Comparator
.aObject
- the object to be checkedaObject
is a java.lang.Comparator
or not.boolean isComparable(Object aObject)
Comparable
.aObject
- the object to be checkedaObject
is a java.lang.Comparable
or not.boolean isException(Object aObject)
Exception
.aObject
- the object to be checkedaObject
is a java.lang.Exception
or not.boolean isThrowable(Object aObject)
Throwable
.aObject
- the object to be checkedaObject
is a java.lang.Throwable
or not.Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.