public void setIsPropName(boolean isPropName) {
        Element child = getFirstChild(root, childNames);
        boolean isAlreadyPropName = isDAVElement(child, "propname"); //$NON-NLS-1$
        if (isPropName) {
            if (!isAlreadyPropName) {
                if (child != null)
                    root.removeChild(child);
                appendChild(root, "propname"); //$NON-NLS-1$
            }
        } else if (isAlreadyPropName)
            root.removeChild(child);
    }
public void setIsPropName(boolean isPropName) {
        Element child = getFirstChild(root, childNames);
        boolean isAlreadyPropName = isDAVElement(child, "propname"); 
        if (isPropName) {
            if (!isAlreadyPropName) {
                if (child != null)
                    root.removeChild(child);
                appendChild(root, "propname"); 
            }
        } else if (isAlreadyPropName)
            root.removeChild(child);
    }
public void setIsPropName ( boolean isPropName ) { Element child = getFirstChild ( root , childNames ) ; boolean isAlreadyPropName = isDAVElement ( child , "propname" ) ; //$NON-NLS-1$ if ( isPropName ) { if ( ! isAlreadyPropName ) { if ( child != null ) root . removeChild ( child ) ; appendChild ( root , "propname" ) ; //$NON-NLS-1$ } } else if ( isAlreadyPropName ) root . removeChild ( child ) ; }
Sets whether this propfind is in the "prop name" form.

@param isPropName boolean indicating whether this propfind will be in the
"prop name" form
Sets whether this propfind is in the prop name form .