org.abstracthorizon.danube.webdav.xml.dav.response.properties
Class GetContentType

java.lang.Object
  extended by org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
      extended by org.abstracthorizon.danube.webdav.xml.dav.response.properties.GetContentType
All Implemented Interfaces:
XMLRenderer

public class GetContentType
extends ResponseProperty

This class models WebDAV's getcontenttype response tag

Author:
Daniel Sendula

Field Summary
protected  String contentType
          Content type
static String TAG_NAME
          Tag name
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
status
 
Constructor Summary
GetContentType(Status status)
          Constructor
GetContentType(String contentType)
          Constructgor
 
Method Summary
 String getContentType()
          Returns contnet type
 void render(PrintWriter writer, NamespacesProvider provider)
          Renders the tag
 String toString()
           
 
Methods inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
getStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_NAME

public static final String TAG_NAME
Tag name

See Also:
Constant Field Values

contentType

protected String contentType
Content type

Constructor Detail

GetContentType

public GetContentType(Status status)
Constructor

Parameters:
status - status

GetContentType

public GetContentType(String contentType)
Constructgor

Parameters:
contentType - content type
Method Detail

getContentType

public String getContentType()
Returns contnet type

Returns:
content type

toString

public String toString()
Overrides:
toString in class Object

render

public void render(PrintWriter writer,
                   NamespacesProvider provider)
Renders the tag

Parameters:
writer - writer
provider - namespace provider


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.