Class OrderPatch.Member
- java.lang.Object
-
- org.apache.jackrabbit.webdav.ordering.OrderPatch.Member
-
- All Implemented Interfaces:
XmlSerializable
- Enclosing class:
- OrderPatch
public static class OrderPatch.Member extends Object implements XmlSerializable
Internal classMember
represents the 'Order-Member' children elements of an 'OrderPatch' request body present in the ORDERPATCH request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMemberHandle()
Return the handle of the internal member to be reordered.Position
getPosition()
Return the position where the internal member identified by the member handle should be placed.Element
toXml(Document document)
Returns the xml representation of the implementing object asElement
.
-
-
-
Method Detail
-
getMemberHandle
public String getMemberHandle()
Return the handle of the internal member to be reordered.- Returns:
- handle of the internal member.
-
getPosition
public Position getPosition()
Return the position where the internal member identified by the member handle should be placed.- Returns:
- position for the member after the request.
- See Also:
getMemberHandle()
-
toXml
public Element toXml(Document document)
Description copied from interface:XmlSerializable
Returns the xml representation of the implementing object asElement
. The givenDocument
is used as factory and represents theowner document
of the returned DOM element.- Specified by:
toXml
in interfaceXmlSerializable
- Parameters:
document
- to be used as factory.- Returns:
- a w3c element representing this object
- See Also:
XmlSerializable.toXml(Document)
-
-