jaxx.runtime.decorator
Class JXPathDecorator.Context<O>

java.lang.Object
  extended by jaxx.runtime.decorator.JXPathDecorator.Context<O>
All Implemented Interfaces:
Serializable
Enclosing class:
JXPathDecorator<O>

public static class JXPathDecorator.Context<O>
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  Comparator<O> comparator
           
protected  String expression
          expression to format using String.format(String, Object...), all variables are compute using using the jxpath tokens.
protected  String[] tokens
          list of jxpath tokens to apply on expression
 
Constructor Summary
JXPathDecorator.Context(String expression, String[] tokens)
           
 
Method Summary
 Comparator<O> getComparator(int pos)
           
 String getFirstProperty()
           
 void setComparator(Comparator<O> comparator)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expression

protected String expression
expression to format using String.format(String, Object...), all variables are compute using using the jxpath tokens.


tokens

protected String[] tokens
list of jxpath tokens to apply on expression


comparator

protected transient Comparator<O> comparator
Constructor Detail

JXPathDecorator.Context

public JXPathDecorator.Context(String expression,
                               String[] tokens)
Method Detail

getFirstProperty

public String getFirstProperty()

getComparator

public Comparator<O> getComparator(int pos)

setComparator

public void setComparator(Comparator<O> comparator)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2010 CodeLutin. All Rights Reserved.