org.eclipse.webdav.internal.kernel
Class ElementHelper
java.lang.Object
org.eclipse.webdav.internal.kernel.ElementHelper
- All Implemented Interfaces:
- WebDAVConstants
public class ElementHelper
- extends Object
- implements WebDAVConstants
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeFactory
protected Document nodeFactory
DAV_PREFIX
protected static final String DAV_PREFIX
- See Also:
- Constant Field Values
NS_SEPARATOR
protected static final String NS_SEPARATOR
- See Also:
- Constant Field Values
DAV_NS_ATTRIB
protected static final String DAV_NS_ATTRIB
- See Also:
- Constant Field Values
ElementHelper
public ElementHelper()
extractText
public String extractText(Element element)
newDAVElement
public Element newDAVElement(QualifiedName name)
newDAVElementSet
public Element newDAVElementSet(QualifiedName setName,
QualifiedName memberName,
Enumeration memberEnum)
- Answer a DOM
Element that represents a set of String.
The set is represented by a single Element whose name is
given as the setName argument. Each member of the set is
a child Element named memberName that has
text taken from the memberEnum an Enumeration
of String.
newDAVProperty
public Element newDAVProperty(QualifiedName name,
String value)
newDAVProperty
public Element newDAVProperty(QualifiedName name,
Element value)
newDAVTextElement
public Element newDAVTextElement(QualifiedName name,
String value)
newTextElement
public Element newTextElement(String name,
String value)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.