|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eviware.soapui.impl.wadl.inference.support.TypeInferrer
public class TypeInferrer
XML Schema inferred from gathered XML data.
| Method Summary | |
|---|---|
static org.apache.xmlbeans.XmlAnySimpleType |
expandTypeForValue(java.lang.String value,
org.apache.xmlbeans.XmlAnySimpleType baseType)
Given a value and a type, a new type will be returned that validates values for both the given type, and the new value. |
static org.apache.xmlbeans.XmlAnySimpleType |
getBlankType()
Get the XmlAnySimpleType that describes a simple value that is empty. |
static org.apache.xmlbeans.XmlAnySimpleType |
getType(java.lang.String typeName)
Get the instance of the XmlAnySimpleType with the type xs: |
static org.apache.xmlbeans.XmlAnySimpleType |
inferSimpleType(java.lang.String value)
Given a simple value, infers the type of the value. |
static boolean |
validateSimpleType(java.lang.String value,
org.apache.xmlbeans.XmlAnySimpleType type)
Validates a string against an XmlAnySimpleType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.apache.xmlbeans.XmlAnySimpleType getType(java.lang.String typeName)
typeName -
public static org.apache.xmlbeans.XmlAnySimpleType getBlankType()
public static org.apache.xmlbeans.XmlAnySimpleType expandTypeForValue(java.lang.String value,
org.apache.xmlbeans.XmlAnySimpleType baseType)
value - The new value to expand the type for.baseType - The type to be expanded.
public static org.apache.xmlbeans.XmlAnySimpleType inferSimpleType(java.lang.String value)
value - The value to assign a type to.
public static boolean validateSimpleType(java.lang.String value,
org.apache.xmlbeans.XmlAnySimpleType type)
value - The value to validate.type - The XmlAnySimpleType to validate against.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||