public static interface WadlGenerator.Resolver
Modifier and Type | Method and Description |
---|---|
<T> T |
resolve(Class wadlType,
javax.ws.rs.core.MediaType mt,
Class<T> resolvedType) |
<T> T resolve(Class wadlType, javax.ws.rs.core.MediaType mt, Class<T> resolvedType)
resolvedType
- The type of the element to result, for XML Schema
this is going to be QName, for JSON Schema URI. If the resolver
doesn't recognise this type then it should return null.wadlType
- The type of the classmt
- The media type it needs to be resolve relative to.Copyright © 2017 Oracle Corporation. All rights reserved.