public class DefaultJavaIxObject extends Object implements IxAdaptable, IxObject, IxWrapper
| Constructor and Description |
|---|
DefaultJavaIxObject(Object wrapped) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asBoolean() |
Iterator |
asSequence() |
String |
asString() |
Object |
callMethod(SourceElement caller,
String methodName,
Object... args) |
Object |
castTo(String qualifiedName) |
Object |
getByIndex(SourceElement caller,
Object index) |
Object |
getObject()
returns wrapped object
|
Object |
getProperty(SourceElement caller,
String id) |
boolean |
is(String pattern) |
protected final Object wrapped
public DefaultJavaIxObject(Object wrapped)
public Object castTo(String qualifiedName) throws EvaluationException
castTo in interface IxAdaptableEvaluationExceptionpublic String asString() throws EvaluationException
asString in interface IxAdaptableEvaluationExceptionpublic boolean asBoolean()
asBoolean in interface IxAdaptablepublic Iterator asSequence()
asSequence in interface IxAdaptablepublic Object getProperty(SourceElement caller, String id) throws EvaluationException
getProperty in interface IxObjectEvaluationExceptionpublic Object callMethod(SourceElement caller, String methodName, Object... args) throws EvaluationException
callMethod in interface IxObjectEvaluationExceptionpublic Object getByIndex(SourceElement caller, Object index) throws EvaluationException
getByIndex in interface IxObjectEvaluationExceptionpublic boolean is(String pattern) throws EvaluationException
is in interface IxObjectEvaluationExceptionCopyright © 2014. All rights reserved.