org.eclipse.xsd.util
Class XSDResourceImpl.SchemaLocator
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.xsd.util.XSDResourceImpl.SchemaLocator
- All Implemented Interfaces:
- Adapter, XSDSchemaLocator
- Enclosing class:
- XSDResourceImpl
- public static class XSDResourceImpl.SchemaLocator
- extends AdapterImpl
- implements XSDSchemaLocator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSDResourceImpl.SchemaLocator
public XSDResourceImpl.SchemaLocator()
locateSchema
public XSDSchema locateSchema(XSDSchema xsdSchema,
String namespaceURI,
String rawSchemaLocationURI,
String resolvedSchemaLocation)
- Description copied from interface:
XSDSchemaLocator
- Locate the schema for the given namespace.
- Specified by:
locateSchema in interface XSDSchemaLocator
- Parameters:
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.
- Returns:
- the resolved schema.
- See Also:
XSDSchemaLocationResolver.resolveSchemaLocation(XSDSchema xsdSchema,String,String),
XSDConstants.resolveSchemaLocation(String,String,String)
isAdapterForType
public boolean isAdapterForType(Object type)
- Specified by:
isAdapterForType in interface Adapter