com.eviware.soapui.impl.wadl.inference.schema
Interface Content

All Known Implementing Classes:
EmptyContent, SequenceContent, SimpleContent

public interface Content

This class represents the content of an XML element. It does not take into account any attributes that the element may have.

Author:
Dain Nilsson

Nested Class Summary
static class Content.Factory
          A static factory class for creating new instances.
 
Method Summary
 com.eviware.soapui.inferredSchema.ContentConfig 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.
 

Method Detail

validate

Content validate(Context context)
                 throws org.apache.xmlbeans.XmlException
Validates an XML document contained in a given Context object.

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

java.lang.String toString(java.lang.String attrs)

save

com.eviware.soapui.inferredSchema.ContentConfig save()
Save the Content to an XmlObject.



Copyright © 2005-2010 eviware.com. All Rights Reserved.