|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Reflection supports a metadata capability.
Method Summary | |
int |
getAttributeIntVal(java.lang.Class aClass,
java.lang.String attrName)
Get the current value of an int attribute. |
int |
getAttributeIntVal(IXholon xhNode,
java.lang.String attrName)
Get the current value of an int attribute. |
java.lang.Object[][] |
getAttributes(IXholon node)
Get all attributes that are accessible using a method that starts with "get". |
java.lang.String |
getAttributeStringVal(IXholon xhNode,
java.lang.String attrName)
XPath uses this to get the current value of a String attribute. |
int |
setAttributeArrayVal(IXholon tNode,
java.lang.String attrName,
java.lang.String val,
int valIx,
int arraySubscript)
Set the value of one slot in a named array attribute. |
boolean |
setAttributeBooleanVal(IXholon tNode,
java.lang.String attrName,
boolean val)
Set the value of a boolean attribute. |
int |
setAttributeVal(IXholon tNode,
java.lang.String attrName,
java.lang.String val,
int valIx)
Set the value of a named attribute. |
boolean |
setParam(java.lang.String pName,
java.lang.String pValue,
Application app)
Application uses this to set parameters. |
Method Detail |
public boolean setParam(java.lang.String pName, java.lang.String pValue, Application app)
pName
- Parameter name.pValue
- Parameter value.app
- The Application.
public java.lang.Object[][] getAttributes(IXholon node)
node
- An instance of IXholon.
public java.lang.String getAttributeStringVal(IXholon xhNode, java.lang.String attrName)
attrName
- The name of a String attribute.
public int getAttributeIntVal(IXholon xhNode, java.lang.String attrName)
attrName
- The name of an int attribute.
public int getAttributeIntVal(java.lang.Class aClass, java.lang.String attrName)
aClass
- A Java class, typically a Xh concrete class.attrName
- The name of an int attribute.
public int setAttributeVal(IXholon tNode, java.lang.String attrName, java.lang.String val, int valIx)
attrName
- The name of an attribute.val
- A String that contains the value that the attribute should be set to.valIx
- An index into the String. The location within the String where the value begins.
public boolean setAttributeBooleanVal(IXholon tNode, java.lang.String attrName, boolean val)
tNode
- An IXholon instance.attrName
- The name of a boolean attribute.val
- The value that this boolean attribute should be set to.
public int setAttributeArrayVal(IXholon tNode, java.lang.String attrName, java.lang.String val, int valIx, int arraySubscript)
tNode
- An IXholon instance.attrName
- The name of an array attribute.val
- A String that contains the value that the attribute should be set to.valIx
- An index into the String. The location within the String where the value begins.arraySubscript
- The Zero-indexed subscript of the slot within the array.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |