|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.webdav.xml.dav.request.AbstractSimpleXMLHandler org.abstracthorizon.danube.webdav.xml.dav.DAVAbstractXMLParser org.abstracthorizon.danube.webdav.xml.dav.RequestProp
public class RequestProp
This class parses request properties
Field Summary | |
---|---|
protected List<RequestProperty> |
properties
List of properties |
static int |
REMOVE
Remove property |
static int |
SET
Set property |
protected int |
type
Temporary storage for a property type |
static int |
UNDEFINED
Undefined action |
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 | |
---|---|
protected |
RequestProp()
Constructor |
|
RequestProp(XMLParserHandler parent,
DAVFactory davFactory)
Constructor |
|
RequestProp(XMLParserHandler parent,
DAVFactory davFactory,
boolean set)
Constructor |
Method Summary | |
---|---|
Object |
end(Object current,
String tag,
String value)
Returns parent object and does nothing else |
List<RequestProperty> |
getProperties()
Returns list of request properties |
int |
getType()
Returns type |
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 |
---|
public static final int UNDEFINED
public static final int SET
public static final int REMOVE
protected List<RequestProperty> properties
protected int type
Constructor Detail |
---|
protected RequestProp()
public RequestProp(XMLParserHandler parent, DAVFactory davFactory)
parent
- parent parser handlerdavFactory
- factorypublic RequestProp(XMLParserHandler parent, DAVFactory davFactory, boolean set)
parent
- parent parser handlerdavFactory
- factoryset
- type of property - SET
or REMOVE
Method Detail |
---|
public Object start(Object current, String tag, Attributes attributes) throws SAXException
AbstractSimpleXMLHandler
start
in interface XMLParserHandler
start
in class AbstractSimpleXMLHandler
current
- current objecttag
- tagattributes
- attribtues
SAXException
- sax exceptionpublic Object end(Object current, String tag, String value) throws SAXException
AbstractSimpleXMLHandler
end
in interface XMLParserHandler
end
in class AbstractSimpleXMLHandler
current
- current objecttag
- tagvalue
- tag value
SAXException
- sax exceptionpublic int getType()
public List<RequestProperty> getProperties()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |