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 classMemberrepresents 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 StringgetMemberHandle()Return the handle of the internal member to be reordered.PositiongetPosition()Return the position where the internal member identified by the member handle should be placed.ElementtoXml(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:XmlSerializableReturns the xml representation of the implementing object asElement. The givenDocumentis used as factory and represents theowner documentof the returned DOM element.- Specified by:
toXmlin interfaceXmlSerializable- Parameters:
document- to be used as factory.- Returns:
- a w3c element representing this object
- See Also:
XmlSerializable.toXml(Document)
-
-