Top Description Fields Constructors Methods
org.apache.xerces.impl.xs.traversers

pack-priv Class XSDocumentInfo

extends Object
Class Inheritance
Imports
java.util.Stack, .Vector, org.apache.xerces.impl.validation.ValidationState, org.apache.xerces.impl.xs.SchemaNamespaceSupport, .SchemaSymbols, .XMLSchemaException, org.apache.xerces.impl.xs.util.XInt, org.apache.xerces.util.SymbolTable, org.w3c.dom.Document, .Element

Objects of this class hold all information pecular to a particular XML Schema document. This is needed because namespace bindings and other settings on the <schema/> element affect the contents of that schema document alone.
Author
Neil Graham, IBM
Version
$Id: XSDocumentInfo.java 705370 2008-10-16 21:43:38Z mrglavas $

Field Summary

Modifier and TypeField and Description
protected XSAnnotationInfo
protected boolean
protected boolean
protected XSAttributeChecker
protected short
protected short
pack-priv Vector<E>
protected boolean
protected SchemaNamespaceSupport
protected SchemaNamespaceSupport
private Vector<E>
protected Object[]
protected Element
pack-priv SymbolTable
pack-priv String
protected ValidationState
protected Stack<E>

Constructor Summary

AccessConstructor and Description
pack-priv
XSDocumentInfo(Element schemaRoot, XSAttributeChecker attrChecker, SymbolTable symbolTable)

Method Summary

Modifier and TypeMethod and Description
public void
addAllowedNS(String namespace)

pack-priv void
pack-priv void
pack-priv XSAnnotationInfo
pack-priv Object[]
public boolean
isAllowedNS(String namespace)

pack-priv final boolean
pack-priv void
pack-priv void
pack-priv void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

fAnnotationsback to summary
protected XSAnnotationInfo fAnnotations
fAreLocalAttributesQualifiedback to summary
protected boolean fAreLocalAttributesQualified
fAreLocalElementsQualifiedback to summary
protected boolean fAreLocalElementsQualified
fAttrCheckerback to summary
protected XSAttributeChecker fAttrChecker
fBlockDefaultback to summary
protected short fBlockDefault
fFinalDefaultback to summary
protected short fFinalDefault
fImportedNSback to summary
pack-priv Vector<E> fImportedNS
fIsChameleonSchemaback to summary
protected boolean fIsChameleonSchema
fNamespaceSupportback to summary
protected SchemaNamespaceSupport fNamespaceSupport
fNamespaceSupportRootback to summary
protected SchemaNamespaceSupport fNamespaceSupportRoot
fReportedTNSback to summary
private Vector<E> fReportedTNS
fSchemaAttrsback to summary
protected Object[] fSchemaAttrs
fSchemaElementback to summary
protected Element fSchemaElement
fSymbolTableback to summary
pack-priv SymbolTable fSymbolTable
fTargetNamespaceback to summary
pack-priv String fTargetNamespace
fValidationContextback to summary
protected ValidationState fValidationContext
SchemaNamespaceSupportStackback to summary
protected Stack<E> SchemaNamespaceSupportStack

Constructor Detail

XSDocumentInfoback to summary
pack-priv XSDocumentInfo(Element schemaRoot, XSAttributeChecker attrChecker, SymbolTable symbolTable) throws XMLSchemaException

Method Detail

addAllowedNSback to summary
public void addAllowedNS(String namespace)
addAnnotationback to summary
pack-priv void addAnnotation(XSAnnotationInfo info)
backupNSSupportback to summary
pack-priv void backupNSSupport(SchemaNamespaceSupport nsSupport)
getAnnotationsback to summary
pack-priv XSAnnotationInfo getAnnotations()
getSchemaAttrsback to summary
pack-priv Object[] getSchemaAttrs()
isAllowedNSback to summary
public boolean isAllowedNS(String namespace)
needReportTNSErrorback to summary
pack-priv final boolean needReportTNSError(String uri)
removeAnnotationsback to summary
pack-priv void removeAnnotations()
restoreNSSupportback to summary
pack-priv void restoreNSSupport()
returnSchemaAttrsback to summary
pack-priv void returnSchemaAttrs()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.