commgrids.nuggets.wiley.schema
Class Abstract

java.lang.Object
  extended bycommgrids.nuggets.wiley.schema.Abstract
All Implemented Interfaces:
java.io.Serializable

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

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

Constructor Summary
Abstract()
           
 
Method Summary
 java.lang.String getContent()
          Returns the value of field 'content'.
 java.lang.String getLanguage()
          Returns the value of field 'language'.
 boolean 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 setLanguage(java.lang.String language)
          Sets the value of field 'language'.
static Abstract unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Abstract

public Abstract()
Method Detail

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'.

getLanguage

public java.lang.String getLanguage()
Returns the value of field 'language'.

Returns:
the value of field 'language'.

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

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'.

setLanguage

public void setLanguage(java.lang.String language)
Sets the value of field 'language'.

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

unmarshal

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

validate

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