Fields Summary |
---|
public static final short | NSCONSTRAINT_ANYNamespace Constraint: any namespace is allowed. |
public static final short | NSCONSTRAINT_NOTNamespace Constraint: namespaces in the list are not allowed. |
public static final short | NSCONSTRAINT_LISTNamespace Constraint: namespaces in the list are allowed. |
public static final 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. |
public static final short | PC_SKIPNo constraints at all: the item must simply be well-formed XML. |
public static final 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. |
Methods Summary |
---|
public XSAnnotation | getAnnotation()An annotation if it exists, otherwise null . If not null
then the first [annotation] from the sequence of annotations.
|
public XSObjectList | getAnnotations()A sequence of [annotations] or an empty XSObjectList .
|
public short | getConstraintType()Namespace constraint: A constraint type: any, not, list.
|
public StringList | getNsConstraintList()Namespace constraint: For 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.
|
public short | getProcessContents()[process contents]: one of skip, lax or strict. Valid constants values
are: PC_LAX , PC_SKIP and
PC_STRICT .
|