org.kohsuke.stapler.export
Class SchemaGenerator

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

public class SchemaGenerator
extends java.lang.Object

Generates XML Schema that describes the XML representation of exported beans.

Author:
Kohsuke Kawaguchi

Constructor Summary
SchemaGenerator(Model<?> m)
           
 
Method Summary
 void add(java.lang.Class<?> c)
          Adds the schema for the XML representation of the given class.
 void generateSchema(javax.xml.transform.Result r)
          Generates the complete schema to the specified result.
 javax.xml.namespace.QName getXmlTypeName(java.lang.Class<?> t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaGenerator

public SchemaGenerator(Model<?> m)
Method Detail

generateSchema

public void generateSchema(javax.xml.transform.Result r)
Generates the complete schema to the specified result.


add

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


getXmlTypeName

public javax.xml.namespace.QName getXmlTypeName(java.lang.Class<?> t)


Copyright © 2011. All Rights Reserved.