org.eclipse.webdav.dom
Class Conflict

java.lang.Object
  extended by org.eclipse.webdav.dom.ElementEditor
      extended by org.eclipse.webdav.dom.Conflict

public class Conflict
extends ElementEditor

An element editor for the WebDAV conflict element. See INTERNET-DRAFT draft-ietf-deltav-versioning-03.1 section 12.1.2 for the element's definition.

Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

See Also:
ConflictReportResponse

Field Summary
 
Fields inherited from class org.eclipse.webdav.dom.ElementEditor
DAV_NS, root, XML_NS_NAME, XML_NS_PREFIX, XML_PREFIX
 
Constructor Summary
Conflict(Element root)
          Creates a new editor on the given WebDAV conflict element.
 
Method Summary
 void addContributor(String contributor)
           
 String getCommonAncestor()
           
 Enumeration getContributors()
           
 String getHref()
           
 void setCommonAncestor(String commonAncestor)
           
 void setContributor(String contributor)
           
 void setHref(String href)
           
 
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
 

Constructor Detail

Conflict

public Conflict(Element root)
         throws MalformedElementException
Creates a new editor on the given WebDAV conflict element. The element is assumed to be well formed.

Parameters:
root - a conflict element
Throws:
MalformedElementException - if there is reason to believe that the element is not well formed
Method Detail

addContributor

public void addContributor(String contributor)

getCommonAncestor

public String getCommonAncestor()
                         throws MalformedElementException
Throws:
MalformedElementException

getContributors

public Enumeration getContributors()
                            throws MalformedElementException
Throws:
MalformedElementException

getHref

public String getHref()
               throws MalformedElementException
Throws:
MalformedElementException

setCommonAncestor

public void setCommonAncestor(String commonAncestor)

setContributor

public void setContributor(String contributor)

setHref

public void setHref(String href)


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.