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

java.lang.Object
  extended by org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
      extended by org.abstracthorizon.danube.webdav.xml.dav.request.properties.RequestProperty
          extended by org.abstracthorizon.danube.webdav.xml.dav.request.properties.GetContentLanguage
All Implemented Interfaces:
XMLParserHandler

public class GetContentLanguage
extends RequestProperty

This class models WebDAV's getcontentlanguage tag

Author:
Daniel Sendula

Field Summary
protected static String cachedContentLanguage
          Cached local content language
protected  String contentLanguage
          Content language
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.properties.RequestProperty
CONSTRUCTOR_ARGUMENTS_CLASSES, logger, packageName
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
parent
 
Constructor Summary
GetContentLanguage(XMLParserHandler parent)
          Constructor
 
Method Summary
 Object end(Object current, String tag, String value)
          Returns parent object and does nothing else
 String getContentLanguage()
          Returns content language
 ResponseProperty processResponse(ResourceAdapter adapter, Object resource)
          Returns GetContentLanguage
 String toString()
           
 
Methods inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.properties.RequestProperty
constructResponse, processRemoveProperty, processSetProperty
 
Methods inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cachedContentLanguage

protected static String cachedContentLanguage
Cached local content language


contentLanguage

protected String contentLanguage
Content language

Constructor Detail

GetContentLanguage

public GetContentLanguage(XMLParserHandler parent)
Constructor

Parameters:
parent - parent parser handler
Method Detail

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 object
tag - tag
value - tag value
Returns:
new object
Throws:
SAXException - sax exception

getContentLanguage

public String getContentLanguage()
Returns content language

Returns:
content language

processResponse

public ResponseProperty processResponse(ResourceAdapter adapter,
                                        Object resource)
Returns GetContentLanguage

Overrides:
processResponse in class RequestProperty
Parameters:
adapter - adapter
resource - resource
Returns:
GetContentLanguage

toString

public String toString()
Overrides:
toString in class Object


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