/** * Returns the Xml representation of this <code>LockEntry</code>. * * @return Xml representation * @see org.apache.jackrabbit.webdav.xml.XmlSerializable#toXml(Document) * @param document */ public Element toXml(Document document) { Element entry = DomUtil.createElement(document, XML_LOCKENTRY, NAMESPACE); entry.appendChild(getScope().toXml(document)); entry.appendChild(getType().toXml(document)); return entry; }
/** * Returns the Xml representation of this <code>LockEntry</code>. * * @return Xml representation * @see org.apache.jackrabbit.webdav.xml.XmlSerializable#toXml(Document) * @param document */ public Element toXml(Document document) { Element entry = DomUtil.createElement(document, XML_LOCKENTRY, NAMESPACE); entry.appendChild(getScope().toXml(document)); entry.appendChild(getType().toXml(document)); return entry; }
/** * Returns the Xml representation of this <code>LockEntry</code>. * * @return Xml representation * @see org.apache.jackrabbit.webdav.xml.XmlSerializable#toXml(Document) * @param document */ public Element toXml(Document document) { Element entry = DomUtil.createElement(document, XML_LOCKENTRY, NAMESPACE); entry.appendChild(getScope().toXml(document)); entry.appendChild(getType().toXml(document)); return entry; }