protected class AbstractSchemaValidationTube.MetadataResolverImpl extends Object implements SDDocumentResolver, LSResourceResolver
Modifier and Type | Field and Description |
---|---|
(package private) Map<String,SDDocument> |
docs |
(package private) Map<String,SDDocument> |
nsMapping |
Constructor and Description |
---|
MetadataResolverImpl() |
MetadataResolverImpl(Iterable<SDDocument> it) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addSchema(Source schema) |
(package private) void |
addSchemas(Collection<? extends Source> schemas) |
SDDocument |
resolve(String systemId)
returns
SDDocument for the give systemId. |
LSInput |
resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String baseURI) |
final Map<String,SDDocument> docs
final Map<String,SDDocument> nsMapping
public MetadataResolverImpl()
public MetadataResolverImpl(Iterable<SDDocument> it)
void addSchema(Source schema)
void addSchemas(Collection<? extends Source> schemas)
public SDDocument resolve(String systemId)
SDDocumentResolver
SDDocument
for the give systemId.resolve
in interface SDDocumentResolver
systemId
- document's systemIdpublic LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
resolveResource
in interface LSResourceResolver
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.