net.dpml.test
Interface ContextTestComponent.Context

Enclosing class:
ContextTestComponent

public static interface ContextTestComponent.Context

Component driven context criteria.


Method Summary
 boolean getBoolean()
          Return as assigned non-optional boolean value.
 byte getByte()
          Return as assigned non-optional byte value.
 char getChar()
          Return as assigned non-optional char value.
 Color getColor()
          Return the assigned color.
 double getDouble()
          Return as assigned non-optional double value.
 File getFile()
          Return as assigned non-optional file value.
 File getFile(File value)
          Return as resolved optional file value.
 float getFloat()
          Return as assigned non-optional float value.
 int getInteger()
          Return as assigned non-optional integer value.
 long getLong()
          Return as assigned non-optional long value.
 String getName()
          Return as assigned non-optional name.
 boolean getOptionalBoolean(boolean flag)
          Return as resolved optional boolean value.
 byte getOptionalByte(byte value)
          Return as resolved optional byte value.
 char getOptionalChar(char value)
          Return as resolved optional char value.
 Color getOptionalColor(Color color)
          Return the assigned color.
 double getOptionalDouble(double value)
          Return as resolved optional double value.
 File getOptionalFile(File value)
          Return as resolved optional file value.
 float getOptionalFloat(float value)
          Return as resolved optional float value.
 int getOptionalInteger(int value)
          Return as resolved optional integer value.
 long getOptionalLong(long value)
          Return as resolved optional long value.
 short getOptionalShort(short value)
          Return as resolved optional short value.
 URI getOptionalURI(URI value)
          Return a optional uri value.
 String getPath()
          Return as assigned non-optional path.
 short getShort()
          Return as assigned non-optional short value.
 File getTempFile()
          Return a non-optional temporary file value.
 URI getURI()
          Return as assigned non-optional uri value.
 

Method Detail

getColor

Color getColor()
Return the assigned color.

Returns:
the required color value

getOptionalColor

Color getOptionalColor(Color color)
Return the assigned color.

Parameters:
color - the default color value
Returns:
the color value

getInteger

int getInteger()
Return as assigned non-optional integer value.

Returns:
the integer value

getOptionalInteger

int getOptionalInteger(int value)
Return as resolved optional integer value.

Parameters:
value - the default value
Returns:
the integer value

getShort

short getShort()
Return as assigned non-optional short value.

Returns:
the short value

getOptionalShort

short getOptionalShort(short value)
Return as resolved optional short value.

Parameters:
value - the default value
Returns:
the short value

getLong

long getLong()
Return as assigned non-optional long value.

Returns:
the long value

getOptionalLong

long getOptionalLong(long value)
Return as resolved optional long value.

Parameters:
value - the default value
Returns:
the long value

getByte

byte getByte()
Return as assigned non-optional byte value.

Returns:
the byte value

getOptionalByte

byte getOptionalByte(byte value)
Return as resolved optional byte value.

Parameters:
value - the default value
Returns:
the byte value

getDouble

double getDouble()
Return as assigned non-optional double value.

Returns:
the double value

getOptionalDouble

double getOptionalDouble(double value)
Return as resolved optional double value.

Parameters:
value - the default value
Returns:
the double value

getFloat

float getFloat()
Return as assigned non-optional float value.

Returns:
the float value

getOptionalFloat

float getOptionalFloat(float value)
Return as resolved optional float value.

Parameters:
value - the default value
Returns:
the float value

getChar

char getChar()
Return as assigned non-optional char value.

Returns:
the char value

getOptionalChar

char getOptionalChar(char value)
Return as resolved optional char value.

Parameters:
value - the default value
Returns:
the char value

getBoolean

boolean getBoolean()
Return as assigned non-optional boolean value.

Returns:
the boolean value

getOptionalBoolean

boolean getOptionalBoolean(boolean flag)
Return as resolved optional boolean value.

Parameters:
flag - the default value
Returns:
the boolean value

getFile

File getFile()
Return as assigned non-optional file value.

Returns:
the file value

getFile

File getFile(File value)
Return as resolved optional file value.

Parameters:
value - the default value
Returns:
the file value

getOptionalFile

File getOptionalFile(File value)
Return as resolved optional file value.

Parameters:
value - the default value
Returns:
the file value

getTempFile

File getTempFile()
Return a non-optional temporary file value.

Returns:
the temp file value

getURI

URI getURI()
Return as assigned non-optional uri value.

Returns:
the uri value

getOptionalURI

URI getOptionalURI(URI value)
Return a optional uri value.

Parameters:
value - the default value
Returns:
the uri value

getName

String getName()
Return as assigned non-optional name.

Returns:
the name

getPath

String getPath()
Return as assigned non-optional path.

Returns:
the path