|
||||||||||
| 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.SimpleType
public class SimpleType
SimpleType corresponds to an instance of a xs:simpleType. Each element or attribute with a value of a specific xs:simpleType should have its own instance of SimpleType.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.eviware.soapui.impl.wadl.inference.schema.Type |
|---|
Type.Factory |
| Constructor Summary | |
|---|---|
SimpleType(Schema schema,
org.apache.xmlbeans.XmlAnySimpleType simpleType,
boolean completed)
|
|
SimpleType(com.eviware.soapui.inferredSchema.SimpleTypeConfig xml,
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.SimpleTypeConfig |
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 SimpleType(Schema schema,
org.apache.xmlbeans.XmlAnySimpleType simpleType,
boolean completed)
public SimpleType(com.eviware.soapui.inferredSchema.SimpleTypeConfig xml,
Schema schema)
| Method Detail |
|---|
public com.eviware.soapui.inferredSchema.SimpleTypeConfig save()
Type
save in interface Type
public Type validate(Context context)
throws org.apache.xmlbeans.XmlException
Type
validate in interface Typecontext - A Context object holding the current
org.apache.xmlbeans.XmlExceptionpublic java.lang.String toString()
toString in interface TypetoString in class java.lang.Objectpublic java.lang.String getName()
Type
getName in interface Typepublic Schema getSchema()
Type
getSchema in interface Typepublic void setSchema(Schema schema)
Type
setSchema in interface Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||