be.SIRAPRISE.util
Class NameValueResult

java.lang.Object
  extended by be.SIRAPRISE.util.NameValueResult

public class NameValueResult
extends java.lang.Object

Author:
Erwin Smout

Constructor Summary
NameValueResult(int startPos, int lastParsedPos, NameValuePair nameValuePair)
          Creates the NameValueResult
 
Method Summary
 NameValuePair getNameValuePair()
          Gets The NameValuePair that represents the actual content of the NAME(VALUE) string
 int getNextParsePos()
          Gets The last parsed position in the input string
 int getStartPos()
          Gets The first parsed position in the input string
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameValueResult

public NameValueResult(int startPos,
                       int lastParsedPos,
                       NameValuePair nameValuePair)
Creates the NameValueResult

Parameters:
startPos - The first parsed position in the input string
lastParsedPos - The last parsed position in the input string
nameValuePair - The NameValuePair that represents the actual content of the NAME(VALUE) string
Method Detail

getNameValuePair

public NameValuePair getNameValuePair()
Gets The NameValuePair that represents the actual content of the NAME(VALUE) string

Returns:
The NameValuePair that represents the actual content of the NAME(VALUE) string

getNextParsePos

public int getNextParsePos()
Gets The last parsed position in the input string

Returns:
The last parsed position in the input string

getStartPos

public int getStartPos()
Gets The first parsed position in the input string

Returns:
The first parsed position in the input string

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object