org.jibx.schema.codegen
Class StringPair

java.lang.Object
  extended by org.jibx.schema.codegen.StringKeyed
      extended by org.jibx.schema.codegen.StringPair
All Implemented Interfaces:
java.lang.Comparable

public class StringPair
extends StringKeyed

Holder for a pair consisting of a key string and a value string.


Field Summary
private  java.lang.String m_value
          String value.
 
Constructor Summary
StringPair(java.lang.String key, java.lang.String value)
          Constructor.
 
Method Summary
 java.lang.String getValue()
          Get the value string.
 
Methods inherited from class org.jibx.schema.codegen.StringKeyed
compareTo, getKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_value

private final java.lang.String m_value
String value.

Constructor Detail

StringPair

public StringPair(java.lang.String key,
                  java.lang.String value)
Constructor.

Parameters:
key -
value -
Method Detail

getValue

public java.lang.String getValue()
Get the value string.

Returns:
value


Project Web Site