All Known Implementing Classes:
SchemaPropertyImpl
In a schema type, every element with the same name must have the same type. Therefore, all together, elements with the same name form a coherent collection of similar elements. Similarly, attributes can only be defined once, so each attribute obviously is a coherent group on its own.
A SchemaProperty represents a summary of the the elements with a given name or the attribute with a given name. It represents the summary cardinality of the fields, the summary default and fixed values, and so on. When inferring information about an element or attribute, it is typically easier to consult then SchemaProperty than to hunt for the exact SchemaField in the particle tree or attribute model.
Field Summary | ||
---|---|---|
static final int | NEVER | Applies to no elements for this property. See #hasNillable , #hasDefault , #hasFixed |
static final int | VARIABLE | Applies to some, but not other elements for this property. See #hasNillable , #hasDefault , #hasFixed |
static final int | CONSISTENTLY | Applies to all elements for this property. See #hasNillable , #hasDefault , #hasFixed |
static final int | XML_OBJECT | An XML Bean type that inherits from XmlObject . See #getJavaTypeCode . |
static final int | JAVA_FIRST_PRIMITIVE | Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive. |
static final int | JAVA_BOOLEAN | A Java boolean. See #getJavaTypeCode . |
static final int | JAVA_FLOAT | A Java float. See #getJavaTypeCode . |
static final int | JAVA_DOUBLE | A Java double. See #getJavaTypeCode . |
static final int | JAVA_BYTE | A Java byte. See #getJavaTypeCode . |
static final int | JAVA_SHORT | A Java short. See #getJavaTypeCode . |
static final int | JAVA_INT | A Java int. See #getJavaTypeCode . |
static final int | JAVA_LONG | A Java long. See #getJavaTypeCode . |
static final int | JAVA_LAST_PRIMITIVE | Java primitive type codes (for non-nullable Java types) are between JAVA_FIRST_PRIMITIVE and JAVA_LAST_PRIMITIVE, inclusive. |
static final int | JAVA_BIG_DECIMAL | A java.math.BigDecimal . See #getJavaTypeCode . |
static final int | JAVA_BIG_INTEGER | A java.math.BigInteger . See #getJavaTypeCode . |
static final int | JAVA_STRING | A String . See #getJavaTypeCode . |
static final int | JAVA_BYTE_ARRAY | A byte[]. See #getJavaTypeCode . |
static final int | JAVA_GDATE | A GDate . See #getJavaTypeCode . |
static final int | JAVA_GDURATION | A GDuration . See #getJavaTypeCode . |
static final int | JAVA_DATE | A java.util.Date . See #getJavaTypeCode . |
static final int | JAVA_QNAME | A javax.xml.namespace.QName . See #getJavaTypeCode . |
static final int | JAVA_LIST | A java.util.List . See #getJavaTypeCode . |
static final int | JAVA_CALENDAR | A java.util.Calendar . See #getJavaTypeCode . |
static final int | JAVA_ENUM | A generated StringEnumAbstractBase subclass. See #getJavaTypeCode . |
static final int | JAVA_OBJECT | A java.lang.Object , used for some simple type unions. See #getJavaTypeCode . |
static final int | JAVA_USER | A user specified type. |
Method from org.apache.xmlbeans.SchemaProperty Summary: |
---|
acceptedNames, extendsJavaArray, extendsJavaOption, extendsJavaSingleton, getContainerType, getDefaultText, getDefaultValue, getJavaPropertyName, getJavaSetterDelimiter, getJavaTypeCode, getMaxOccurs, getMinOccurs, getName, getType, hasDefault, hasFixed, hasNillable, isAttribute, isReadOnly, javaBasedOnType |
Method from org.apache.xmlbeans.SchemaProperty Detail: |
---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|