org.eclipse.webdav.dom
Class Mkworkspace

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

public class Mkworkspace
extends ElementEditor

The mkworkspace element editor is simple since it is a placeholder for future enhancements and implementation specific arguments.

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.


Field Summary
 
Fields inherited from class org.eclipse.webdav.dom.ElementEditor
DAV_NS, root, XML_NS_NAME, XML_NS_PREFIX, XML_PREFIX
 
Constructor Summary
Mkworkspace(Element root)
          Mkworkspace constructor.
 
Method Summary
static Mkworkspace create(Document document)
          Creates a new WebDAV mkworkspace element and sets it as the root of the given document.
 
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

Mkworkspace

public Mkworkspace(Element root)
            throws MalformedElementException
Mkworkspace constructor.

Parameters:
root - Element forming the root of the mkworkspace tree.
Throws:
MalformedElementException - if the root element is malformed.
Method Detail

create

public static Mkworkspace create(Document document)
Creates a new WebDAV mkworkspace element and sets it as the root of the given document. Returns an editor on the new root element.

The document must not be null, and must not already have a root element.

Parameters:
document - the document that will become the root of a new mkworkspace element
Returns:
an element editor on a mkworkspace element


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