org.apache.xerces.impl.xs
Class XSDDescription

java.lang.Object
  |
  +--org.apache.xerces.util.XMLResourceIdentifierImpl
        |
        +--org.apache.xerces.impl.xs.XSDDescription
All Implemented Interfaces:
org.apache.xerces.xni.grammars.XMLGrammarDescription, org.apache.xerces.xni.XMLResourceIdentifier

public class XSDDescription
extends XMLResourceIdentifierImpl
implements org.apache.xerces.xni.grammars.XMLGrammarDescription


Field Summary
static short CONTEXT_ATTRIBUTE
          Indicate that the parse of the current schema document is triggered by the occurrence of an attribute whose namespace is the target namespace of this schema document.
static short CONTEXT_ELEMENT
          Indicate that the parse of the current schema document is triggered by the occurrence of an element whose namespace is the target namespace of this schema document.
static short CONTEXT_IMPORT
          Indicate that the current schema document is ed by another schema document.
static short CONTEXT_INCLUDE
          Indicate that the current schema document is d by another schema document.
static short CONTEXT_INSTANCE
          Indicate that the parse of the current schema document is triggered by xsi:schemaLocation/noNamespaceSchemaLocation attribute(s) in the instance document.
static short CONTEXT_PREPARSE
          Indicate that the current schema document is being preparsed.
static short CONTEXT_REDEFINE
          Indicate that the current schema document is d by another schema document.
static short CONTEXT_XSITYPE
          Indicate that the parse of the current schema document is triggered by the occurrence of an "xsi:type" attribute, whose value (a QName) has the target namespace of this schema document as its namespace.
 
Fields inherited from class org.apache.xerces.util.XMLResourceIdentifierImpl
fBaseSystemId, fExpandedSystemId, fLiteralSystemId, fPublicId
 
Fields inherited from interface org.apache.xerces.xni.grammars.XMLGrammarDescription
XML_DTD, XML_SCHEMA
 
Constructor Summary
XSDDescription()
           
 
Method Summary
 java.lang.String getGrammarType()
          the type of the grammar (e.g., DTD or XSD);
 
Methods inherited from class org.apache.xerces.util.XMLResourceIdentifierImpl
clear, getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getPublicId, hashCode, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setPublicId, setValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.xerces.xni.XMLResourceIdentifier
getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getPublicId
 

Field Detail

CONTEXT_INCLUDE

public static final short CONTEXT_INCLUDE
Indicate that the current schema document is d by another schema document.

CONTEXT_REDEFINE

public static final short CONTEXT_REDEFINE
Indicate that the current schema document is d by another schema document.

CONTEXT_IMPORT

public static final short CONTEXT_IMPORT
Indicate that the current schema document is ed by another schema document.

CONTEXT_PREPARSE

public static final short CONTEXT_PREPARSE
Indicate that the current schema document is being preparsed.

CONTEXT_INSTANCE

public static final short CONTEXT_INSTANCE
Indicate that the parse of the current schema document is triggered by xsi:schemaLocation/noNamespaceSchemaLocation attribute(s) in the instance document. This value is only used if we don't defer the loading of schema documents.

CONTEXT_ELEMENT

public static final short CONTEXT_ELEMENT
Indicate that the parse of the current schema document is triggered by the occurrence of an element whose namespace is the target namespace of this schema document. This value is only used if we do defer the loading of schema documents until a component from that namespace is referenced from the instance.

CONTEXT_ATTRIBUTE

public static final short CONTEXT_ATTRIBUTE
Indicate that the parse of the current schema document is triggered by the occurrence of an attribute whose namespace is the target namespace of this schema document. This value is only used if we do defer the loading of schema documents until a component from that namespace is referenced from the instance.

CONTEXT_XSITYPE

public static final short CONTEXT_XSITYPE
Indicate that the parse of the current schema document is triggered by the occurrence of an "xsi:type" attribute, whose value (a QName) has the target namespace of this schema document as its namespace. This value is only used if we do defer the loading of schema documents until a component from that namespace is referenced from the instance.
Constructor Detail

XSDDescription

public XSDDescription()
Method Detail

getGrammarType

public java.lang.String getGrammarType()
the type of the grammar (e.g., DTD or XSD);
Specified by:
getGrammarType in interface org.apache.xerces.xni.grammars.XMLGrammarDescription
See Also:
Grammar


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