|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.dsmlv2.Dsmlv2Container
public class Dsmlv2Container
This class represents the DSML Container. It used by the DSML Parser to store information.
| Constructor Summary | |
|---|---|
Dsmlv2Container(LdapApiService codec)
Creates a new LdapMessageContainer object. |
|
| Method Summary | |
|---|---|
BatchRequestDsml |
getBatchRequest()
Gets the DSML Batch Request |
BatchResponseDsml |
getBatchResponse()
Gets the DSML Batch Response |
AbstractGrammar |
getGrammar()
Gets the grammar |
LdapApiService |
getLdapCodecService()
Gets the LdapApiService associated with this Asn1Container. |
org.xmlpull.v1.XmlPullParser |
getParser()
Gets the parser |
Enum<Dsmlv2StatesEnum> |
getState()
Get the current grammar state |
Enum<Dsmlv2StatesEnum>[] |
getStates()
Get the states for this container's grammars |
Enum<Dsmlv2StatesEnum> |
getTransition()
Get the transition |
GrammarTransition |
getTransition(Enum<Dsmlv2StatesEnum> currentState,
Tag currentTag)
Get the transition associated with the state and tag |
void |
setBatchRequest(BatchRequestDsml batchRequest)
Sets the DSML Batch Request |
void |
setBatchResponse(BatchResponseDsml batchResponse)
Sets the DSML Batch Request |
void |
setGrammar(AbstractGrammar grammar)
Sets the Grammar |
void |
setParser(org.xmlpull.v1.XmlPullParser parser)
Sets the parser |
void |
setState(Enum<Dsmlv2StatesEnum> state)
Set the new current state |
void |
setTransition(Enum<Dsmlv2StatesEnum> transition)
Update the transition from a state to another |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dsmlv2Container(LdapApiService codec)
codec - the Codec used to encode/decode the messages| Method Detail |
|---|
public LdapApiService getLdapCodecService()
LdapApiService associated with this Asn1Container.
public BatchRequestDsml getBatchRequest()
public void setBatchRequest(BatchRequestDsml batchRequest)
batchRequest - the Batch Request to setpublic BatchResponseDsml getBatchResponse()
public void setBatchResponse(BatchResponseDsml batchResponse)
batchResponse - the Batch Response to setpublic org.xmlpull.v1.XmlPullParser getParser()
public void setParser(org.xmlpull.v1.XmlPullParser parser)
parser - the parser to setpublic Enum<Dsmlv2StatesEnum> getState()
getState in interface Containerpublic void setState(Enum<Dsmlv2StatesEnum> state)
setState in interface Containerstate - the new statepublic Enum<Dsmlv2StatesEnum> getTransition()
getTransition in interface Containerpublic void setTransition(Enum<Dsmlv2StatesEnum> transition)
setTransition in interface Containertransition - the transition to setpublic Enum<Dsmlv2StatesEnum>[] getStates()
getStates in interface Containerpublic AbstractGrammar getGrammar()
public void setGrammar(AbstractGrammar grammar)
grammar - the grammar to set
public GrammarTransition getTransition(Enum<Dsmlv2StatesEnum> currentState,
Tag currentTag)
currentState - the current statecurrentTag - the current tag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||