| java.lang.Object org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser org.apache.xerces.impl.xs.traversers.XSDElementTraverser
XSDElementTraverser | class XSDElementTraverser extends XSDAbstractTraverser (Code) | | The element declaration schema component traverser.
Content: (annotation?, ((simpleType | complexType)?, (unique | key | keyref)*))
author: Sandy Gao, IBM version: $Id: XSDElementTraverser.java 469584 2006-10-31 17:57:34Z mrglavas $ |
Method Summary | |
void | reset(SymbolTable symbolTable, boolean validateAnnotations) | XSElementDecl | traverseGlobal(Element elmDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar) Traverse a globally declared element. | XSParticleDecl | traverseLocal(Element elmDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent) Traverse a locally declared element (or an element reference).
To handle the recursive cases efficiently, we delay the traversal
and return an empty particle node. | protected void | traverseLocal(XSParticleDecl particle, Element elmDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent, String[] localNSDecls) Traverse a locally declared element (or an element reference).
This is the real traversal method. | XSElementDecl | traverseNamedElement(Element elmDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal, XSObject parent) Traverse a globally declared element. |
fDeferTraversingLocalElements | boolean fDeferTraversingLocalElements(Code) | | |
traverseLocal | XSParticleDecl traverseLocal(Element elmDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent)(Code) | | Traverse a locally declared element (or an element reference).
To handle the recursive cases efficiently, we delay the traversal
and return an empty particle node. We'll fill in this particle node
later after we've done with all the global declarations.
This method causes a number of data structures in the schema handler to be filled in.
Parameters: elmDecl - Parameters: schemaDoc - Parameters: grammar - the particle |
traverseLocal | protected void traverseLocal(XSParticleDecl particle, Element elmDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent, String[] localNSDecls)(Code) | | Traverse a locally declared element (or an element reference).
This is the real traversal method. It's called after we've done with
all the global declarations.
Parameters: index - |
traverseNamedElement | XSElementDecl traverseNamedElement(Element elmDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal, XSObject parent)(Code) | | Traverse a globally declared element.
Parameters: elmDecl - Parameters: attrValues - Parameters: schemaDoc - Parameters: grammar - Parameters: isGlobal - the element declaration |
Methods inherited from org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser | void checkNotationType(String refName, XSTypeDefinition typeDecl, Element elem)(Code)(Java Doc) protected XSParticleDecl checkOccurrences(XSParticleDecl particle, String particleName, Element parent, int allContextFlags, long defaultVals)(Code)(Java Doc) void reportSchemaError(String key, Object[] args, Element ele)(Code)(Java Doc) void reset(SymbolTable symbolTable, boolean validateAnnotations)(Code)(Java Doc) XSAnnotationImpl traverseAnnotationDecl(Element annotationDecl, Object[] parentAttrs, boolean isGlobal, XSDocumentInfo schemaDoc)(Code)(Java Doc) Element traverseAttrsAndAttrGrps(Element firstAttr, XSAttributeGroupDecl attrGrp, XSDocumentInfo schemaDoc, SchemaGrammar grammar, XSComplexTypeDecl enclosingCT)(Code)(Java Doc) FacetInfo traverseFacets(Element content, XSSimpleType baseValidator, XSDocumentInfo schemaDoc)(Code)(Java Doc) XSAnnotationImpl traverseSyntheticAnnotation(Element annotationParent, String initialContent, Object[] parentAttrs, boolean isGlobal, XSDocumentInfo schemaDoc)(Code)(Java Doc)
|
|
|