|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.tests.framework.testDescriptor.Configuration
public class Configuration
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 |
---|
public Configuration()
Method Detail |
---|
public java.lang.Object getChoiceValue()
public Marshal getMarshal()
public Unmarshal getUnmarshal()
public boolean isValid()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
-
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 marshalingpublic void setMarshal(Marshal marshal)
marshal
- the value of field 'marshal'.public void setUnmarshal(Unmarshal unmarshal)
unmarshal
- the value of field 'unmarshal'.public static Configuration unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schema
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |