|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.common.RequestedPropertiesImpl
Holds one property as part of the SELECT element.
Field Summary | |
protected boolean |
isAllProp
|
protected java.util.List |
propertyList
|
Constructor Summary | |
RequestedPropertiesImpl()
Default constructor |
|
RequestedPropertiesImpl(org.jdom.Element propElement)
Constructs a List of RequestedProperty from a <DAV:prop>
or <DAV:allprop> . |
Method Summary | |
void |
add(org.jdom.Element propElement)
Adds a List of RequestedProperty from a <DAV:prop>
or <DAV:allprop> . |
void |
addProperty(RequestedProperty prop)
Method addSelectedProperty |
boolean |
contains(NodeProperty property)
Checks, if the NodeProperty is a RequestedProperty |
boolean |
contains(java.lang.String name,
java.lang.String namespace)
Checks, if the property identified by name and namespace, is requested |
protected RequestedProperty |
createRequestedProperty(java.lang.String name,
java.lang.String namespacePrefix,
java.lang.String namespaceUri,
java.util.List content)
Creates a RequestedProperty from the given parameters. |
java.util.Iterator |
getRequestedProperties()
Method getRequestedProperties |
boolean |
isAllProp()
Method isAllProp |
java.util.Iterator |
iterator()
Returns an iterator for all selected properties |
void |
setIsAllProp(boolean isAllProp)
Set the isAllProp member. |
java.lang.String |
toString()
Method toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected boolean isAllProp
protected java.util.List propertyList
Constructor Detail |
public RequestedPropertiesImpl()
public RequestedPropertiesImpl(org.jdom.Element propElement) throws PropertyParseException
<DAV:prop>
or <DAV:allprop>
.
propElement
- <DAV:prop>
or
<DAV:allprop>
.
PropertyParseException
- if parsing the property fails for any reason.Method Detail |
public void add(org.jdom.Element propElement) throws PropertyParseException
<DAV:prop>
or <DAV:allprop>
.
propElement
- <DAV:prop>
or
<DAV:allprop>
.
PropertyParseException
- if parsing the property fails for any reason.protected RequestedProperty createRequestedProperty(java.lang.String name, java.lang.String namespacePrefix, java.lang.String namespaceUri, java.util.List content) throws PropertyParseException
name
- the name of the propery.namespacePrefix
- the namespace prefix of the propery.namespaceUri
- the namespace URI of the propery.
PropertyParseException
- if parsing the property fails for any reason.public java.util.Iterator iterator()
public java.util.Iterator getRequestedProperties()
getRequestedProperties
in interface RequestedProperties
java.lang.IllegalStateException
- when isAllProp == truepublic boolean isAllProp()
isAllProp
in interface RequestedProperties
public void setIsAllProp(boolean isAllProp)
setIsAllProp
in interface RequestedProperties
public boolean contains(java.lang.String name, java.lang.String namespace)
contains
in interface RequestedProperties
name
- name of the property to be checkednamespace
- namespace of the property to be checked
public boolean contains(NodeProperty property)
contains
in interface RequestedProperties
property
- NodeProperty to be checked
public java.lang.String toString()
public void addProperty(RequestedProperty prop)
prop
- a SelectedProperty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |