| Modifier and Type | Field and Description | 
|---|---|
| static short | NSCONSTRAINT_ANYNamespace Constraint: any namespace is allowed. | 
| static short | NSCONSTRAINT_LISTNamespace Constraint: namespaces in the list are allowed. | 
| static short | NSCONSTRAINT_NOTNamespace Constraint: namespaces in the list are not allowed. | 
| static short | PC_LAXIf the item, or any items among its [children] is an element 
 information item, has a uniquely determined declaration available, it 
 must be valid with respect to that definition, that is, validate 
 where you can and do not worry when you cannot. | 
| static short | PC_SKIPNo constraints at all: the item must simply be well-formed XML. | 
| static short | PC_STRICTThere must be a top-level declaration for the item available, or the 
 item must have an xsi:type, and the item must be valid as appropriate. | 
| Modifier and Type | Method and Description | 
|---|---|
| XSAnnotation | getAnnotation()An annotation if it exists, otherwise  null. | 
| XSObjectList | getAnnotations()A sequence of [annotations] or an empty  XSObjectList. | 
| short | getConstraintType()Namespace constraint: A constraint type: any, not, list. | 
| StringList | getNsConstraintList()Namespace constraint: For  constraintTypeNSCONSTRAINT_LIST, the list contains allowed namespaces. | 
| short | getProcessContents()[process contents]: one of skip, lax or strict. | 
getName, getNamespace, getNamespaceItem, getTypestatic final short NSCONSTRAINT_ANY
static final short NSCONSTRAINT_NOT
static final short NSCONSTRAINT_LIST
static final short PC_STRICT
static final short PC_SKIP
static final short PC_LAX
short getConstraintType()
StringList getNsConstraintList()
constraintType 
 NSCONSTRAINT_LIST, the list contains allowed namespaces. 
 For constraintType NSCONSTRAINT_NOT, the 
 list contains disallowed namespaces. For constraintType 
 NSCONSTRAINT_ANY, the StringList is empty.short getProcessContents()
PC_LAX, PC_SKIP and 
 PC_STRICT.XSAnnotation getAnnotation()
null. If not null
 then the first [annotation] from the sequence of annotations.XSObjectList getAnnotations()
XSObjectList.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.