Class SchemaGenerator


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

      • SchemaGenerator

        public SchemaGenerator​(Model<?> m)
    • Method Detail

      • 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)