public final class XSList extends XSListType
Modifier and Type | Field and Description |
---|---|
static short |
TYPE
Type number of this XSType.
|
ANYURI_TYPE, BASE64BINARY_TYPE, BOOLEAN_TYPE, BYTE_TYPE, CLASS, COLLECTION, DATE_TYPE, DATETIME_TYPE, DECIMAL_TYPE, DOUBLE_TYPE, DURATION_TYPE, ENTITIES, ENTITY, FLOAT_TYPE, GDAY_TYPE, GMONTH_TYPE, GMONTHDAY_TYPE, GYEAR_TYPE, GYEARMONTH_TYPE, HEXBINARY_TYPE, ID_TYPE, IDREF_TYPE, IDREFS_TYPE, INT_TYPE, INTEGER_TYPE, LANGUAGE_TYPE, LONG_TYPE, NAME_TYPE, NCNAME_TYPE, NEGATIVE_INTEGER_TYPE, NMTOKEN_TYPE, NMTOKENS_TYPE, NON_NEGATIVE_INTEGER_TYPE, NON_POSITIVE_INTEGER_TYPE, NORMALIZEDSTRING_TYPE, NOTATION_TYPE, NULL, POSITIVE_INTEGER_TYPE, QNAME_TYPE, SHORT_TYPE, STRING_TYPE, TIME_TYPE, TOKEN_TYPE, UNSIGNED_BYTE_TYPE, UNSIGNED_INT_TYPE, UNSIGNED_LONG_TYPE, UNSIGNED_SHORT_TYPE
Constructor and Description |
---|
XSList(String colType,
XSType contentType,
boolean useJava50)
Create a XSList.
|
Modifier and Type | Method and Description |
---|---|
short |
getType()
Returns the type of this XSType.
|
boolean |
isDerivedFromXSList()
Indicates whether this
XSList instance has been created as a result
of a |
void |
setDerivedFromXSList(boolean derivedFromXSList)
Sets whether this
XSList instance has been created as a result
of a |
void |
validationCode(JSourceCode jsc,
String fixedValue,
String validatorInstanceName)
Creates the validation code for an instance of this XSType.
|
createFromJavaObjectCode, createToJavaObjectCode, getContentType, getJType, getMaximumSize, getMinimumSize, getName, isCollection, isDateTime, isPrimitive, newInstanceCode, setFacet, setMaximumSize, setMinimumSize
createDefaultValueWithString, isEnumerated, setAsEnumerated, setFacets
public static final short TYPE
public short getType()
public void validationCode(JSourceCode jsc, String fixedValue, String validatorInstanceName)
validationCode
in class XSType
jsc
- The JSourceCode to fill in.fixedValue
- A fixed value to use if any.validatorInstanceName
- The name of the FieldValidator that the configured
TypeValidator should be added to.public void setDerivedFromXSList(boolean derivedFromXSList)
XSList
instance has been created as a result
of a derivedFromXSList
- A boolean value, true or false.public boolean isDerivedFromXSList()
XSList
instance has been created as a result
of a derivedFromXSList
- True if this XSList instance has been created as a result
of a Copyright © 2016. All rights reserved.