Method Summary |
|
public void | addArgument(Argument vArgument) |
public void | addArgument(int index, Argument vArgument) Accessor: Inserts an argument at an arbitrary place into the list. |
public void | addCall(Call vCall) Accessor: Adds an invocation to the list of calls. |
public void | addCall(int index, Call vCall) Accessor: Inserts an invocation at an arbitrary place into the list. |
public void | addDeclare(Declare vDeclare) Accessor: Adds a formal argument declaration to the map of declarations. |
public void | addLocal(Local vLocal) Accessor: Adds a temporary variable declaration to the map of local
variables. |
public void | addProfile(Profile vProfile) Accessor: Appends a profile definition to the list of profiles. |
public void | addProfile(int index, Profile vProfile) Accessor: Inserts a profile definition at an arbitrary position
into the list of profiles. |
public Enumeration | enumerateArgument() Accessor: Provides an iterator for the Argument list. |
public Enumeration | enumerateCall() Accessor: Provides an iterator for the Call list. |
public Enumeration | enumerateDeclare() Accessor: Provides an iterator for the Declare map. |
public Enumeration | enumerateLocal() Accessor: Provides an iterator for the local variables.
the iterator over all locally declared variables. |
public Enumeration | enumerateProfile() Accessor: Provides an iterator for the Profile list. |
public Argument | getArgument(int index) Accessor: Obtains an Argument at an arbitrary position.
Parameters: index - is the place to look up the element at. |
public Argument[] | getArgument() Accessor: Obtains the complete commandline arguments. |
public int | getArgumentCount() Accessor: Obtains the count of items in the argument list. |
public java.util.List | getArgumentList() Accessor: Obtains the complete commandline arguments. |
public String | getArgumentSeparator() Gets the separating string between multiple
Argument elements.
The current state of the separator. |
public Call | getCall(int index) Accessor: Obtains an Call at an arbitrary position.
Parameters: index - is the place to look up the element at. |
public Call[] | getCall() Accessor: Obtains the invocation list. |
public int | getCallCount() Accessor: Obtains the count of items in the call list. |
public java.util.List | getCallList() Accessor: Obtains the invocation list. |
public Declare | getDeclare(String name) Accessor: Obtains the declaration of a formal argument as referenced
by its variable name. |
public Declare[] | getDeclare() Accessor: Obtain all known formal arguments. |
public int | getDeclareCount() Accessor: Counts the number of formal arguments known to this
transformation. |
public java.util.List | getDeclareList() Accessor: Obtain all known formal arguments. |
public java.util.Map | getDeclareMap() Accessor: Obtains all known formal arguments. |
public Local | getLocal(String name) Accessor: Obtains the declaration of a temporary variable as
referenced by its name.
Parameters: name - is the variable name to obtain the declaration for. |
public Local[] | getLocal() Accessor: Obtain all known temporary variables. |
public int | getLocalCount() Accessor: Counts the number of temporary variables known to this
transformation. |
public java.util.List | getLocalList() Accessor: Obtains all known temporary variables. |
public java.util.Map | getLocalMap() Accessor: Obtains all known temporary variables. |
public Profile | getProfile(int index) Accessor: Obtains an Profile at an arbitrary position.
Parameters: index - is the place to look up the element at. exception: IndexOutOfBoundsException - if the referenced positiondoes not exist. |
public Profile[] | getProfile() Accessor: Obtain a copy of the list of all Profile
specifications. |
public int | getProfileCount() Accessor: Counts the number of profile specifications known to this job. |
public java.util.List | getProfileList() Accessor: Obtain a read-only copy of the list of all
Profile specifications. |
public int | getType() Type accessor for quick distinction between definitions. |
public String | identify() Constructs dynamically a short descriptive, hopefully unique
identifier for this transformation. |
public boolean | isSimple() Predicate: Determines, if this is a simple TR (as opposed to compound). |
public Iterator | iterateArgument() Accessor: Provides an iterator for the Argument list. |
public Iterator | iterateCall() Accessor: Provides an iterator for the Call list. |
public Iterator | iterateDeclare() Accessor: Provides an iterator for the Declare map. |
public Iterator | iterateLocal() Accessor: Provides an iterator for local variables. |
public Iterator | iterateProfile() Accessor: Provides an iterator for the Profile list. |
public ListIterator | listIterateArgument() Accessor: Provides a list iterator for the Argument list. |
public ListIterator | listIterateArgument(int start) Accessor: Provides a list iterator for the Argument list. |
public ListIterator | listIterateCall() Accessor: Provides a list iterator for the Call list. |
public ListIterator | listIterateCall(int start) Accessor: Provides a list iterator for the Call list. |
public ListIterator | listIterateProfile() Accessor: Provides a list iterator for the Profile list. |
public ListIterator | listIterateProfile(int start) Accessor: Provides a list iterator for the Profile list. |
public void | removeAllArgument() Accessor: Removes all commandline arguments. |
public void | removeAllCall() Accessor: Removes all calls. |
public void | removeAllDeclare() Accessor: Removes all formal arguments. |
public void | removeAllLocal() Accessor: Removes all temporary variables. |
public void | removeAllProfile() Accessor: Removes all profile declarations. |
public Argument | removeArgument(int index) Accessor: Removes a commandline argument fragment from the
commandline. |
public Call | removeCall(int index) Accessor: Removes a single call fragment from the list of calls.
Each component in this vector with an index greater or equal to the
specified index is shifted downward to have an index one smaller
than the value it had previously. |
public Declare | removeDeclare(String name) Accessor: Removes a formal argument. |
public Local | removeLocal(String name) Accessor: Removes a temporary variable. |
public Profile | removeProfile(int index) Accessor: Removes a profile. |
public void | setArgument(int index, Argument vArgument) Accessor: Overwrites an commandline argument fragment with a new one. |
public void | setArgument(Argument[] argumentArray) Accessor: Replace the commandline arguments with a new commandline
argument. |
public void | setArgument(java.util.Collection arguments) Accessor: Replace the commandline arguments with a new commandline
argument. |
public void | setArgumentSeparator(String separator) Overwrites the internal separator string between neighbouring
Argument elements with new content. |
public void | setCall(int index, Call vCall) Accessor: Overwrites a call with a new one. |
public void | setCall(Call[] callArray) Accessor: Replace the calls with a new call list. |
public void | setCall(Collection calls) Accessor: Replace the calls with a new call list. |
public void | setDeclare(Declare vDeclare) Accessor: Insert or replace a declaration with a new version.
Parameters: vDeclare - is the declaration to insert or replace. |
public void | setDeclare(Declare[] declareArray) Accessor: Replace all declarations by a new set of declarations. |
public void | setDeclare(Collection declares) Accessor: Replace all declarations by a new set of declarations. |
public void | setDeclare(Map declares) Accessor: Replace all declarations by a new set of declarations. |
public void | setLocal(Local vLocal) Accessor: Inserts or replaces a temporary variable with a new
version.
Parameters: vLocal - is the temporary variable to insert or replace. |
public void | setLocal(Local[] localArray) Accessor: Replaces all declarations by a new set of declarations. |
public void | setLocal(Collection locals) Accessor: Replaces all declarations by a new set of declarations.
This method effectively exchanges all temporary variables. |
public void | setLocal(Map locals) Accessor: Replace all declarations by a new set of declarations.
This method effectively exchanges all temporary variables. |
public void | setProfile(int index, Profile vProfile) |
public void | setProfile(Profile[] profileArray) Accessor: Replace the internal profiles with a new list. |
public void | setProfile(java.util.Collection profiles) Accessor: Replace the internal profiles with a new list. |
public void | toString(Writer stream) Dumps the content of the given element into a string. |
public void | toXML(Writer stream, String indent, String namespace) Dump the state of the current element as XML output. |