org.apache.cxf.jibx.tools
Class JibxSchemaResolver

java.lang.Object
  extended by org.apache.cxf.jibx.tools.JibxSchemaResolver
All Implemented Interfaces:
org.jibx.schema.ISchemaResolver

public class JibxSchemaResolver
extends Object
implements org.jibx.schema.ISchemaResolver

A Wrapper class that acts as a wrapper when passing schema instances to JiBX code generation framework.


Constructor Summary
JibxSchemaResolver(String id, org.apache.ws.commons.schema.XmlSchema schema, SchemaCollection collection)
           
 
Method Summary
 InputStream getContent()
           
 String getId()
           
 String getName()
           
 org.jibx.schema.ISchemaResolver resolve(String loc, String tns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JibxSchemaResolver

public JibxSchemaResolver(String id,
                          org.apache.ws.commons.schema.XmlSchema schema,
                          SchemaCollection collection)
Method Detail

getContent

public InputStream getContent()
                       throws IOException
Specified by:
getContent in interface org.jibx.schema.ISchemaResolver
Throws:
IOException

getId

public String getId()
Specified by:
getId in interface org.jibx.schema.ISchemaResolver

getName

public String getName()
Specified by:
getName in interface org.jibx.schema.ISchemaResolver

resolve

public org.jibx.schema.ISchemaResolver resolve(String loc,
                                               String tns)
                                        throws IOException
Specified by:
resolve in interface org.jibx.schema.ISchemaResolver
Throws:
IOException


Apache CXF