org.jboss.xb.binding.sunday.unmarshalling
Interface SchemaBindingResolver
- All Known Implementing Classes:
- DefaultSchemaResolver
public interface SchemaBindingResolver
- Version:
- $Revision: 1.10 $
- Author:
- Alexey Loubyansky
getBaseURI
String getBaseURI()
setBaseURI
void setBaseURI(String baseURI)
resolve
SchemaBinding resolve(String nsUri,
String baseURI,
String schemaLocation)
- Returns an instance of SchemaBinding corresponding to the namespace URI.
- Parameters:
nsUri
- - namespace URI of the element with the schema referencebaseURI
- - an optional baseURI for resolving the schemaLocation.schemaLocation
- - the option schema location uri that matches
nsUri if one exists
- Returns:
- an instance of SchemaBinding correspnding to the namespace URI
or null if the namespace URI is not recognized (though, in this case it
could also throw an exception)
resolveAsLSInput
org.w3c.dom.ls.LSInput resolveAsLSInput(String nsUri,
String baseUri,
String schemaLocation)
- This one is used to resolve imported schemas with
- Parameters:
nsUri
- baseUri
- schemaLocation
-
- Returns:
- LIInput for the resolved namespace schema if found, null otherwise
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.