JBoss XML Binding 2.0.3.GA

org.jboss.xb.binding.sunday.unmarshalling
Interface SchemaBindingResolver

All Known Subinterfaces:
MutableSchemaResolver, MutableSchemaResolverWithQNameMapping
All Known Implementing Classes:
AbstractMutableSchemaResolver, DefaultSchemaResolver, MultiClassSchemaResolver

public interface SchemaBindingResolver

Version:
$Revision: 4858 $
Author:
Alexey Loubyansky

Method Summary
 String getBaseURI()
           
 SchemaBinding resolve(String nsUri, String elementName, String schemaLocation)
          Returns an instance of SchemaBinding corresponding to the namespace URI.
 LSInput resolveAsLSInput(String nsUri, String baseUri, String schemaLocation)
          This one is used to resolve imported schemas with
 void setBaseURI(String baseURI)
           
 

Method Detail

getBaseURI

String getBaseURI()

setBaseURI

void setBaseURI(String baseURI)

resolve

SchemaBinding resolve(String nsUri,
                      String elementName,
                      String schemaLocation)
Returns an instance of SchemaBinding corresponding to the namespace URI.

Parameters:
nsUri - - namespace URI of the element with the schema reference
elementName - - optional root element name
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

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

JBoss XML Binding 2.0.3.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.