|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eviware.soapui.impl.wadl.inference.schema.types.EmptyType
public class EmptyType
EmptyRtpe corresponds to an instance of a type with no attributes, nor any content.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.eviware.soapui.impl.wadl.inference.schema.Type |
---|
Type.Factory |
Constructor Summary | |
---|---|
EmptyType(com.eviware.soapui.inferredSchema.EmptyTypeConfig xml,
Schema schema)
|
|
EmptyType(Schema schema)
|
Method Summary | |
---|---|
java.lang.String |
getName()
Return the name for the type, not including namespace prefix. |
Schema |
getSchema()
Getter for the schema in which the element/attribute with this type lives. |
com.eviware.soapui.inferredSchema.EmptyTypeConfig |
save()
Serialize instance to XmlObject. |
void |
setSchema(Schema schema)
Setter for the schema in which this type lives. |
java.lang.String |
toString()
|
Type |
validate(Context context)
Validate an element/attribute with this type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EmptyType(Schema schema)
public EmptyType(com.eviware.soapui.inferredSchema.EmptyTypeConfig xml, Schema schema)
Method Detail |
---|
public com.eviware.soapui.inferredSchema.EmptyTypeConfig save()
Type
save
in interface Type
public java.lang.String getName()
Type
getName
in interface Type
public Schema getSchema()
Type
getSchema
in interface Type
public void setSchema(Schema schema)
Type
setSchema
in interface Type
public Type validate(Context context) throws org.apache.xmlbeans.XmlException
Type
validate
in interface Type
context
- A Context object holding the current
org.apache.xmlbeans.XmlException
public java.lang.String toString()
toString
in interface Type
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |