public class WadlGeneratorJAXBGrammarGenerator extends AbstractWadlGeneratorGrammarGenerator<javax.xml.namespace.QName>
WadlGenerator
generates a XML Schema content model based on
referenced java beans.
Created on: Jun 22, 2011AbstractWadlGeneratorGrammarGenerator.HasType, AbstractWadlGeneratorGrammarGenerator.Pair, AbstractWadlGeneratorGrammarGenerator.WantsName<T>
WadlGenerator.Environment, WadlGenerator.ExternalGrammarDefinition, WadlGenerator.Resolver
_fap, _hasTypeWantsName, _providers, _resolvedType, _root, _seeAlso, _wadl, SPECIAL_GENERIC_TYPES
Constructor and Description |
---|
WadlGeneratorJAXBGrammarGenerator() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptMediaType(MediaType type) |
protected WadlGenerator.Resolver |
buildModelAndSchemas(java.util.Map<java.lang.String,ApplicationDescription.ExternalGrammar> extraFiles)
Build the JAXB model and generate the schemas based on tha data
|
protected AbstractWadlGeneratorGrammarGenerator.WantsName<javax.xml.namespace.QName> |
createParmWantsName(com.sun.research.ws.wadl.Param param) |
protected AbstractWadlGeneratorGrammarGenerator.WantsName<javax.xml.namespace.QName> |
createRepresentationWantsName(com.sun.research.ws.wadl.Representation rt) |
attachTypes, createApplication, createExternalGrammar, createMethod, createParam, createRequest, createRequestRepresentation, createResource, createResources, createResponses, getRequiredJaxbContextPath, init, parameter, setEnvironment, setWadlGeneratorDelegate
public boolean acceptMediaType(MediaType type)
acceptMediaType
in class AbstractWadlGeneratorGrammarGenerator<javax.xml.namespace.QName>
protected WadlGenerator.Resolver buildModelAndSchemas(java.util.Map<java.lang.String,ApplicationDescription.ExternalGrammar> extraFiles)
buildModelAndSchemas
in class AbstractWadlGeneratorGrammarGenerator<javax.xml.namespace.QName>
extraFiles
- protected AbstractWadlGeneratorGrammarGenerator.WantsName<javax.xml.namespace.QName> createParmWantsName(com.sun.research.ws.wadl.Param param)
createParmWantsName
in class AbstractWadlGeneratorGrammarGenerator<javax.xml.namespace.QName>
protected AbstractWadlGeneratorGrammarGenerator.WantsName<javax.xml.namespace.QName> createRepresentationWantsName(com.sun.research.ws.wadl.Representation rt)
createRepresentationWantsName
in class AbstractWadlGeneratorGrammarGenerator<javax.xml.namespace.QName>
Copyright © 2016 Oracle Corporation. All Rights Reserved.