org.kohsuke.stapler.export
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaGenerator
public SchemaGenerator(Model<?> m)
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)
Copyright © 2010. All Rights Reserved.