org.abstracthorizon.danube.webdav.xml.dav.request.properties
Class GetContentType
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.GetContentType
- All Implemented Interfaces:
- XMLParserHandler
- Direct Known Subclasses:
- GetContentType, GetContentType, GetContentType
public class GetContentType
- extends RequestProperty
This class models WebDAV's getcontenttype request property tag
- Author:
- Daniel Sendula
contentType
protected String contentType
- Content type
GetContentType
public GetContentType(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
getContentType
public String getContentType()
- Returns content type
- Returns:
- content type
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.