O
- type of data to decoratepublic class MultiJXPathDecorator<O> extends JXPathDecorator<O>
JXPathDecorator
implementation with multiple contexts.Decorator
,
Serialized FormJXPathDecorator.Context<O>, JXPathDecorator.JXPathComparator<O>
Modifier and Type | Field and Description |
---|---|
protected JXPathDecorator.Context<O>[] |
contexts
Contexts of the decorator
|
protected String |
separator
context separator
|
protected String |
separatorReplacement
context separator replacement
|
context, initialExpression, nbToken
Modifier | Constructor and Description |
---|---|
protected |
MultiJXPathDecorator(Class<O> internalClass,
String expression,
String separator,
String separatorReplacement) |
protected |
MultiJXPathDecorator(Class<O> internalClass,
String expression,
String separator,
String separatorReplacement,
JXPathDecorator.Context<O>[] contexts) |
Modifier and Type | Method and Description |
---|---|
protected void |
ensureContextIndex(MultiJXPathDecorator<?> decorator,
int pos) |
protected Comparator<O> |
getComparator(int pos) |
int |
getNbContext() |
String |
getSeparator() |
String |
getSeparatorReplacement() |
void |
setContextIndex(int index) |
ensureTokenIndex, getExpression, getInitialExpression, getNbToken, getProperty, getTokens, getTokenValue, setContext, toString, toString
protected JXPathDecorator.Context<O>[] contexts
protected String separator
protected String separatorReplacement
protected MultiJXPathDecorator(Class<O> internalClass, String expression, String separator, String separatorReplacement, JXPathDecorator.Context<O>[] contexts) throws IllegalArgumentException, NullPointerException
protected MultiJXPathDecorator(Class<O> internalClass, String expression, String separator, String separatorReplacement) throws IllegalArgumentException, NullPointerException
public void setContextIndex(int index)
public int getNbContext()
public String getSeparator()
public String getSeparatorReplacement()
protected Comparator<O> getComparator(int pos)
getComparator
in class JXPathDecorator<O>
protected void ensureContextIndex(MultiJXPathDecorator<?> decorator, int pos)
Copyright © 2013–2015 CodeLutin. All rights reserved.