org.eclipse.webdav.dom
Class PropertyUpdate.Directive
java.lang.Object
org.eclipse.webdav.dom.ElementEditor
org.eclipse.webdav.dom.PropertyUpdate.Directive
- Enclosing class:
- PropertyUpdate
public class PropertyUpdate.Directive
- extends ElementEditor
An editor for a generic element that is a child of a WebDAV prop
element, which, in turn, is a child of a WebDAV set or remove
element.
Method Summary |
Element |
getProperty()
Returns this editor's underlying element, which may be any
generic element. |
boolean |
isRemove()
Returns true if this directive's property
decends from a WebDAV remove element and false
if it decends from a WebDAV set element. |
boolean |
isSet()
Returns true if this directive's property
decends from a WebDAV set element and false
if it decends from a WebDAV remove element. |
Methods inherited from class org.eclipse.webdav.dom.ElementEditor |
addChild, addChild, addChild, appendChild, appendChild, cloneNode, create, declareNS, decodeHref, encodeHref, ensure, ensure, ensureDAVElement, ensureDAVElement, ensureNotNull, ensureNull, ensureText, extractElement, extractNode, getChild, getChildElement, getChildText, getDAVChild, getElement, getFirstChild, getFirstChild, getFirstText, getLastChild, getNamespaces, getNamespaces, getNextSibling, getNextSibling, getNextSibling, getNSLocalName, getNSLocalName, getNSName, getNSPrefix, getNSPrefix, getQualifiedName, getSibling, getText, getTwin, hasChild, insertBefore, insertBefore, isDAVElement, isDAVElement, isElement, isText, makeNSStandalone, reduceNS, reduceNS, resolve, setChild, setChild, setChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyUpdate.Directive
public PropertyUpdate.Directive(Element element)
throws MalformedElementException
- Creates a new editor on the given element.
- Parameters:
element
- a generic element
- Throws:
MalformedElementException
- if there is reason
to believe that this editor's underlying
element is not well formed
getProperty
public Element getProperty()
throws MalformedElementException
- Returns this editor's underlying element, which may be any
generic element.
- Returns:
- this editor's underlying element
- Throws:
MalformedElementException
isRemove
public boolean isRemove()
throws MalformedElementException
- Returns
true
if this directive's property
decends from a WebDAV remove element and false
if it decends from a WebDAV set element.
- Returns:
- a boolean indicating whether this directive is a
remove or not
- Throws:
MalformedElementException
- if there is reason to
believe that this editor's underlying element is not
well formed
isSet
public boolean isSet()
throws MalformedElementException
- Returns
true
if this directive's property
decends from a WebDAV set element and false
if it decends from a WebDAV remove element.
- Returns:
- a boolean indicating whether this directive is a
set or not
- Throws:
MalformedElementException
- if there is reason to
believe that this editor's underlying element is not
well formed
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.