org.apache.xerces.impl.xs.traversers
public class XSDHandler extends Object
Version: $Id: XSDHandler.java,v 1.92 2005/06/24 17:56:41 mrglavas Exp $
Field Summary | |
---|---|
protected static String | ALLOW_JAVA_ENCODINGS Feature identifier: allow java encodings |
protected static String | CONTINUE_AFTER_FATAL_ERROR Feature identifier: continue after fatal error |
protected static boolean | DEBUG_NODE_POOL |
protected static String | DISALLOW_DOCTYPE Feature: disallow doctype |
protected static String | ENTITY_MANAGER Property identifier: entity manager. |
static String | ENTITY_RESOLVER Property identifier: entity resolver. |
protected static String | ERROR_HANDLER Property identifier: error handler. |
static String | ERROR_REPORTER Property identifier: error reporter. |
protected XSDeclarationPool | fDeclPool |
protected Hashtable | fNotationRegistry |
protected static String | GENERATE_SYNTHETIC_ANNOTATIONS Feature: generate synthetic annotations |
protected static String | HONOUR_ALL_SCHEMALOCATIONS Feature identifier: honour all schemaLocations |
protected static String | JAXP_SCHEMA_SOURCE Property identifier: JAXP schema source. |
static String | REDEF_IDENTIFIER |
protected static String | SECURITY_MANAGER Property identifier: security manager. |
protected static String | STANDARD_URI_CONFORMANT_FEATURE Feature identifier: allow java encodings |
protected static String | STRING_INTERNING Feature identifier: string interning. |
static String | SYMBOL_TABLE Property identifier: symbol table. |
protected static String | VALIDATE_ANNOTATIONS Feature identifier: validate annotations. |
protected static String | VALIDATION Feature identifier: validation. |
static String | XMLGRAMMAR_POOL Property identifier: grammar pool. |
protected static String | XMLSCHEMA_VALIDATION feature identifier: XML Schema validation |
Constructor Summary | |
---|---|
XSDHandler() | |
XSDHandler(XSGrammarBucket gBucket) |
Method Summary | |
---|---|
protected void | buildGlobalNameRegistries() |
protected XSDocumentInfo | constructTrees(Element schemaRoot, String locationHint, XSDDescription desc) |
SimpleLocator | element2Locator(Element e)
Extract location information from an Element node, and create a
new SimpleLocator object from such information. |
boolean | element2Locator(Element e, SimpleLocator l)
Extract location information from an Element node, store such
information in the passed-in SimpleLocator object, then return
true. |
protected SchemaGrammar | findGrammar(XSDDescription desc)
First try to find a grammar in the bucket, if failed, consult the
grammar pool. |
protected Object | getGlobalDecl(XSDocumentInfo currSchema, int declType, QName declToTraverse, Element elmNode) |
protected Hashtable | getIDRegistry() |
protected Hashtable | getIDRegistry_sub() |
SchemaGrammar | parseSchema(XMLInputSource is, XSDDescription desc, Hashtable locationPairs)
This method initiates the parse of a schema. |
void | reset(XMLComponentManager componentManager) |
protected void | resolveKeyRefs() |
void | setDeclPool(XSDeclarationPool declPool) |
void | setGenerateSyntheticAnnotations(boolean state) |
protected void | storeKeyRef(Element keyrefToStore, XSDocumentInfo schemaDoc, XSElementDecl currElemDecl) |
protected void | traverseSchemas(ArrayList annotationInfo) |
Parameters: is desc locationPairs
Returns:
Throws: IOException
Parameters: state