org.abstracthorizon.danube.webdav.xml.dav.request.properties
Class GetContentLength
java.lang.Object
org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
org.abstracthorizon.danube.webdav.xml.dav.request.properties.RequestProperty
org.abstracthorizon.danube.webdav.xml.dav.request.properties.GetContentLength
- All Implemented Interfaces:
- XMLParserHandler
- Direct Known Subclasses:
- GetContentLength, GetContentLength, GetContentLength
public class GetContentLength
- extends RequestProperty
This class models WebDAV's getcontentlength tag
- Author:
- Daniel Sendula
contentLength
protected long contentLength
- Content length
GetContentLength
public GetContentLength(XMLParserHandler parent)
- Constructor
- Parameters:
parent
- parent parser handler
end
public Object end(Object current,
String tag,
String value)
throws SAXException
- Description copied from class:
AbstractSimpleXMLHandler
- Returns parent object and does nothing else
- Specified by:
end
in interface XMLParserHandler
- Overrides:
end
in class AbstractSimpleXMLHandler
- Parameters:
current
- current objecttag
- tagvalue
- tag value
- Returns:
- new object
- Throws:
SAXException
- sax exception
getContentLength
public long getContentLength()
- Returns content length
- Returns:
- content length
processResponse
public ResponseProperty processResponse(ResourceAdapter adapter,
Object resource)
- Returns
GetContentLength
- Overrides:
processResponse
in class RequestProperty
- Parameters:
adapter
- adapterresource
- resource
- Returns:
GetContentLength
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.