public class OperationRequestState extends DefaultParsingState
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static OperationRequestState |
INSTANCE |
enterStateHandlers| Constructor and Description |
|---|
OperationRequestState() |
OperationRequestState(NodeState nodeState,
AddressOperationSeparatorState addrOpSep,
PropertyListState propList,
HeaderListState headerList,
OutputTargetState outRedirect) |
| Modifier and Type | Method and Description |
|---|---|
CharacterHandler |
getEndContentHandler() |
CharacterHandler |
getEnterHandler() |
String |
getId() |
CharacterHandler |
getLeaveHandler() |
CharacterHandler |
getReturnHandler() |
boolean |
lockValueIndex()
Whether the index of the current value being parsed should remain
the same until parsing leaves this state even if there are other
nested states that might want to update the value index
(i.e.
|
void |
setEndContentHandler(CharacterHandler handler) |
void |
setEnterHandler(CharacterHandler handler) |
void |
setLeaveHandler(CharacterHandler handler) |
void |
setReturnHandler(CharacterHandler handler) |
boolean |
updateValueIndex()
Whether the index of the value corresponding to this state
in the command line being parsed should be set to the index
when parsing enters this state.
|
enterState, getDefaultHandler, getHandler, getWhitespaceHandler, isIgnoreWhitespaces, isLeaveOnWhitespace, leaveState, putHandler, setDefaultHandler, setHandleEntrance, setIgnoreWhitespaces, setLeaveOnWhitespace, setWhitespaceHandlerpublic static final String ID
public static final OperationRequestState INSTANCE
public OperationRequestState()
public OperationRequestState(NodeState nodeState, AddressOperationSeparatorState addrOpSep, PropertyListState propList, HeaderListState headerList, OutputTargetState outRedirect)
public String getId()
getId in interface ParsingStatepublic CharacterHandler getEndContentHandler()
getEndContentHandler in interface ParsingStatepublic void setEndContentHandler(CharacterHandler handler)
public CharacterHandler getReturnHandler()
getReturnHandler in interface ParsingStatepublic void setReturnHandler(CharacterHandler handler)
public CharacterHandler getEnterHandler()
getEnterHandler in interface ParsingStatepublic void setEnterHandler(CharacterHandler handler)
public CharacterHandler getLeaveHandler()
getLeaveHandler in interface ParsingStatepublic void setLeaveHandler(CharacterHandler handler)
public boolean updateValueIndex()
ParsingStateupdateValueIndex in interface ParsingStatepublic boolean lockValueIndex()
ParsingStatelockValueIndex in interface ParsingStateCopyright © 2014 JBoss by Red Hat. All rights reserved.