com.eviware.soapui.impl.wadl.inference.schema.content
Class EmptyContent
java.lang.Object
com.eviware.soapui.impl.wadl.inference.schema.content.EmptyContent
- All Implemented Interfaces:
- Content
public class EmptyContent
- extends java.lang.Object
- implements Content
EmptyContent may not have any content, be it simpe or complex.
- 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.EmptyContentConfig |
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 |
EmptyContent
public EmptyContent(Schema schema,
boolean completed)
EmptyContent
public EmptyContent(com.eviware.soapui.inferredSchema.EmptyContentConfig xml,
Schema schema)
save
public com.eviware.soapui.inferredSchema.EmptyContentConfig save()
- Description copied from interface:
Content
- Save the Content to an XmlObject.
- Specified by:
save
in interface Content
toString
public java.lang.String toString(java.lang.String attrs)
- Specified by:
toString
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
Copyright © 2005-2009 eviware.com. All Rights Reserved.