Class JAXBSchemaOutputResolver

  • All Implemented Interfaces:
    org.eclipse.persistence.internal.oxm.schema.SchemaModelOutputResolver

    public class JAXBSchemaOutputResolver
    extends java.lang.Object
    implements org.eclipse.persistence.internal.oxm.schema.SchemaModelOutputResolver
    Implementation of a SchemaModelOutputResolver that wraps a javax.xml.bind.SchemaOutputResolver instance.
    • Constructor Summary

      Constructors 
      Constructor Description
      JAXBSchemaOutputResolver​(javax.xml.bind.SchemaOutputResolver outputResolver)
      This constructor sets the underlying SchemaOutputResolver to be used during createOutput operation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.xml.transform.Result createOutput​(java.lang.String namespaceURI, java.lang.String suggestedFileName)
      Determines the location where a given schema file (of the given namespace URI) will be generated, and return it as a Result object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JAXBSchemaOutputResolver

        public JAXBSchemaOutputResolver​(javax.xml.bind.SchemaOutputResolver outputResolver)
        This constructor sets the underlying SchemaOutputResolver to be used during createOutput operation.
        Parameters:
        outputResolver -
    • Method Detail

      • createOutput

        public javax.xml.transform.Result createOutput​(java.lang.String namespaceURI,
                                                       java.lang.String suggestedFileName)
                                                throws java.io.IOException
        Determines the location where a given schema file (of the given namespace URI) will be generated, and return it as a Result object.
        Specified by:
        createOutput in interface org.eclipse.persistence.internal.oxm.schema.SchemaModelOutputResolver
        Parameters:
        namespaceURI -
        suggestedFileName -
        Returns:
        schema file as a Result object
        Throws:
        java.io.IOException