org.apache.ws.jaxme.xs
Interface XSSimpleType
- JAXBSimpleType
- AbstractAtomicType, AbstractListType, AbstractSimpleType, JAXBSimpleTypeImpl, JMChar, XSAnySimpleType, XSAnyURI, XSAtomicTypeRestrictionImpl, XSBase64Binary, XSBoolean, XSByte, XSDate, XSDateTime, XSDecimal, XSDouble, XSDuration, XSEntities, XSEntity, XSFloat, XSGDay, XSGMonth, XSGMonthDay, XSGYear, XSGYearMonth, XSHexBinary, XSID, XSIDREF, XSIDREFs, XSInt, XSInteger, XSLanguage, XSListTypeImpl, XSListTypeRestrictionImpl, XSLong, XSName, XSNCName, XSNegativeInteger, XSNMToken, XSNMTokens, XSNonNegativeInteger, XSNonPositiveInteger, XSNormalizedString, XSNotation, XSPositiveInteger, XSQName, XSShort, XSSimpleTypeImpl, XSSimpleTypeRestrictionImpl, XSString, XSTime, XSToken, XSUnionTypeImpl, XSUnionTypeRestrictionImpl, XSUnsignedByte, XSUnsignedInt, XSUnsignedLong, XSUnsignedShort
public interface XSSimpleType
Details of a simple type.
getAtomicType
public XSAtomicType getAtomicType()
Returns the atomic type details.
getEnumerations
public XSEnumeration[] getEnumerations()
Returns the values of the "enumeration" facets.
getListType
public XSListType getListType()
Returns the list type details.
getPattern
public String[][] getPattern()
Returns the value of the "pattern" facet or null, if the pattern has not been set.
The returned value is an array of pattern arrays. The latter arrays are the
patterns defined in one restriction step. These have to be combined by "OR".
The resulting, combined arrays are being grouped by an "AND". This is according to
http://www.w3.org/TR/xmlschema-2/index.html#rf-pattern, 4.3.4.3.
getRestrictedType
public XSType getRestrictedType()
If the simple type is a restriction, returns the restricted
simple type.
getUnionType
public XSUnionType getUnionType()
Returns the union type details.
isAtomic
public boolean isAtomic()
Returns whether the simple type is atomic.
isList
public boolean isList()
Returns whether the simple type is a list.
isRestriction
public boolean isRestriction()
Returns whether the type is a restriction of another
simple type. (Almost all simple types are, the exception being
the ur type
XSAnySimpleType
.
isUnion
public boolean isUnion()
Returns whether the simple type is a union.