This class only knows how to make XSDHandler do its thing. The caller must ensure that all its properties (schemaLocation, JAXPSchemaSource etc.) have been properly set.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected static final String | ALLOW_JAVA_ENCODINGS
Feature identifier: allow java encodings to be recognized when parsing schema docs. |
| protected static final String | |
| protected static final String | CONTINUE_AFTER_FATAL_ERROR
Feature identifier: continue after fatal error. |
| protected static final String | DISALLOW_DOCTYPE
Feature: disallow doctype |
| protected static final String | |
| 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 CMBuilder | |
| private XSDeclarationPool | |
| private SchemaDVFactory | |
| private XMLEntityManager | |
| private DOMErrorHandlerWrapper | fErrorHandler
DOM L3 error handler |
| private XMLErrorReporter | |
| private String | |
| private String | |
| private XSGrammarBucket | |
| private XMLGrammarPool | |
| private boolean | |
| private WeakHashMap | |
| private boolean | |
| private Object | |
| private final ParserConfigurationSettings | |
| private Locale | |
| private DOMStringList | |
| private DOMEntityResolverWrapper | fResourceResolver
DOM L3 resource resolver |
| private XSDHandler | |
| private boolean | |
| private SubstitutionGroupHandler | |
| private XMLEntityResolver | |
| private XSDDescription | |
| protected static final String | GENERATE_SYNTHETIC_ANNOTATIONS
Feature: generate synthetic annotations |
| protected static final String | HONOUR_ALL_SCHEMALOCATIONS
Feature identifier: honour all schemaLocations |
| 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 |
| protected static final String | |
| private static final String[] | |
| private static final String[] | |
| protected static final String | SCHEMA_DV_FACTORY
Property identifier: Schema DV Factory |
| protected static final String | SCHEMA_FULL_CHECKING
Feature identifier: schema full checking |
| protected static final String | SCHEMA_LOCATION
Property identifier: schema location. |
| protected static final String | SCHEMA_NONS_LOCATION
Property identifier: no namespace schema location. |
| protected static final String | |
| protected static final String | STANDARD_URI_CONFORMANT_FEATURE
Feature identifier: standard uri conformant feature. |
| public static final String | SYMBOL_TABLE
Property identifier: symbol table. |
| protected static final String | TOLERATE_DUPLICATES
Feature identifier: tolerate duplicates |
| protected static final String | VALIDATE_ANNOTATIONS
Feature identifier: validate annotations. |
| public static final String | XMLGRAMMAR_POOL
Property identifier: grammar pool. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv | XMLSchemaLoader(XMLErrorReporter errorReporter, XSGrammarBucket grammarBucket, SubstitutionGroupHandler sHandler, CMBuilder builder)
This constractor is used by the XMLSchemaValidator. |
| pack-priv | XMLSchemaLoader(SymbolTable symbolTable, XMLErrorReporter errorReporter, XMLEntityManager entityResolver, XSGrammarBucket grammarBucket, SubstitutionGroupHandler sHandler, CMBuilder builder)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canSetParameter(String
The name of the parameter to check. name, Object An object. if value)null, the returned value is
true.Implements org. |
| pack-priv XMLInputSource | |
| public DOMConfiguration | |
| public XMLEntityResolver | getEntityResolver()
Implements org. |
| public XMLErrorHandler | getErrorHandler()
Implements org. |
| public boolean | getFeature(String
The feature identifier. featureId)Implements org. |
| public Boolean | getFeatureDefault(String
The feature identifier. featureId)Implements org. |
| public XSElementDecl | |
| public Locale | getLocale()
Implements org. |
| public Object | getParameter(String
The name of the parameter. name)Implements org. |
| public DOMStringList | getParameterNames()
Implements org. DOMConfiguration object and for which at least one value
can be set by the application.
|
| public Object | getProperty(String
The property identifier. propertyId)Implements org. |
| public Object | getPropertyDefault(String
The property identifier. propertyId)Implements org. |
| public String[] | getRecognizedFeatures()
Implements org. |
| public String[] | getRecognizedProperties()
Implements org. |
| private void | |
| public XSModel | load(LSInput
The is)LSInput from which the source
document is to be read.Implements org. LSInput .
|
| public void | loadGrammar(XMLInputSource[]
the locations of the entity which forms
the staring point of the grammars to be constructed source)Returns a Grammar object by parsing the contents of the entities pointed to by sources. |
| public Grammar | loadGrammar(XMLInputSource
the location of the entity which forms
the starting point of the grammar to be constructed. source)Implements org. |
| public XSModel | loadInputList(LSInputList
The list of is)LSInputs from which the XML
Schema documents are to be read.Implements org. LSInputs.
|
| pack-priv SchemaGrammar | Returns: An XML Schema grammarThis method is called either from XMLGrammarLoader.loadGrammar or from XMLSchemaValidator. |
| public XSModel | loadURI(String
The location of the XML Schema document to be read. uri)Implements org. |
| public XSModel | loadURIList(StringList
The list of URI locations. uriList)Implements org. |
| private boolean | |
| public static void | |
| private void | processJAXPSchemaSource(Hashtable<K, V> locationPairs)
Translate the various JAXP SchemaSource property types to XNI XMLInputSource. |
| pack-priv void | |
| public void | reset(XMLComponentManager
The component manager. componentManager)Implements org. |
| public static XMLInputSource | Returns: the XMLInputSourceThis method tries to resolve location of the given schema. |
| private static XMLInputSource | |
| public void | setEntityResolver(XMLEntityResolver
The new entity resolver. entityResolver)Implements org. |
| public void | setErrorHandler(XMLErrorHandler
The error handler. errorHandler)Implements org. |
| public void | setFeature(String
The feature identifier. featureId, boolean The state of the feature. state)Implements org. |
| public void | setLocale(Locale
The locale object to use for localization of messages. locale)Implements org. |
| public void | setParameter(String
The name of the parameter to set. name, Object The new value or value)null if the user wishes to
unset the parameter. While the type of the value parameter is
defined as DOMUserData, the object type must match the
type defined by the definition of the parameter. For example, if
the parameter is "error-handler", the value must be of type
DOMErrorHandler.Implements org. |
| public void | setProperty(String
The property identifier. propertyId, Object The state of the property. state)Implements org. |
| public static boolean | |
| private XMLInputSource |