commgrids.nuggets.wiley.userconfig
Class Col

java.lang.Object
  extended bycommgrids.nuggets.wiley.userconfig.Col
All Implemented Interfaces:
java.io.Serializable

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

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

Constructor Summary
Col()
           
 
Method Summary
 java.lang.String getContent()
          Returns the value of field 'content'.
 int getLength()
          Returns the value of field 'length'.
 java.lang.String getName()
          Returns the value of field 'name'.
 int getOrder()
          Returns the value of field 'order'.
 boolean hasLength()
           
 boolean hasOrder()
           
 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 setLength(int length)
          Sets the value of field 'length'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setOrder(int order)
          Sets the value of field 'order'.
static Col 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

Col

public Col()
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'.

getLength

public int getLength()
Returns the value of field 'length'.

Returns:
the value of field 'length'.

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
the value of field 'name'.

getOrder

public int getOrder()
Returns the value of field 'order'.

Returns:
the value of field 'order'.

hasLength

public boolean hasLength()

hasOrder

public boolean hasOrder()

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

setLength

public void setLength(int length)
Sets the value of field 'length'.

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

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

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

setOrder

public void setOrder(int order)
Sets the value of field 'order'.

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

unmarshal

public static Col 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