org.wurbelizer
Class WurbletData

java.lang.Object
  extended by org.wurbelizer.WurbletData
All Implemented Interfaces:
Serializable

public class WurbletData
extends Object
implements Serializable

Class holding the wurblet data. An instance of this class is serialized per wurblet.

See Also:
Serialized Form

Constructor Summary
WurbletData(String[] source, String[] args)
          Creates an instance of the wurblet data.
 
Method Summary
 String[] getArgs()
          Gets the preset arguments for the wurblet.
 String[] getSource()
          Get the fixed source.
 void setArgs(String[] args)
          Sets the wurblet arguments (e.g.
 void setSource(String[] source)
          Set the fixed source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WurbletData

public WurbletData(String[] source,
                   String[] args)
Creates an instance of the wurblet data. This is usually done by the wurbiler.

Parameters:
source - the fixed source part.
args - the wurblet args. null = provided by container.
Method Detail

getArgs

public String[] getArgs()
Gets the preset arguments for the wurblet.

Returns:
preset (fixed) arguments, null = get from container

setArgs

public void setArgs(String[] args)
Sets the wurblet arguments (e.g. by the @{args} wurblet command).

Parameters:
args - fixed args, null = get from container

getSource

public String[] getSource()
Get the fixed source.

Returns:
fixed source (never null!)

setSource

public void setSource(String[] source)
Set the fixed source.

Parameters:
source - fixed source as an array of String.


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de