<include>
or
<redefined>
information items). If any of the schemas imports a
schema, other grammars may be constructed as a side-effect.
Modifier and Type | Class and Description |
---|---|
private static class | |
private static class | XSDHandler.
Grammar pool used for validating annotations. |
private static class | XSDHandler.
used to identify a reference to a schema document if the same document is referenced twice with the same key, then we only need to parse it once. |
Modifier and Type | Field and Description |
---|---|
protected static final String | ALLOW_JAVA_ENCODINGS
Feature identifier: allow java encodings |
pack-priv static final int | |
pack-priv static final int | |
private static final String[] | |
private static final String[] | |
protected static final String | CONTINUE_AFTER_FATAL_ERROR
Feature identifier: continue after fatal error |
protected static final boolean | |
protected static final String | DISALLOW_DOCTYPE
Feature: disallow doctype |
private static final String[] | |
pack-priv static final int | |
protected static final String | ENTITY_MANAGER
Property identifier: entity manager. |
public static final String | ENTITY_RESOLVER
Property identifier: entity resolver. |
protected static final String | ERROR_HANDLER
Property identifier: error handler. |
public static final String | ERROR_REPORTER
Property identifier: error reporter. |
private String | |
private String | |
private int[] | |
private List | |
pack-priv XML11Configuration | |
private XSAttributeChecker | |
pack-priv XSDAttributeGroupTraverser | |
pack-priv XSDAttributeTraverser | |
private String | |
pack-priv XSDComplexTypeTraverser | |
protected XSDeclarationPool | |
private String | |
private Map | |
private Map | |
private Map | |
pack-priv SchemaDVFactory | |
pack-priv XSDElementTraverser | |
private XMLEntityManager | |
private XMLErrorHandler | |
private XMLErrorReporter | |
pack-priv SymbolHash | |
pack-priv SymbolHash | |
pack-priv SymbolHash | |
pack-priv SymbolHash | |
pack-priv SymbolHash | |
pack-priv SymbolHash | |
pack-priv SymbolHash | |
private XSGrammarBucket | |
pack-priv XSDHandler. | |
private XMLGrammarPool | |
pack-priv XSDGroupTraverser | |
pack-priv Map | |
private boolean | |
private Map | |
private XSElementDecl[] | |
private String[][] | |
private Element[] | |
private XSDocumentInfo[] | |
private int | |
pack-priv XSDKeyrefTraverser | |
private boolean | |
private Locale | |
private Element[] | |
private XSDocumentInfo[] | |
private String[][] | |
private int | |
private Map | |
pack-priv boolean | |
pack-priv XSDNotationTraverser | |
private boolean | |
private XSObject[] | |
private XSParticleDecl[] | |
private String | |
private Map | |
private Map | |
private final Map | |
private final Map | |
private List | |
private String | |
private XSDocumentInfo | |
private XSDDescription | |
pack-priv SchemaDOMParser | |
protected XMLSecurityManager | |
private XMLSecurityPropertyManager | |
pack-priv XSDSimpleTypeTraverser | |
pack-priv StAXSchemaParser | |
private SymbolTable | |
pack-priv boolean | |
private Map | |
pack-priv XSDUniqueOrKeyTraverser | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private Map | |
private boolean | fUseCatalog
indicate whether Catalog should be used for resolving external resources |
private boolean | |
pack-priv XSDWildcardTraverser | |
pack-priv SchemaContentHandler | |
protected static final String | GENERATE_SYNTHETIC_ANNOTATIONS
Feature: generate synthetic annotations |
pack-priv static final int | |
protected static final String | HONOUR_ALL_SCHEMALOCATIONS
Feature identifier: honour all schemaLocations |
pack-priv static final int | |
private static final int | |
private static final int | |
private static final int | |
private static final int | |
protected static final String | JAXP_SCHEMA_SOURCE
Property identifier: JAXP schema source. |
protected static final String | LOCALE
Property identifier: locale. |
protected static final String | NAMESPACE_GROWTH
Feature identifier: namespace growth |
private static final String | NAMESPACE_PREFIXES
Feature identifier: namespace prefixes. |
pack-priv static final int | |
private static final String[][] | |
public static final String | |
private boolean | |
protected static final String | SECURITY_MANAGER
Property identifier: security manager. |
protected static final String | STANDARD_URI_CONFORMANT_FEATURE
Feature identifier: allow java encodings |
protected static final String | STRING_INTERNING
Feature identifier: string interning. |
public static final String | SYMBOL_TABLE
Property identifier: symbol table. |
protected static final String | TOLERATE_DUPLICATES
Feature identifier: tolerate duplicates |
pack-priv static final int | |
protected static final String | VALIDATE_ANNOTATIONS
Feature identifier: validate annotations. |
protected static final String | VALIDATION
Feature identifier: validation. |
private SimpleLocator | |
private static final String | XML_SECURITY_PROPERTY_MANAGER
Property identifier: Security property manager. |
public static final String | XMLGRAMMAR_POOL
Property identifier: grammar pool. |
protected static final String | XMLSCHEMA_VALIDATION
feature identifier: XML Schema validation |
Access | Constructor and Description |
---|---|
public | |
public |
Modifier and Type | Method and Description |
---|---|
pack-priv void | |
private void | |
pack-priv void | |
private void | |
private void | |
private void | |
pack-priv void | |
private void | |
pack-priv void | |
private void | |
pack-priv void | |
private void | |
pack-priv void | |
private void | |
private void | |
private void | |
pack-priv void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | addRelatedAttribute(XSAttributeDeclaration decl, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | addRelatedElement(XSElementDeclaration decl, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | addRelatedType(XSTypeDefinition type, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
protected void | |
private boolean | |
private boolean | |
private int | changeRedefineGroup(String originalQName, String elementSought, String newName, Element curr, XSDocumentInfo schemaDoc)
|
pack-priv void | checkForDuplicateNames(String qName, int declType, Map<String, Element> registry, Map<String, XSDocumentInfo> registry_sub, Element currComp, XSDocumentInfo currSchema)
This method makes sure that if this component is being redefined that it lives in the right schema. |
pack-priv void | |
protected XSDocumentInfo | |
private boolean | |
private void | |
private SchemaGrammar | |
private void | |
private String | |
public SimpleLocator | element2Locator(Element e)
Extract location information from an Element node, and create a new SimpleLocator object from such information. |
public 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. |
private String | |
private boolean | |
private List | |
private List | |
private void | |
private void | expandRelatedAttributeComponents(XSAttributeDeclaration decl, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | expandRelatedAttributeGroupComponents(XSAttributeGroupDefinition attrGroup, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | expandRelatedAttributeUseComponents(XSAttributeUse component, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | expandRelatedAttributeUsesComponents(XSObjectList attrUses, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | expandRelatedComplexTypeComponents(XSComplexTypeDecl type, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | |
private void | expandRelatedElementComponents(XSElementDeclaration decl, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | expandRelatedModelGroupComponents(XSModelGroup modelGroup, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | expandRelatedModelGroupDefinitionComponents(XSModelGroupDefinition modelGroupDef, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | expandRelatedParticleComponents(XSParticle component, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | expandRelatedSimpleTypeComponents(XSSimpleTypeDefinition type, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
private void | expandRelatedTypeComponents(XSTypeDefinition type, List<XSObject> componentList, String namespace, Map<String, List<String>> dependencies)
|
pack-priv void | fillInLocalElemInfo(Element elmDecl, XSDocumentInfo schemaDoc, int allContextFlags, XSObject parent, XSParticleDecl particle)
|
private List | |
protected SchemaGrammar | findGrammar(XSDDescription desc, boolean ignoreConflict)
First try to find a grammar in the bucket, if failed, consult the grammar pool. |
private String | |
private XSDocumentInfo | |
private XSDocumentInfo | |
public SchemaDVFactory | |
private Element | |
private List | |
private XSAttributeDecl | |
private XSAttributeGroupDecl | |
protected Object | |
protected Object | |
protected Object | |
protected Object | |
private XSElementDecl | |
private XSGroupDecl | |
private XSNotationDecl | |
private XSTypeDefinition | |
pack-priv SchemaGrammar | |
pack-priv Object | getGrpOrAttrGrpRedefinedByRestriction(int type, QName name, XSDocumentInfo currSchema, Element elmNode)
|
private IdentityConstraint | |
protected Map | |
protected Map | |
private Element | Returns: A schema Element.getSchemaDocument method uses XMLInputSource to parse a schema document. |
private Element | Returns: A schema Element.getSchemaDocument method uses SAXInputSource to parse a schema document. |
private Element | Returns: A schema Element.getSchemaDocument method uses DOMInputSource to parse a schema document. |
private Element | Returns: A schema Element.getSchemaDocument method uses StAXInputSource to parse a schema document. |
private Element | Returns: A schema Element.getSchemaDocument method uses XMLInputSource to parse a schema document. |
private Element | getSchemaDocument0(XSDHandler.
Code shared between the various getSchemaDocument() methods which stores mapping information for the document. |
private Element | getSchemaDocument1(boolean mustResolve, boolean hasInput, XMLInputSource schemaSource, Element referElement, IOException ioe)
Error handling code shared between the various getSchemaDocument() methods. |
private SchemaGrammar | |
private boolean | |
private final boolean | |
private boolean | |
private String | |
public SchemaGrammar | Returns: the SchemaGrammarThis method initiates the parse of a schema. |
pack-priv void | |
pack-priv void | |
private boolean | |
private void | renameRedefiningComponents(XSDocumentInfo currSchema, Element child, String componentType, String oldName, String newName)
|
pack-priv void | |
pack-priv void | |
pack-priv void | |
pack-priv void | |
pack-priv void | |
pack-priv void | |
private void | |
public void | |
protected void | |
private Element | Returns: A schema Element or null.resolveSchema method is responsible for resolving location of the schema (using XMLEntityResolver), and if it was successfully resolved getting the schema Document. |
private Element | resolveSchema(XMLInputSource schemaSource, XSDDescription desc, boolean mustResolve, Element referElement)
|
private XMLInputSource | resolveSchemaSource(XSDDescription desc, boolean mustResolve, Element referElement, boolean usePairs)
|
public String | |
public void | |
public void | |
public void | |
private void | |
protected void | |
protected Object | |
pack-priv void | |
protected void | |
private void | |
private void | |
private void | updateImportList(SchemaGrammar sg, List<SchemaGrammar> importedGrammars, List<String> namespaceList)
|
private void | updateImportListFor(SchemaGrammar grammar)
Namespace growth Go through the import list of a given grammar and for each imported grammar, check to see if the grammar bucket has a newer version. |
private void | updateImportListWith(SchemaGrammar newGrammar)
Namespace growth Go throuth the grammar bucket, and for each grammar in the bucket check the import list. |
private void |