org.abstracthorizon.danube.webdav.xml.dav.request
Class PropFind

java.lang.Object
  extended by org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
      extended by org.abstracthorizon.danube.webdav.xml.dav.DAVAbstractXMLParser
          extended by org.abstracthorizon.danube.webdav.xml.dav.request.PropFind
All Implemented Interfaces:
XMLParserHandler

public class PropFind
extends DAVAbstractXMLParser

This class models WebDAV's propfind tag

Author:
Daniel Sendula

Field Summary
protected  boolean allprop
          All props flag
protected  RequestProp prop
          Request property
protected  boolean propname
          Properties names only tag
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.DAVAbstractXMLParser
davFactory
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler
parent
 
Constructor Summary
PropFind(XMLParserHandler parent, DAVFactory davFactory)
          Constructor
 
Method Summary
 Object end(Object current, String tag, String value)
          Returns parent object and does nothing else
 RequestProp getProp()
          Returns request property
 boolean isAllprop()
          Returns allprop flag
 boolean isPropname()
          Returns propname flag
 void setAllprop(boolean allprop)
          Sets allprop flag
 void setPropname(boolean propname)
          Sets propname flag
 Object start(Object current, String tag, Attributes attributes)
          Returns current object and does nothing else
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

allprop

protected boolean allprop
All props flag


propname

protected boolean propname
Properties names only tag


prop

protected RequestProp prop
Request property

Constructor Detail

PropFind

public PropFind(XMLParserHandler parent,
                DAVFactory davFactory)
Constructor

Parameters:
parent - parent parser handler
davFactory - factory
Method Detail

start

public Object start(Object current,
                    String tag,
                    Attributes attributes)
             throws SAXException
Description copied from class: AbstractSimpleXMLHandler
Returns current object and does nothing else

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

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

setAllprop

public void setAllprop(boolean allprop)
Sets allprop flag

Parameters:
allprop - allprop flag

isAllprop

public boolean isAllprop()
Returns allprop flag

Returns:
allprop flag

setPropname

public void setPropname(boolean propname)
Sets propname flag

Parameters:
propname - propname flag

isPropname

public boolean isPropname()
Returns propname flag

Returns:
propname flag

getProp

public RequestProp getProp()
Returns request property

Returns:
request property

toString

public String toString()
Overrides:
toString in class Object


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