org.abstracthorizon.danube.webdav.xml.dav
Class DAVNamespace

java.lang.Object
  extended by org.abstracthorizon.danube.webdav.xml.dav.DAVNamespace
All Implemented Interfaces:
XMLParserHandler

public class DAVNamespace
extends Object
implements XMLParserHandler

DAV namespace.

Author:
Daniel Sendula

Field Summary
static String DAV_NAMESPACE_PREFERRED_PREFIX
          Namespace prefered prefix
static String DAV_NAMESPACE_URL
          Namespace URL
protected  DAVFactory davFactory
          Factory
 
Constructor Summary
DAVNamespace()
          Constructor
 
Method Summary
 Object end(Object current, String tag, String value)
          End tag handling
 DAVFactory getDAVFactory()
          Retruns factory
 String getPreferredPrefix()
          Returns DAV_NAMESPACE_PREFERRED_PREFIX
 String getURLString()
          Returns DAV_NAMESPACE_URL
 void setDAVFactory(DAVFactory factory)
          Sets factory
 Object start(Object current, String tag, Attributes attributes)
          Start tag handling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DAV_NAMESPACE_URL

public static final String DAV_NAMESPACE_URL
Namespace URL

See Also:
Constant Field Values

DAV_NAMESPACE_PREFERRED_PREFIX

public static final String DAV_NAMESPACE_PREFERRED_PREFIX
Namespace prefered prefix

See Also:
Constant Field Values

davFactory

protected DAVFactory davFactory
Factory

Constructor Detail

DAVNamespace

public DAVNamespace()
Constructor

Method Detail

getDAVFactory

public DAVFactory getDAVFactory()
Retruns factory

Returns:
factory

setDAVFactory

public void setDAVFactory(DAVFactory factory)
Sets factory

Parameters:
factory - factory

getURLString

public String getURLString()
Returns DAV_NAMESPACE_URL

Returns:
DAV_NAMESPACE_URL

getPreferredPrefix

public String getPreferredPrefix()
Returns DAV_NAMESPACE_PREFERRED_PREFIX

Returns:
DAV_NAMESPACE_PREFERRED_PREFIX

start

public Object start(Object current,
                    String tag,
                    Attributes attributes)
             throws SAXException
Start tag handling

Specified by:
start in interface XMLParserHandler
Parameters:
current - current object
tag - tag
attributes - tag attributes
Returns:
new object
Throws:
SAXException - sax exception

end

public Object end(Object current,
                  String tag,
                  String value)
           throws SAXException
End tag handling

Specified by:
end in interface XMLParserHandler
Parameters:
current - current object
tag - tag
value - tag's value
Returns:
new object
Throws:
SAXException - sax exception


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