org.exolab.castor.tests.framework.testDescriptor
Class Configuration

java.lang.Object
  extended by org.exolab.castor.tests.framework.testDescriptor.Configuration
All Implemented Interfaces:
java.io.Serializable

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

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

Constructor Summary
Configuration()
           
 
Method Summary
 java.lang.Object getChoiceValue()
          Returns the value of field 'choiceValue'.
 Marshal getMarshal()
          Returns the value of field 'marshal'.
 Unmarshal getUnmarshal()
          Returns the value of field 'unmarshal'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setMarshal(Marshal marshal)
          Sets the value of field 'marshal'.
 void setUnmarshal(Unmarshal unmarshal)
          Sets the value of field 'unmarshal'.
static Configuration 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

Configuration

public Configuration()
Method Detail

getChoiceValue

public java.lang.Object getChoiceValue()
Returns the value of field 'choiceValue'. The field 'choiceValue' has the following description: Internal choice value storage

Returns:
the value of field 'ChoiceValue'.

getMarshal

public Marshal getMarshal()
Returns the value of field 'marshal'.

Returns:
the value of field 'Marshal'.

getUnmarshal

public Unmarshal getUnmarshal()
Returns the value of field 'unmarshal'.

Returns:
the value of field 'Unmarshal'.

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

setMarshal

public void setMarshal(Marshal marshal)
Sets the value of field 'marshal'.

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

setUnmarshal

public void setUnmarshal(Unmarshal unmarshal)
Sets the value of field 'unmarshal'.

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

unmarshal

public static Configuration unmarshal(java.io.Reader reader)
                               throws MarshalException,
                                      ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled org.exolab.castor.tests.framework.testDescriptor.Configuratio
Throws:
MarshalException - if object is null or if any SAXException is thrown during marshaling
ValidationException - if this object is an invalid instance according to the schema

validate

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


Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com