jaxx.runtime.decorator
Class MultiJXPathDecorator<O>

java.lang.Object
  extended by jaxx.runtime.decorator.Decorator<O>
      extended by jaxx.runtime.decorator.JXPathDecorator<O>
          extended by jaxx.runtime.decorator.MultiJXPathDecorator<O>
Type Parameters:
O - type of data to decorate
All Implemented Interfaces:
java.io.Serializable

public class MultiJXPathDecorator<O>
extends JXPathDecorator<O>

TODO

Since:
1.7.2 (was previously jaxx.runtime.MultiJXPathDecorator)
Author:
chemit
See Also:
Decorator, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jaxx.runtime.decorator.JXPathDecorator
JXPathDecorator.Context<O>, JXPathDecorator.JXPathComparator<O>
 
Field Summary
protected  JXPathDecorator.Context<O>[] contexts
          Contexts of the decorator
protected  java.lang.String separator
          context separator
protected  java.lang.String separatorReplacement
          context separator replacement
 
Fields inherited from class jaxx.runtime.decorator.JXPathDecorator
context, initialExpression, nbToken
 
Fields inherited from class jaxx.runtime.decorator.Decorator
internalClass
 
Constructor Summary
protected MultiJXPathDecorator(java.lang.Class<O> internalClass, java.lang.String expression, java.lang.String separator, java.lang.String separatorReplacement, JXPathDecorator.Context<O>[] contexts)
           
 
Method Summary
protected  void ensureContextIndex(MultiJXPathDecorator<?> decorator, int pos)
           
protected  java.util.Comparator<O> getComparator(int pos)
           
 int getNbContext()
           
 java.lang.String getSeparator()
           
 java.lang.String getSeparatorReplacement()
           
 void setContextIndex(int index)
           
 
Methods inherited from class jaxx.runtime.decorator.JXPathDecorator
ensureTokenIndex, getExpression, getInitialExpression, getNbToken, getProperty, getTokens, getTokenValue, setContext, toString, toString
 
Methods inherited from class jaxx.runtime.decorator.Decorator
getInternalClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

contexts

protected JXPathDecorator.Context<O>[] contexts
Contexts of the decorator


separator

protected java.lang.String separator
context separator


separatorReplacement

protected java.lang.String separatorReplacement
context separator replacement

Constructor Detail

MultiJXPathDecorator

protected MultiJXPathDecorator(java.lang.Class<O> internalClass,
                               java.lang.String expression,
                               java.lang.String separator,
                               java.lang.String separatorReplacement,
                               JXPathDecorator.Context<O>[] contexts)
                        throws java.lang.IllegalArgumentException,
                               java.lang.NullPointerException
Throws:
java.lang.IllegalArgumentException
java.lang.NullPointerException
Method Detail

setContextIndex

public void setContextIndex(int index)

getNbContext

public int getNbContext()

getSeparator

public java.lang.String getSeparator()

getSeparatorReplacement

public java.lang.String getSeparatorReplacement()

getComparator

protected java.util.Comparator<O> getComparator(int pos)
Overrides:
getComparator in class JXPathDecorator<O>

ensureContextIndex

protected void ensureContextIndex(MultiJXPathDecorator<?> decorator,
                                  int pos)


Copyright © 2008-2010 CodeLutin. All Rights Reserved.