|
||||||||||
| 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
public class StringType
A Java String.
| Constructor Summary | |
|---|---|
StringType()
|
|
StringType(String defaultValue)
|
|
| Method Summary | |
|---|---|
String |
getContent()
Returns the value of field 'content'. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setContent(String content)
Sets the value of field 'content'. |
static StringType |
unmarshal(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 StringType()
public StringType(String defaultValue)
| Method Detail |
|---|
public String getContent()
public boolean isValid()
public void marshal(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 schema
public void marshal(ContentHandler handler)
throws IOException,
MarshalException,
ValidationException
handler -
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(String content)
content - the value of field 'content'.
public static StringType unmarshal(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 schema
public 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 | |||||||||