org.apache.jackrabbit.webdav.ordering
Class OrderPatch.Member

java.lang.Object
  extended byorg.apache.jackrabbit.webdav.ordering.OrderPatch.Member
All Implemented Interfaces:
XmlSerializable
Enclosing class:
OrderPatch

public static class OrderPatch.Member
extends Object
implements XmlSerializable

Internal class Member represents the 'Order-Member' children elements of an 'OrderPatch' request body present in the ORDERPATCH request.


Constructor Summary
OrderPatch.Member(String memberHandle, Position position)
          Create a new Member object.
 
Method Summary
 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 as Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderPatch.Member

public OrderPatch.Member(String memberHandle,
                         Position position)
Create a new Member object.

Parameters:
memberHandle -
position -
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 as Element. The given Document is used as factory and represents the owner document of the returned DOM element.

Specified by:
toXml in interface XmlSerializable
Parameters:
document - to be used as factory.
Returns:
a w3c element representing this object
See Also:
XmlSerializable.toXml(Document)


Copyright © 2005-2006 . All Rights Reserved.