Interface J2SJAXBModel

  • All Superinterfaces:
    JAXBModel

    @Deprecated(since="4.0",
                forRemoval=true)
    public interface J2SJAXBModel
    extends JAXBModel
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use com.sun.tools.jxc.api.J2SJAXBModel instead.
    JAXBModel that exposes additional information available only for the java -> schema direction.
    Author:
    Kohsuke Kawaguchi
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void generateEpisodeFile​(Result output)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generates the episode file from the model.
      void generateSchema​(jakarta.xml.bind.SchemaOutputResolver outputResolver, ErrorListener errorListener)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generates the schema documents from the model.
      QName getXmlTypeName​(Reference javaType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the name of the XML Type bound to the specified Java type.
    • Method Detail

      • generateSchema

        void generateSchema​(jakarta.xml.bind.SchemaOutputResolver outputResolver,
                            ErrorListener errorListener)
                     throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Generates the schema documents from the model.
        Parameters:
        outputResolver - this object controls the output to which schemas will be sent.
        Throws:
        IOException - if SchemaOutputResolver throws an IOException.
      • generateEpisodeFile

        void generateEpisodeFile​(Result output)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Generates the episode file from the model.

        The "episode file" is really just a JAXB customization file (but with vendor extensions, at this point), that can be used later with a schema compilation to support separate compilation.

        Parameters:
        output - This receives the generated episode file.
        Since:
        2.1