Nitido Inc.

com.nitido.nimbox.http.enhanced
Class Result

java.lang.Object
  extended by com.nitido.nimbox.http.enhanced.Result

public class Result
extends java.lang.Object

Data object for result. A result must contain the result type and value. For now only one type defined is @see EnhancedDispatcherConstants.MARKUP_TYPE. Snippet from rules.xsd: Define result element ( e.g) type=markup, value=html


Constructor Summary
Result(java.lang.String type, java.lang.String value)
          Default constructor.
 
Method Summary
 java.lang.String getType()
          Get the type of the result object.
 java.lang.String getValue()
          Get the value of the result object
 java.lang.String toDebugString()
          This method convert the information into string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Result

public Result(java.lang.String type,
              java.lang.String value)
Default constructor.

Parameters:
type - A string for the result type
value - A string for the result value
Method Detail

getType

public java.lang.String getType()
Get the type of the result object. One type of result type is accepted at this time:
  • EnhancedDispatcherConstants.MARKUP_TYPE
  • Snippet from rules XML Schema:

    Returns:
    A string that represents the type of the result object.

    getValue

    public java.lang.String getValue()
    Get the value of the result object

    Returns:
    A string that represents the value of the result object.

    toDebugString

    public java.lang.String toDebugString()
    This method convert the information into string. The format of the result string is "_type:_value".


    Nitido NiM 2.5 Java API

    These JavaDoc pages are generated for release/nim_2_5-2.5.44

    Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.