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

Class SbnMessageType.

See Also:
Serialized Form

Constructor Summary
SbnMessageType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 SbnRequestType getSbnRequest()
          Method getSbnRequestReturns the value of field 'sbnRequest'.
 SbnResponseType getSbnResponse()
          Method getSbnResponseReturns the value of field 'sbnResponse'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setSbnRequest(SbnRequestType sbnRequest)
          Method setSbnRequestSets the value of field 'sbnRequest'.
 void setSbnResponse(SbnResponseType sbnResponse)
          Method setSbnResponseSets the value of field 'sbnResponse'.
static SbnMessageType unmarshalSbnMessageType(java.io.Reader reader)
          Method unmarshalSbnMessageType
 void validate()
          Method validate
 
Methods inherited from class sbnmarcBase.sbnmarcBase
fromStringToRootObject
 
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 sbnmarcBase
Parameters:
obj -

getSbnRequest

public SbnRequestType getSbnRequest()
Method getSbnRequestReturns the value of field 'sbnRequest'.

Returns:
the value of field 'sbnRequest'.

getSbnResponse

public SbnResponseType getSbnResponse()
Method getSbnResponseReturns the value of field 'sbnResponse'.

Returns:
the value of field 'sbnResponse'.

isValid

public boolean isValid()
Method isValid


marshal

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

Parameters:
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

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

Parameters:
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setSbnRequest

public void setSbnRequest(SbnRequestType sbnRequest)
Method setSbnRequestSets the value of field 'sbnRequest'.

Parameters:
sbnRequest - the value of field 'sbnRequest'.

setSbnResponse

public void setSbnResponse(SbnResponseType sbnResponse)
Method setSbnResponseSets 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
Method unmarshalSbnMessageType

Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

org.exolab.castor.xml.ValidationException