jaxx.runtime
Class JXPathDecorator.Context<O>

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

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

See Also:
Serialized Form

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

Field Detail

expression

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


tokens

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


comparator

protected transient java.util.Comparator<O> comparator
Constructor Detail

JXPathDecorator.Context

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

getFirstProperty

public java.lang.String getFirstProperty()

getComparator

public java.util.Comparator<O> getComparator(int pos)

setComparator

public void setComparator(java.util.Comparator<O> comparator)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008-2009 CodeLutin. All Rights Reserved.