4.1.0.610 20071213

ch.ecma.csta.binding
Class MessageInfoItem

java.lang.Object
  extended by ch.ecma.csta.CastorObject
      extended by ch.ecma.csta.binding.MessageInfoItem
All Implemented Interfaces:
java.io.Serializable

public class MessageInfoItem
extends ch.ecma.csta.CastorObject
implements java.io.Serializable

Class MessageInfoItem.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
MessageInfoItem()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String getContents()
          Returns the value of field 'contents'.
 java.lang.Integer getContentsLength()
          Returns the value of field 'contentsLength'.
 java.lang.String getContentTypeAndSubtype()
          Returns the value of field 'contentTypeAndSubtype'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setContents(java.lang.String contents)
          Sets the value of field 'contents'.
 void setContentsLength(java.lang.Integer contentsLength)
          Sets the value of field 'contentsLength'.
 void setContentTypeAndSubtype(java.lang.String contentTypeAndSubtype)
          Sets the value of field 'contentTypeAndSubtype'.
static MessageInfoItem unmarshalMessageInfoItem(java.io.Reader reader)
          Method unmarshalMessageInfoItem
 void validate()
          Method validate
 
Methods inherited from class ch.ecma.csta.CastorObject
getOldSessionID, hashCode, setOldSessionID, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageInfoItem

public MessageInfoItem()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden

Overrides:
equals in class ch.ecma.csta.CastorObject
Parameters:
obj -
Returns:
boolean

getContentTypeAndSubtype

public java.lang.String getContentTypeAndSubtype()
Returns the value of field 'contentTypeAndSubtype'.

Returns:
String

getContents

public java.lang.String getContents()
Returns the value of field 'contents'.

Returns:
String

getContentsLength

public java.lang.Integer getContentsLength()
Returns the value of field 'contentsLength'.

Returns:
Integer

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

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

Parameters:
out -
Throws:
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 -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setContentTypeAndSubtype

public void setContentTypeAndSubtype(java.lang.String contentTypeAndSubtype)
Sets the value of field 'contentTypeAndSubtype'.

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

setContents

public void setContents(java.lang.String contents)
Sets the value of field 'contents'.

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

setContentsLength

public void setContentsLength(java.lang.Integer contentsLength)
Sets the value of field 'contentsLength'.

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

unmarshalMessageInfoItem

public static MessageInfoItem unmarshalMessageInfoItem(java.io.Reader reader)
                                                throws org.exolab.castor.xml.MarshalException,
                                                       org.exolab.castor.xml.ValidationException
Method unmarshalMessageInfoItem

Parameters:
reader -
Returns:
MessageInfoItem
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

Throws:
org.exolab.castor.xml.ValidationException

4.1.0.610 20071213

Copyright 2004 Avaya Inc All Rights Reserved.