|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.tests.framework.testDescriptor.SchemaDifferencesType
public class SchemaDifferencesType
If you expect a non-zero number of differences when comparing schemas, add one of these elements and provide the FailureStep attribute to say which step this difference applies to.
Constructor Summary | |
---|---|
SchemaDifferencesType()
|
Method Summary | |
---|---|
java.math.BigDecimal |
getContent()
Returns the value of field 'content'. |
FailureStepType |
getFailureStep()
Returns the value of field 'failureStep'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setContent(java.math.BigDecimal content)
Sets the value of field 'content'. |
void |
setFailureStep(FailureStepType failureStep)
Sets the value of field 'failureStep'. |
static SchemaDifferencesType |
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 SchemaDifferencesType()
Method Detail |
---|
public java.math.BigDecimal getContent()
public FailureStepType getFailureStep()
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 setContent(java.math.BigDecimal content)
content
- the value of field 'content'.public void setFailureStep(FailureStepType failureStep)
failureStep
- the value of field 'failureStep'.public static SchemaDifferencesType 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 |