public class SchemaDocumentCache
extends java.lang.Object
A default SchemaCompiler is available as part of the EnterpriseConfiguration
| Constructor and Description |
|---|
SchemaDocumentCache(EnterpriseConfiguration config)
Create a SchemaCompiler
|
| Modifier and Type | Method and Description |
|---|---|
EnterpriseConfiguration |
getConfiguration()
Get the configuration
|
XSDSchema |
getExistingSchemaDocument(java.lang.String systemId,
java.lang.String targetNamespace)
Get the root element of the tree representing a schema document that has already been read
|
NamePool |
getNamePool()
Get the NamePool
|
void |
markAsRead(java.lang.String systemId,
XSDSchema schema)
Mark a document as having been read
|
public SchemaDocumentCache(EnterpriseConfiguration config)
config - the Saxon Configurationpublic EnterpriseConfiguration getConfiguration()
public NamePool getNamePool()
public void markAsRead(java.lang.String systemId,
XSDSchema schema)
systemId - the URI of the schema document that has been readschema - the root element of the schema document constructed from this URIpublic XSDSchema getExistingSchemaDocument(java.lang.String systemId, java.lang.String targetNamespace)
systemId - the URI of the required schema documenttargetNamespace - the expected namespace. If the schema document was previously read
but chameleoned into a different namespace, we read it againCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.