com.americancoders.ebXML
Class ValueTypeContext

java.lang.Object
  |
  +--com.americancoders.ebXML.ValueType
        |
        +--com.americancoders.ebXML.ValueTypeContext

class ValueTypeContext
extends ValueType

a class for objects that contain simple values and e-dtype and context attributes
The purpose of the context attribute is to provide a context for the text value of the PartyId element.


Field Summary
private  java.lang.String context
           
 
Fields inherited from class com.americancoders.ebXML.ValueType
value
 
Constructor Summary
(package private) ValueTypeContext()
           
 
Method Summary
 java.lang.String getContext()
          method to get Context
 java.lang.String getXML(int depth, java.lang.String name)
          method to build an XML string of this and its subordinate objects
 void setContext(java.lang.String inContext)
          method to set Context
 
Methods inherited from class com.americancoders.ebXML.ValueType
getValue, setValue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

context

private java.lang.String context
Constructor Detail

ValueTypeContext

ValueTypeContext()
Method Detail

setContext

public void setContext(java.lang.String inContext)
method to set Context
Parameters:
String - inContext

getContext

public java.lang.String getContext()
method to get Context
Returns:
String

getXML

public java.lang.String getXML(int depth,
                               java.lang.String name)
method to build an XML string of this and its subordinate objects
Overrides:
getXML in class ValueType
Parameters:
int - depth - how many multiple of 4 spaces to add in front of text
Returns:
String - XML text