com.aetrion.flickr.uploader
Class UploaderResponse
java.lang.Object
com.aetrion.flickr.uploader.UploaderResponse
- All Implemented Interfaces:
- Response
public class UploaderResponse
- extends java.lang.Object
- implements Response
Parsing the response after an upload.
- Version:
- $Id: UploaderResponse.java,v 1.7 2007/11/02 21:46:52 x-mago Exp $
- Author:
- Anthony Eden
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UploaderResponse
public UploaderResponse()
parse
public void parse(org.w3c.dom.Document document)
- Parsing the response.
After a successful sychronous upload the photId is set.
After an asychronous upload the ticketId.
- Specified by:
parse
in interface Response
- See Also:
getPhotoId()
,
getTicketId()
getStatus
public java.lang.String getStatus()
getPhotoId
public java.lang.String getPhotoId()
getTicketId
public java.lang.String getTicketId()
isError
public boolean isError()
- Specified by:
isError
in interface Response
getErrorCode
public java.lang.String getErrorCode()
- Specified by:
getErrorCode
in interface Response
getErrorMessage
public java.lang.String getErrorMessage()
- Specified by:
getErrorMessage
in interface Response
getPayload
public org.w3c.dom.Element getPayload()
- Specified by:
getPayload
in interface Response
- See Also:
Response.getPayload()
getPayloadCollection
public java.util.Collection getPayloadCollection()
- Specified by:
getPayloadCollection
in interface Response
- See Also:
Response.getPayloadCollection()
Copyright (C) 2005-2007 Aetrion LLC. All Rights Reserved.