org.jvnet.ws.wadl2java
Interface Resolver
public interface Resolver
This is a simple interface to replace reference to the S2JJAXModel
class that is passed around to resolve QName element or URI references
to type references.
- Author:
- gdavison
resolve
com.sun.codemodel.JType resolve(Object element)
- Parameters:
element - The element to resolve, can be a QName in the case
of a JAX-B xml definition or a URI in the case of a JSON-Schema
reference
- Returns:
- the java type that is used to represent this element, might
actually be a XmlType rather than a XmlElement
resolveURI
URI resolveURI(AbstractNode context,
String path)
- Parameters:
context - The object that we are loading relative to
- Returns:
- A URI relative to the base URI of the document that context
is loaded from
isThereJsonMapping
boolean isThereJsonMapping()
- Do we need to configure the client for JSON
- Returns:
- true if required
Copyright © 2014. All Rights Reserved.