com.eviware.soapui.impl.wadl.inference.schema.content
Class SequenceContent
java.lang.Object
com.eviware.soapui.impl.wadl.inference.schema.content.SequenceContent
- All Implemented Interfaces:
- Content
public class SequenceContent
- extends java.lang.Object
- implements Content
SequenceContent represents an xs:sequence, xs:choice, or xs:all. It infers ordering and occurrences
of its children.
- Author:
- Dain Nilsson
Nested classes/interfaces inherited from interface com.eviware.soapui.impl.wadl.inference.schema.Content |
Content.Factory |
Method Summary |
com.eviware.soapui.inferredSchema.SequenceContentConfig |
save()
Save the Content to an XmlObject. |
java.lang.String |
toString(java.lang.String attrs)
|
Content |
validate(Context context)
Validates an XML document contained in a given Context object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceContent
public SequenceContent(Schema schema,
boolean completed)
SequenceContent
public SequenceContent(com.eviware.soapui.inferredSchema.SequenceContentConfig xml,
Schema schema)
save
public com.eviware.soapui.inferredSchema.SequenceContentConfig save()
- Description copied from interface:
Content
- Save the Content to an XmlObject.
- Specified by:
save
in interface Content
validate
public Content validate(Context context)
throws org.apache.xmlbeans.XmlException
- Description copied from interface:
Content
- Validates an XML document contained in a given Context object.
- Specified by:
validate
in interface Content
- Parameters:
context
- A Context object containing the XML data to be validated, and
other needed contextual variables.
- Returns:
- Returns a Content object that is valid for the element/attribute,
quite possibly this Content instance itself.
- Throws:
org.apache.xmlbeans.XmlException
toString
public java.lang.String toString(java.lang.String attrs)
- Specified by:
toString
in interface Content
Copyright © 2005-2010 eviware.com. All Rights Reserved.