Class PagedResultsContainer
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.AbstractContainer
-
- org.apache.directory.api.ldap.codec.controls.search.pagedSearch.PagedResultsContainer
-
- All Implemented Interfaces:
Asn1Container,ControlContainer
public class PagedResultsContainer extends AbstractContainer implements ControlContainer
A container for the Paged Search Control.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description PagedResultsContainer(Control control)Creates a new PagedSearchControl container object to contain a PagedResults Control.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclean()Clean the containerPagedResultsgetPagedResults()voidsetControl(Control control)Set a PagedSearchControl Object into the container.-
Methods inherited from class org.apache.directory.api.asn1.ber.AbstractContainer
getCurrentTLV, getDecodedBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodedBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setDecodedBytes, setGathering, setGrammar, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.directory.api.asn1.ber.Asn1Container
getCurrentTLV, getDecodedBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodedBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setDecodedBytes, setGathering, setGrammar, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
-
-
-
-
Constructor Detail
-
PagedResultsContainer
public PagedResultsContainer(Control control)
Creates a new PagedSearchControl container object to contain a PagedResults Control.- Parameters:
control- A PagedResults Control to store
-
-
Method Detail
-
setControl
public void setControl(Control control)
Set a PagedSearchControl Object into the container. It will be completed by the ldapDecoder.- Specified by:
setControlin interfaceControlContainer- Parameters:
control- the PagedSearchControl to set.
-
getPagedResults
public PagedResults getPagedResults()
- Returns:
- the control
-
clean
public void clean()
Clean the container- Overrides:
cleanin classAbstractContainer
-
-