Class MultiXSDSchemaCollector

java.lang.Object
javax.xml.bind.SchemaOutputResolver
com.peterphi.std.util.jaxb.MultiXSDSchemaCollector

public class MultiXSDSchemaCollector extends javax.xml.bind.SchemaOutputResolver
Handles the logic of creating a MultiXSD
  • Constructor Details

    • MultiXSDSchemaCollector

      public MultiXSDSchemaCollector()
  • Method Details

    • createOutput

      public Result createOutput(String namespaceURI, String suggestedFileName) throws IOException
      Specified by:
      createOutput in class javax.xml.bind.SchemaOutputResolver
      Throws:
      IOException
    • withLoosenXmlAnyConstraints

      public MultiXSDSchemaCollector withLoosenXmlAnyConstraints(boolean value)
    • encode

      public MultiXSDSchemaFiles encode()
      Produces an XML Schema or a Stdlib SchemaFiles document containing the XML Schemas
      Returns: