Class WebdavProperty
- java.lang.Object
-
- org.bedework.webdav.servlet.shared.WebdavProperty
-
- All Implemented Interfaces:
Serializable
public class WebdavProperty extends Object implements Serializable
One of these for each property in a request.- Author:
- Mike Douglass douglm rpi.edu
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebdavProperty.Attribute
-
Constructor Summary
Constructors Constructor Description WebdavProperty(QName tag, String pval)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttr(String name, String val)StringgetAttr(String name)List<WebdavProperty.Attribute>getAttrs()StringgetPval()QNamegetTag()booleanhasAttrs()voidsetPval(String val)StringtoString()
-
-
-
Method Detail
-
getTag
public QName getTag()
- Returns:
- QName tag name
-
setPval
public void setPval(String val)
- Parameters:
val- the value
-
getPval
public String getPval()
- Returns:
- String value
-
getAttrs
public List<WebdavProperty.Attribute> getAttrs()
- Returns:
- attribute list - never null
-
hasAttrs
public boolean hasAttrs()
- Returns:
- true if we have some attributes
-
-