XML Schema inferred from gathered XML data.
Type Params | Return Type | Name and description |
---|---|---|
|
static XmlAnySimpleType |
expandTypeForValue(java.lang.String value, 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 XmlAnySimpleType |
getBlankType() Get the XmlAnySimpleType that describes a simple value that is empty. |
|
static XmlAnySimpleType |
getType(java.lang.String typeName) Get the instance of the XmlAnySimpleType with the type xs: |
|
static XmlAnySimpleType |
inferSimpleType(java.lang.String value) Given a simple value, infers the type of the value. |
|
static boolean |
validateSimpleType(java.lang.String value, XmlAnySimpleType type) Validates a string against an XmlAnySimpleType. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Given a value and a type, a new type will be returned that validates values for both the given type, and the new value.
value
- The new value to expand the type for.baseType
- The type to be expanded.Get the XmlAnySimpleType that describes a simple value that is empty.
Get the instance of the XmlAnySimpleType with the type xs:
Given a simple value, infers the type of the value.
value
- The value to assign a type to.Validates a string against an XmlAnySimpleType.
value
- The value to validate.type
- The XmlAnySimpleType to validate against.