|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.lang.AbstractDirective net.dpml.lang.ValueDirective
public class ValueDirective
A object resolvable from primitive arguments.
Constructor Summary | |
---|---|
ValueDirective(String value)
Create a new value descriptor using the default java.lang.String class as the base type. |
|
ValueDirective(String target,
String value)
Create a new construct using a supplied target definition. |
|
ValueDirective(String target,
String method,
String value)
Create a new construct using a supplied target defintion. |
|
ValueDirective(String target,
String method,
ValueDirective[] args)
Create a new construct using a supplied target defintion. |
|
ValueDirective(String target,
ValueDirective[] args)
Create a new construct using a supplied target defintion. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Compare this instance with a supplied object for equality. |
String |
getBaseValue()
Return the base value of the resolved value. |
String |
getMethodName()
Return the method name to be applied to the target object. |
String |
getTargetExpression()
Return the classname of the resolved value. |
ValueDirective[] |
getValueDirectives()
Return the set of nested values within this value. |
int |
hashCode()
Compute the instance hashcode value. |
boolean |
isCompound()
Return TRUE if this construct is a compund construct else FALSE. |
String |
toString()
Return a string representation of the construct. |
Methods inherited from class net.dpml.lang.AbstractDirective |
---|
equals, hashArray, hashValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValueDirective(String value)
value
- the construct valuepublic ValueDirective(String target, String value)
target
- a classname or symbolic object referencevalue
- the construct valuepublic ValueDirective(String target, String method, String value)
target
- a classname or symbolic referencemethod
- the method to invoke on the targetvalue
- the construct valuepublic ValueDirective(String target, ValueDirective[] args)
target
- the construct classnameargs
- an array of unresolved parameter valuespublic ValueDirective(String target, String method, ValueDirective[] args)
target
- the construct classnamemethod
- the method to invoke on the targetargs
- an array of unresolved parameter valuesMethod Detail |
---|
public boolean isCompound()
public String getMethodName()
public ValueDirective[] getValueDirectives()
public String getBaseValue()
public String getTargetExpression()
public String toString()
toString
in class Object
public boolean equals(Object other)
equals
in class AbstractDirective
other
- the other object
public int hashCode()
hashCode
in class AbstractDirective
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |