org.apache.ws.jaxme.xs.jaxb.impl
Class JAXBSimpleTypeImpl
java.lang.Object
org.apache.ws.jaxme.xs.jaxb.impl.JAXBSimpleTypeImpl
- JAXBSimpleType, XSSimpleType
public class JAXBSimpleTypeImpl
extends java.lang.Object
JAXBSimpleTypeImpl
protected JAXBSimpleTypeImpl(XSType pMyType,
XSSimpleType pBaseType)
throws SAXException
Creates a new instance of JAXBSimpleTypeImpl.
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.
- getPattern in interface XSSimpleType
isAtomic
public boolean isAtomic()
Returns whether the simple type is atomic.
- isAtomic in interface XSSimpleType
isList
public boolean isList()
Returns whether the simple type is a list.
- isList in interface XSSimpleType
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
.
- isRestriction in interface XSSimpleType
isUnion
public boolean isUnion()
Returns whether the simple type is a union.
- isUnion in interface XSSimpleType