sbnmarc
Class SbnMessageType

java.lang.Object
  |
  +--sbnmarcBase.sbnmarcBase
        |
        +--sbnmarc.SbnMessageType
All Implemented Interfaces:
java.io.Serializable

public class SbnMessageType
extends sbnmarcBase
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SbnMessageType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 SbnRequestType getSbnRequest()
          Returns the value of field 'sbnRequest'.
 SbnResponseType getSbnResponse()
          Returns the value of field 'sbnResponse'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setSbnRequest(SbnRequestType sbnRequest)
          Sets the value of field 'sbnRequest'.
 void setSbnResponse(SbnResponseType sbnResponse)
          Sets the value of field 'sbnResponse'.
static SbnMessageType unmarshalSbnMessageType(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SbnMessageType

public SbnMessageType()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden
Overrides:
equals in class java.lang.Object
Parameters:
obj -  

getSbnRequest

public SbnRequestType getSbnRequest()
Returns the value of field 'sbnRequest'.
Returns:
the value of field 'sbnRequest'.

getSbnResponse

public SbnResponseType getSbnResponse()
Returns the value of field 'sbnResponse'.
Returns:
the value of field 'sbnResponse'.

isValid

public boolean isValid()

marshal

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

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -  

setSbnRequest

public void setSbnRequest(SbnRequestType sbnRequest)
Sets the value of field 'sbnRequest'.
Parameters:
sbnRequest - the value of field 'sbnRequest'.

setSbnResponse

public void setSbnResponse(SbnResponseType sbnResponse)
Sets the value of field 'sbnResponse'.
Parameters:
sbnResponse - the value of field 'sbnResponse'.

unmarshalSbnMessageType

public static SbnMessageType unmarshalSbnMessageType(java.io.Reader reader)
                                              throws org.exolab.castor.xml.MarshalException,
                                                     org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

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