|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.xui.XPathEvaluator
public class XPathEvaluator
A class used by XPage to implement its evaluation of paths
Copyright (c) Xoetrope Ltd., 2002-2004
License: see license.txt
$Revision: 1.1 $
| Field Summary | |
|---|---|
protected XProject |
currentProject
The project to which this object belongs |
protected XDefaultAttributeEvaluator |
evaluator
The default attribute expression evaluator |
protected PageSupport |
ownerPage
The enclosing context |
| Constructor Summary | |
|---|---|
XPathEvaluator(XProject project,
PageSupport page)
Creates a new instance of XPathEvaluator |
|
| Method Summary | |
|---|---|
java.lang.Object |
evaluateAttribute(java.lang.String attribValue)
Evaluates an attribute value. |
java.lang.String |
evaluatePath(java.lang.String path)
Evaluates a path (potentially) containing a method call |
java.lang.String |
stripAttributeValues(java.lang.String path)
Remove the attribute paths from a path e.g. remove @value=ignore |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected XDefaultAttributeEvaluator evaluator
protected PageSupport ownerPage
protected XProject currentProject
| Constructor Detail |
|---|
public XPathEvaluator(XProject project,
PageSupport page)
project - the owner projectpage - the enclosing context| Method Detail |
|---|
public java.lang.Object evaluateAttribute(java.lang.String attribValue)
attribValue - the raw attribute value
public java.lang.String evaluatePath(java.lang.String path)
path - the raw path
public java.lang.String stripAttributeValues(java.lang.String path)
path - the path to strip
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||