public class PagedResultsContainer extends AbstractContainer
Constructor and Description |
---|
PagedResultsContainer(LdapApiService codec)
Creates a new PagedSearchControl container object.
|
PagedResultsContainer(LdapApiService codec,
PagedResults control)
Creates a new PagedSearchControl container object to contain a PagedResults
Control, which is optionally decorated if is not a decorator already.
|
Modifier and Type | Method and Description |
---|---|
void |
clean()
Clean the container
|
void |
decorate(PagedResults control)
Decorate the PageResult control
|
PagedResultsDecorator |
getDecorator() |
void |
setPagedSearchControl(PagedResultsDecorator control)
Set a PagedSearchControl Object into the container.
|
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
public PagedResultsContainer(LdapApiService codec)
codec
- The encoder decoder for this containerpublic PagedResultsContainer(LdapApiService codec, PagedResults control)
codec
- The encoder decoder for this containercontrol
- A PagedResults Control to optionally be wrapped.public PagedResultsDecorator getDecorator()
public void decorate(PagedResults control)
control
- The PageResult control instancepublic void setPagedSearchControl(PagedResultsDecorator control)
control
- the PagedSearchControl to set.public void clean()
clean
in class AbstractContainer
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.