public static class XSDResourceImpl.SchemaLocator extends AdapterImpl implements XSDSchemaLocator
Adapter.Internal
target
Constructor and Description |
---|
SchemaLocator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAdapterForType(java.lang.Object type)
Returns
false |
XSDSchema |
locateSchema(XSDSchema xsdSchema,
java.lang.String namespaceURI,
java.lang.String rawSchemaLocationURI,
java.lang.String resolvedSchemaLocation)
Locate the schema for the given namespace.
|
getTarget, notifyChanged, setTarget, unsetTarget
public XSDSchema locateSchema(XSDSchema xsdSchema, java.lang.String namespaceURI, java.lang.String rawSchemaLocationURI, java.lang.String resolvedSchemaLocation)
XSDSchemaLocator
locateSchema
in interface XSDSchemaLocator
xsdSchema
- the schema containing the namespace reference.namespaceURI
- the namespace being resolved, i.e., XSDImport.getNamespace()
.rawSchemaLocationURI
- the suggested location of the namespace being resolved, i.e., XSDSchemaDirective.getSchemaLocation()
.resolvedSchemaLocation
- the resolved
suggested location of the namespace.XSDSchemaLocationResolver.resolveSchemaLocation(XSDSchema, String, String)
,
XSDConstants.resolveSchemaLocation(String,String,String)
public boolean isAdapterForType(java.lang.Object type)
AdapterImpl
false
isAdapterForType
in interface Adapter
isAdapterForType
in class AdapterImpl
type
- the type.false
AdapterFactory.isFactoryForType(java.lang.Object)