|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.tests.framework.testDescriptor.StringType
org.exolab.castor.tests.framework.testDescriptor.RootType
public class RootType
The definition of the Root Type in the object model. Contains two boolean attributes: random and dump. If random is set to true, a test using randomized objects will be executed. If dump is set to true, the object will be dumped to specific files.
Constructor Summary | |
---|---|
RootType()
|
Method Summary | |
---|---|
void |
deleteDump()
|
void |
deleteRandom()
|
java.lang.String |
getContent()
Returns the value of field 'content'. |
boolean |
getDump()
Returns the value of field 'dump'. |
boolean |
getRandom()
Returns the value of field 'random'. |
boolean |
hasDump()
Method hasDump. |
boolean |
hasRandom()
Method hasRandom. |
boolean |
isDump()
Returns the value of field 'dump'. |
boolean |
isRandom()
Returns the value of field 'random'. |
boolean |
isValid()
Method 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 |
setDump(boolean dump)
Sets the value of field 'dump'. |
void |
setRandom(boolean random)
Sets the value of field 'random'. |
static StringType |
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 RootType()
Method Detail |
---|
public void deleteDump()
public void deleteRandom()
public java.lang.String getContent()
getContent
in class StringType
public boolean getDump()
public boolean getRandom()
public boolean hasDump()
public boolean hasRandom()
public boolean isDump()
public boolean isRandom()
public boolean isValid()
isValid
in class StringType
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
marshal
in class StringType
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
marshal
in class StringType
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 setContent(java.lang.String content)
setContent
in class StringType
content
- the value of field 'content'.public void setDump(boolean dump)
dump
- the value of field 'dump'.public void setRandom(boolean random)
random
- the value of field 'random'.public static StringType 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
validate
in class StringType
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 |