org.gxos.schema.papi
Class TypeValuePair

java.lang.Object
  |
  +--org.gxos.schema.papi.TypeValuePair
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EmailContact, HID, Identifier, Telephone

public abstract class TypeValuePair
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
TypeValuePair()
           
 
Method Summary
 java.lang.String getType()
           
 java.lang.String getValue()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 void setType(java.lang.String type)
           
 void setValue(java.lang.String value)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeValuePair

public TypeValuePair()
Method Detail

getType

public java.lang.String getType()

getValue

public java.lang.String getValue()

isValid

public boolean isValid()

marshal

public abstract void marshal(java.io.Writer out)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
out -  

marshal

public abstract void marshal(org.xml.sax.DocumentHandler handler)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
handler -  

setType

public void setType(java.lang.String type)
Parameters:
type -  

setValue

public void setValue(java.lang.String value)
Parameters:
value -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException