@Deprecated public class JXPathExtractor extends AbstractTransformer
singleResult property to false. In this case a
List of values will be returned. Note the property is currently ignored
for non-String/XML payloads.| Modifier and Type | Field and Description |
|---|---|
static String |
OUTPUT_TYPE_NODE
Deprecated.
|
static String |
OUTPUT_TYPE_VALUE
Deprecated.
|
static String |
OUTPUT_TYPE_XML
Deprecated.
|
encoding, endpoint, logger, mimeType, MULE_MESSAGE_DATA_TYPE, muleContext, name, returnType, sourceTypesPHASE_NAMEPHASE_NAMEPROPERTY_NAME| Constructor and Description |
|---|
JXPathExtractor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
doTransform(Object src,
String encoding)
Deprecated.
Evaluate the expression in the context of the given object and returns the
result.
|
String |
getExpression()
Deprecated.
|
Map<String,String> |
getNamespaces()
Deprecated.
|
String |
getOutputType()
Deprecated.
|
void |
initialise()
Deprecated.
Template method where deriving classes can do any initialisation after the
properties have been set on this transformer
|
boolean |
isSingleResult()
Deprecated.
Should a single value be returned.
|
void |
setExpression(String expression)
Deprecated.
|
void |
setMuleContext(MuleContext context)
Deprecated.
|
void |
setNamespaces(Map<String,String> namespaceURIs)
Deprecated.
|
void |
setOutputType(String outputEncoding)
Deprecated.
|
void |
setSingleResult(boolean singleResult)
Deprecated.
If multiple results are expected from the
expression evaluation, set
this to false. |
dispose, generateTransformerName, getEncoding, getEncoding, getEndpoint, getMimeType, getName, getReturnClass, getReturnDataType, getSourceDataTypes, getSourceTypes, isAcceptNull, isAllowNullReturn, isConsumed, isIgnoreBadInput, isSourceDataTypeSupported, isSourceDataTypeSupported, isSourceTypeSupported, isSourceTypeSupported, process, registerSourceType, registerSourceType, setAllowNullReturn, setEncoding, setEndpoint, setIgnoreBadInput, setMimeType, setName, setReturnClass, setReturnDataType, toString, transform, transform, unregisterSourceType, unregisterSourceTypegetAnnotation, getAnnotations, setAnnotationspublic static final String OUTPUT_TYPE_NODE
public static final String OUTPUT_TYPE_XML
public static final String OUTPUT_TYPE_VALUE
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwaresetMuleContext in class AbstractTransformerpublic void initialise()
throws InitialisationException
initialise in interface Initialisableinitialise in class AbstractTransformerInitialisationExceptionpublic Object doTransform(Object src, String encoding) throws TransformerException
doTransform in class AbstractTransformerTransformerExceptionpublic String getExpression()
public void setExpression(String expression)
expression - The expression to set.public boolean isSingleResult()
public void setSingleResult(boolean singleResult)
expression evaluation, set
this to false.singleResult - flagpublic String getOutputType()
public void setOutputType(String outputEncoding)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.