public class WadlDefinitionContext extends AbstractDefinitionContext<RestService,DefinitionLoader,WadlInterfaceDefinition>
Constructor and Description |
---|
WadlDefinitionContext(String wadlUrl) |
WadlDefinitionContext(String url,
RestService iface) |
Modifier and Type | Method and Description |
---|---|
protected DefinitionLoader |
createDefinitionLoader(DefinitionCache restServiceDefinitionCache) |
protected DefinitionLoader |
createDefinitionLoader(String url) |
String |
export(String path) |
org.apache.xmlbeans.SchemaTypeSystem |
getSchemaTypeSystem() |
boolean |
hasSchemaTypes() |
protected WadlInterfaceDefinition |
loadDefinition(DefinitionLoader loader) |
WadlInterfaceDefinition |
regenerateWadl() |
getDefinitionCache, getDefinitionParts, getInterface, getInterfaceDefinition, getSchemaException, getSchemaTypeLoader, getUrl, isCached, isLoaded, load, load, loadIfNecessary, release, reload, setDefinition, setInterface, uncache
public WadlDefinitionContext(String url, RestService iface)
public WadlDefinitionContext(String wadlUrl)
protected DefinitionLoader createDefinitionLoader(DefinitionCache restServiceDefinitionCache)
createDefinitionLoader
in class AbstractDefinitionContext<RestService,DefinitionLoader,WadlInterfaceDefinition>
protected DefinitionLoader createDefinitionLoader(String url)
createDefinitionLoader
in class AbstractDefinitionContext<RestService,DefinitionLoader,WadlInterfaceDefinition>
protected WadlInterfaceDefinition loadDefinition(DefinitionLoader loader) throws Exception
loadDefinition
in class AbstractDefinitionContext<RestService,DefinitionLoader,WadlInterfaceDefinition>
Exception
public WadlInterfaceDefinition regenerateWadl()
public boolean hasSchemaTypes()
hasSchemaTypes
in interface DefinitionContext<RestService>
hasSchemaTypes
in class AbstractDefinitionContext<RestService,DefinitionLoader,WadlInterfaceDefinition>
public org.apache.xmlbeans.SchemaTypeSystem getSchemaTypeSystem() throws Exception
getSchemaTypeSystem
in class AbstractDefinitionContext<RestService,DefinitionLoader,WadlInterfaceDefinition>
Exception
Copyright © 2019. All Rights Reserved.