org.webmacro.engine
Class Argument

java.lang.Object
  extended byorg.webmacro.engine.Argument

public final class Argument
extends java.lang.Object

A predicate is a term passed to a Directive. It consists of a string word representing the action to beformed, and a target object on which to perform the action. The target object can be any kind of WebMacro term.


Constructor Summary
Argument(java.lang.String name, java.lang.Object value)
          Create a new predicate
 
Method Summary
 java.lang.String getName()
          Return the action code for this predicate
 java.lang.Object getValue()
          Return the object on which this predicate operates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Argument

public Argument(java.lang.String name,
                java.lang.Object value)
Create a new predicate

Method Detail

getName

public final java.lang.String getName()
Return the action code for this predicate


getValue

public final java.lang.Object getValue()
Return the object on which this predicate operates