public class PersistentSearchContainer extends AbstractContainer
decodeBytes, grammar
Constructor and Description |
---|
PersistentSearchContainer(LdapApiService codec)
Creates a new PSearchControlContainer object.
|
PersistentSearchContainer(LdapApiService codec,
PersistentSearch control)
Creates a new PSearchControlContainer object pre-populated with a
decorator wrapping the supplied control, or using the supplied control if
it already is a decorator.
|
Modifier and Type | Method and Description |
---|---|
void |
clean()
Clean the container
|
void |
decorate(PersistentSearch control)
Conditionally decorates a control if is not a decorator already.
|
PersistentSearchDecorator |
getPersistentSearchDecorator() |
void |
setPersistentSearchDecorator(PersistentSearchDecorator decorator)
Set a PSearchControl Object into the container.
|
getCurrentTLV, getDecodeBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodeBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setGathering, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
public PersistentSearchContainer(LdapApiService codec)
public PersistentSearchContainer(LdapApiService codec, PersistentSearch control)
control
- The PersistentSearch Control or a decorating wrapper.public void decorate(PersistentSearch control)
control
- The PersistentSearch Control to decorate if it already is not
a decorator, if it is then the object is set as this container's decorator.public PersistentSearchDecorator getPersistentSearchDecorator()
public void setPersistentSearchDecorator(PersistentSearchDecorator decorator)
decorator
- the PSearchControl to set.public void clean()
clean
in class AbstractContainer
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.