|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectResolver
Method Summary | |
---|---|
UnapiFormats |
getFormats()
Provide the object formats which should be supported for all objects available through the unAPI service. |
UnapiFormats |
getFormats(java.lang.String id)
Provide a list of object formats available from the unAPI service for the object identified by id . |
UnapiObject |
getObject(java.lang.String id,
java.lang.String format)
Return an UnapiObject representing the object
specified by id in the format specified by
format . |
Method Detail |
---|
UnapiFormats getFormats() throws UnapiException
UnapiException
UnapiFormats getFormats(java.lang.String id) throws UnapiException
id
.
It is similar to the getFormats
response, but the
returned UnapiFormats object must have the requested id
set.
id
-
UnapiException
UnapiObject getObject(java.lang.String id, java.lang.String format) throws UnapiException
Return an UnapiObject
representing the object
specified by id
in the format specified by
format
.
Implementations should throw an IdentifierException
for requests for an identifier that is not available
on the server.
Implementations should throw a FormatException
for requests for an identifier that is available on the server in a
format that is not available for that identifier.
id
- format
-
UnapiException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |