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

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

public class DisplayName
extends ResponseProperty

This class models WebDAV's displayname response tag

Author:
Daniel Sendula

Field Summary
protected  String displayName
          Display name
static String TAG_NAME
          Tag name
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
status
 
Constructor Summary
DisplayName(Status status)
          Constructor
DisplayName(String displayName)
          Constructor
 
Method Summary
 String getDisplayName()
          Returns display name
 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

displayName

protected String displayName
Display name

Constructor Detail

DisplayName

public DisplayName(Status status)
Constructor

Parameters:
status - status

DisplayName

public DisplayName(String displayName)
Constructor

Parameters:
displayName - display name
Method Detail

getDisplayName

public String getDisplayName()
Returns display name

Returns:
display name

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.