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

pack-priv Class XSDAttributeTraverser

extends XSDAbstractTraverser
Class Inheritance
Imports
com.sun.org.apache.xerces.internal.impl.dv.InvalidDatatypeValueException, .ValidatedInfo, .XSSimpleType, com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar, .SchemaSymbols, .XSAnnotationImpl, .XSAttributeDecl, .XSAttributeUseImpl, .XSComplexTypeDecl, com.sun.org.apache.xerces.internal.impl.xs.util.XInt, .XSObjectListImpl, com.sun.org.apache.xerces.internal.util.DOMUtil, .XMLSymbols, com.sun.org.apache.xerces.internal.xni.QName, com.sun.org.apache.xerces.internal.xs.XSConstants, .XSObjectList, .XSTypeDefinition, org.w3c.dom.Element

The attribute declaration schema component traverser. <attribute default = string fixed = string form = (qualified | unqualified) id = ID name = NCName ref = QName type = QName use = (optional | prohibited | required) : optional {any attributes with non-schema namespace . . .}> Content: (annotation?, (simpleType?)) </attribute>
Authors
Sandy Gao, IBM, Neeraj Bajaj, Sun Microsystems, inc.

Field Summary

Inherited from com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDAbstractTraverser:
CHILD_OF_GROUPfAttrCheckerfSchemaHandlerfSymbolTablefValidateAnnotationsfValidationStateGROUP_REF_WITH_ALLNO_NAMENOT_ALL_CONTEXTPROCESSING_ALL_ELPROCESSING_ALL_GP

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
protected XSAttributeDecl
traverseGlobal(Element attrDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar)

protected XSAttributeUseImpl
traverseLocal(Element attrDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, XSComplexTypeDecl enclosingCT)

pack-priv XSAttributeDecl

Returns:

the attribute declaration index
traverseNamedAttr
(Element attrDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal, XSComplexTypeDecl enclosingCT)

Traverse a globally declared attribute.

Inherited from com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDAbstractTraverser:
checkNotationTypecheckOccurrencesgetSchemaTypeNamereportSchemaErrorreportSchemaWarningresettraverseAnnotationDecltraverseAttrsAndAttrGrpstraverseFacetstraverseSyntheticAnnotation

Constructor Detail

XSDAttributeTraverserback to summary
public XSDAttributeTraverser(XSDHandler handler, XSAttributeChecker gAttrCheck)

Method Detail

checkDefaultValidback to summary
pack-priv void checkDefaultValid(XSAttributeDecl attribute) throws InvalidDatatypeValueException
checkDefaultValidback to summary
pack-priv void checkDefaultValid(XSAttributeUseImpl attrUse) throws InvalidDatatypeValueException
traverseGlobalback to summary
protected XSAttributeDecl traverseGlobal(Element attrDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar)
traverseLocalback to summary
protected XSAttributeUseImpl traverseLocal(Element attrDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, XSComplexTypeDecl enclosingCT)
traverseNamedAttrback to summary
pack-priv XSAttributeDecl traverseNamedAttr(Element attrDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal, XSComplexTypeDecl enclosingCT)

Traverse a globally declared attribute.

Returns:XSAttributeDecl

the attribute declaration index