public class RegExReplaceInterceptor extends AbstractInterceptor
Interceptor.Flow
ELEMENT_NAME, id, name
router
Constructor and Description |
---|
RegExReplaceInterceptor() |
Modifier and Type | Method and Description |
---|---|
String |
getHelpId() |
String |
getPattern() |
String |
getReplacement() |
Outcome |
handleRequest(Exchange exc) |
Outcome |
handleResponse(Exchange exc) |
protected void |
parseAttributes(XMLStreamReader token) |
void |
setPattern(String pattern) |
void |
setReplacement(String replacement) |
protected void |
writeInterceptor(XMLStreamWriter out) |
getDisplayName, getElementName, getFlow, getId, getLongDescription, getShortDescription, setDisplayName, setFlow, setId, write
getRouter, setRouter
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, parseChildren, toXml, writeIfNotNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRouter, setRouter
parse
public Outcome handleResponse(Exchange exc) throws Exception
handleResponse
in interface Interceptor
handleResponse
in class AbstractInterceptor
Exception
public Outcome handleRequest(Exchange exc) throws Exception
handleRequest
in interface Interceptor
handleRequest
in class AbstractInterceptor
Exception
public String getPattern()
public void setPattern(String pattern)
public String getReplacement()
public void setReplacement(String replacement)
protected void writeInterceptor(XMLStreamWriter out) throws XMLStreamException
writeInterceptor
in class AbstractInterceptor
XMLStreamException
protected void parseAttributes(XMLStreamReader token)
parseAttributes
in class AbstractInterceptor
public String getHelpId()
getHelpId
in interface Interceptor
getHelpId
in class AbstractInterceptor
Copyright © 2012. All Rights Reserved.