org.apache.xerces.impl.xs.psvi
Interface XSConstants


public interface XSConstants

This interface defines common constants for XML Schema APIs.

Version:
$Id: XSConstants.java,v 1.1 2002/05/13 21:31:34 sandygao Exp $
Author:
Elena Litani, IBM

Field Summary
static short ANNOTATION
          An annotation.
static short ATTRIBUTE_DECLARATION
          An attribute declaration XSAttributeDecl.
static short ATTRIBUTE_GROUP
          An attribute group
static short ATTRIBUTE_USE
          An attribute use definition
static short DERIVATION_EXTENSION
          XSTypeDefinition final set or XSElementDecl disallowed substitution group.
static short DERIVATION_LIST
          XSTypeDefinition final set.
static short DERIVATION_NONE
          XSTypeDefinition final set or XSElementDecl disallowed substitution group.
static short DERIVATION_RESTRICTION
          XSTypeDefinition final set or XSElementDecl disallowed substitution group.
static short DERIVATION_SUBSTITUTION
          XSTypeDefinition final set
static short DERIVATION_UNION
          XSTypeDefinition final set.
static short ELEMENT_DECLARATION
          An element declaration XSElementDecl.
static short IDENTITY_CONSTRAINT
          Identity constraint definition.
static short MODEL_GROUP
          A model group.
static short MODEL_GROUP_DEFINITION
          A model group definition
static short NOTATION_DECLARATION
          The object describes a notation declaration.
static short PARTICLE
          A particle.
static short SCOPE_ABSENT
          The scope has value of absent in the case of declarations within named model groups or attribute groups: their scope is determined when they are used in the construction of complex type definitions.
static short SCOPE_GLOBAL
          A {scope} of global identifies top-level declarations.
static short SCOPE_LOCAL
          Locally scoped declarations are available for use only within the complex type identified by the {scope} property.
static short TYPE_DEFINITION
          A complex type definition
static short VC_DEFAULT
          Indicates that there is a default value constraint.
static short VC_FIXED
          Indicates that there is a fixed value constraint for this attribute.
static short VC_NONE
          No value constraint
static short WILDCARD
          A wildcard.
 

Field Detail

ATTRIBUTE_DECLARATION

public static final short ATTRIBUTE_DECLARATION
An attribute declaration XSAttributeDecl.

See Also:
Constant Field Values

ELEMENT_DECLARATION

public static final short ELEMENT_DECLARATION
An element declaration XSElementDecl.

See Also:
Constant Field Values

TYPE_DEFINITION

public static final short TYPE_DEFINITION
A complex type definition

See Also:
Constant Field Values

ATTRIBUTE_USE

public static final short ATTRIBUTE_USE
An attribute use definition

See Also:
Constant Field Values

ATTRIBUTE_GROUP

public static final short ATTRIBUTE_GROUP
An attribute group

See Also:
Constant Field Values

MODEL_GROUP_DEFINITION

public static final short MODEL_GROUP_DEFINITION
A model group definition

See Also:
Constant Field Values

MODEL_GROUP

public static final short MODEL_GROUP
A model group.

See Also:
Constant Field Values

PARTICLE

public static final short PARTICLE
A particle.

See Also:
Constant Field Values

WILDCARD

public static final short WILDCARD
A wildcard.

See Also:
Constant Field Values

IDENTITY_CONSTRAINT

public static final short IDENTITY_CONSTRAINT
Identity constraint definition.

See Also:
Constant Field Values

NOTATION_DECLARATION

public static final short NOTATION_DECLARATION
The object describes a notation declaration.

See Also:
Constant Field Values

ANNOTATION

public static final short ANNOTATION
An annotation.

See Also:
Constant Field Values

DERIVATION_NONE

public static final short DERIVATION_NONE
XSTypeDefinition final set or XSElementDecl disallowed substitution group.

See Also:
Constant Field Values

DERIVATION_EXTENSION

public static final short DERIVATION_EXTENSION
XSTypeDefinition final set or XSElementDecl disallowed substitution group.

See Also:
Constant Field Values

DERIVATION_RESTRICTION

public static final short DERIVATION_RESTRICTION
XSTypeDefinition final set or XSElementDecl disallowed substitution group.

See Also:
Constant Field Values

DERIVATION_SUBSTITUTION

public static final short DERIVATION_SUBSTITUTION
XSTypeDefinition final set

See Also:
Constant Field Values

DERIVATION_UNION

public static final short DERIVATION_UNION
XSTypeDefinition final set.

See Also:
Constant Field Values

DERIVATION_LIST

public static final short DERIVATION_LIST
XSTypeDefinition final set.

See Also:
Constant Field Values

VC_NONE

public static final short VC_NONE
No value constraint

See Also:
Constant Field Values

VC_DEFAULT

public static final short VC_DEFAULT
Indicates that there is a default value constraint.

See Also:
Constant Field Values

VC_FIXED

public static final short VC_FIXED
Indicates that there is a fixed value constraint for this attribute.

See Also:
Constant Field Values

SCOPE_ABSENT

public static final short SCOPE_ABSENT
The scope has value of absent in the case of declarations within named model groups or attribute groups: their scope is determined when they are used in the construction of complex type definitions.

See Also:
Constant Field Values

SCOPE_GLOBAL

public static final short SCOPE_GLOBAL
A {scope} of global identifies top-level declarations.

See Also:
Constant Field Values

SCOPE_LOCAL

public static final short SCOPE_LOCAL
Locally scoped declarations are available for use only within the complex type identified by the {scope} property.

See Also:
Constant Field Values


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.