com.calfater.mailcarbon.binding
Class File

java.lang.Object
  extended by com.calfater.mailcarbon.binding.File
All Implemented Interfaces:
java.io.Serializable

public class File
extends java.lang.Object
implements java.io.Serializable

Class File.

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

Constructor Summary
File()
           
 
Method Summary
 void deleteEnable()
           
 java.lang.String getContent()
          Returns the value of field 'content'.
 boolean getEnable()
          Returns the value of field 'enable'.
 boolean hasEnable()
          Method hasEnable.
 boolean isEnable()
          Returns the value of field 'enable'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setContent(java.lang.String content)
          Sets the value of field 'content'.
 void setEnable(boolean enable)
          Sets the value of field 'enable'.
static File unmarshal(java.io.Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

File

public File()
Method Detail

deleteEnable

public void deleteEnable()

getContent

public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Returns:
the value of field 'Content'.

getEnable

public boolean getEnable()
Returns the value of field 'enable'.

Returns:
the value of field 'Enable'.

hasEnable

public boolean hasEnable()
Method hasEnable.

Returns:
true if at least one Enable has been added

isEnable

public boolean isEnable()
Returns the value of field 'enable'.

Returns:
the value of field 'Enable'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

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 -
Throws:
java.io.IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setContent

public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

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

setEnable

public void setEnable(boolean enable)
Sets the value of field 'enable'.

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

unmarshal

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

Parameters:
reader -
Returns:
the unmarshaled com.calfater.mailcarbon.binding.File
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright © 2010. All Rights Reserved.