org.scrashmeow.ojb.console.config.repository
Class WidgetDescriptor

java.lang.Object
  |
  +--org.scrashmeow.ojb.console.GeneratedObject
        |
        +--org.scrashmeow.ojb.console.config.repository.WidgetDescriptor
All Implemented Interfaces:
java.io.Serializable

public class WidgetDescriptor
extends GeneratedObject
implements java.io.Serializable

Class WidgetDescriptor.

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

Constructor Summary
WidgetDescriptor()
           
 
Method Summary
 void addWidgetParam(int index, WidgetParam vWidgetParam)
          Method addWidgetParam
 void addWidgetParam(WidgetParam vWidgetParam)
          Method addWidgetParam
 void clearWidgetParam()
          Method clearWidgetParam
 java.util.Enumeration enumerateWidgetParam()
          Method enumerateWidgetParam
 java.lang.String getId()
          Method getIdReturns the value of field 'id'.
 WidgetParam[] getWidgetParam()
          Method getWidgetParam
 WidgetParam getWidgetParam(int index)
          Method getWidgetParam
 int getWidgetParamCount()
          Method getWidgetParamCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeWidgetParam(WidgetParam vWidgetParam)
          Method removeWidgetParam
 void setId(java.lang.String id)
          Method setIdSets the value of field 'id'.
 void setWidgetParam(int index, WidgetParam vWidgetParam)
          Method setWidgetParam
 void setWidgetParam(WidgetParam[] widgetParamArray)
          Method setWidgetParam
static WidgetDescriptor unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetDescriptor

public WidgetDescriptor()
Method Detail

addWidgetParam

public void addWidgetParam(WidgetParam vWidgetParam)
                    throws java.lang.IndexOutOfBoundsException
Method addWidgetParam

Parameters:
vWidgetParam -
java.lang.IndexOutOfBoundsException

addWidgetParam

public void addWidgetParam(int index,
                           WidgetParam vWidgetParam)
                    throws java.lang.IndexOutOfBoundsException
Method addWidgetParam

Parameters:
index -
vWidgetParam -
java.lang.IndexOutOfBoundsException

clearWidgetParam

public void clearWidgetParam()
Method clearWidgetParam


enumerateWidgetParam

public java.util.Enumeration enumerateWidgetParam()
Method enumerateWidgetParam


getId

public java.lang.String getId()
Method getIdReturns the value of field 'id'.

Returns:
the value of field 'id'.

getWidgetParam

public WidgetParam getWidgetParam(int index)
                           throws java.lang.IndexOutOfBoundsException
Method getWidgetParam

Parameters:
index -
java.lang.IndexOutOfBoundsException

getWidgetParam

public WidgetParam[] getWidgetParam()
Method getWidgetParam


getWidgetParamCount

public int getWidgetParamCount()
Method getWidgetParamCount


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

removeWidgetParam

public boolean removeWidgetParam(WidgetParam vWidgetParam)
Method removeWidgetParam

Parameters:
vWidgetParam -

setId

public void setId(java.lang.String id)
Method setIdSets the value of field 'id'.

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

setWidgetParam

public void setWidgetParam(int index,
                           WidgetParam vWidgetParam)
                    throws java.lang.IndexOutOfBoundsException
Method setWidgetParam

Parameters:
index -
vWidgetParam -
java.lang.IndexOutOfBoundsException

setWidgetParam

public void setWidgetParam(WidgetParam[] widgetParamArray)
Method setWidgetParam

Parameters:
widgetParamArray -

unmarshal

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

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


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.