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 java.lang.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 java.lang.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.org.w3c.dom.Element
toXml(org.w3c.dom.Document document)
Returns the xml representation of the implementing object asElement
.
-
-
-
Constructor Detail
-
Member
public Member(java.lang.String memberHandle, Position position)
Create a newMember
object.- Parameters:
memberHandle
-position
-
-
-
Method Detail
-
getMemberHandle
public java.lang.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 org.w3c.dom.Element toXml(org.w3c.dom.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)
-
-