RSM

public class RSM

Fields

XMLNS

public static final String XMLNS

after

String after

before

String before

count

Integer count

first

String first

hasBefore

boolean hasBefore

index

Integer index

last

String last

max

int max

Constructors

RSM

public RSM(int defaultMax)

RSM

public RSM()

Methods

fromElement

public RSM fromElement(Element e)

getAfter

public String getAfter()

getBefore

public String getBefore()

getCount

public Integer getCount()

getFirst

public String getFirst()

getIndex

public Integer getIndex()

getLast

public String getLast()

getMax

public int getMax()

hasBefore

public boolean hasBefore()

parseRootElement

public static RSM parseRootElement(Element e, int defaultMax)

parseRootElement

public static RSM parseRootElement(Element e)

setAfter

public void setAfter(String after)

setBefore

public void setBefore(String before)

setCount

public void setCount(Integer count)

setFirst

public void setFirst(String first)

setHasBefore

public void setHasBefore(boolean hasBefore)

setIndex

public void setIndex(Integer index)

setLast

public void setLast(String last)

setMax

public void setMax(int max)

setResults

public void setResults(Integer count, String first, String last)

setResults

public void setResults(Integer count, Integer index)

toElement

public Element toElement()

toString

public String toString()