Class SchemaGenerator

java.lang.Object
org.kohsuke.stapler.export.SchemaGenerator

public class SchemaGenerator extends Object
Generates XML Schema that describes the XML representation of exported beans.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • SchemaGenerator

      public SchemaGenerator(Model<?> m)
  • Method Details

    • generateSchema

      public void generateSchema(Result r)
      Generates the complete schema to the specified result.
    • add

      public void add(Class<?> c)
      Adds the schema for the XML representation of the given class.
    • getXmlTypeName

      public QName getXmlTypeName(Class<?> t)