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

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

public class GetContentLanguage
extends ResponseProperty

This class models WebDAV's getcontentlanguage response tag

Author:
Daniel Sendula

Field Summary
protected  String contentLanguage
          Content language
static String TAG_NAME
          Tag name
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
status
 
Constructor Summary
GetContentLanguage(Status status)
          Constructor
GetContentLanguage(String contentLanguage)
          Constructor
 
Method Summary
 String getContentLanguage()
          Get content language
 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

contentLanguage

protected String contentLanguage
Content language

Constructor Detail

GetContentLanguage

public GetContentLanguage(Status status)
Constructor

Parameters:
status - status

GetContentLanguage

public GetContentLanguage(String contentLanguage)
Constructor

Parameters:
contentLanguage - content language
Method Detail

getContentLanguage

public String getContentLanguage()
Get content language

Returns:
content language

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.