werken.xpath-0.9.4.orig/0042755000175000017500000000000007330705446015373 5ustar tokamototokamotowerken.xpath-0.9.4.orig/src/0042755000175000017500000000000007330702744016160 5ustar tokamototokamotowerken.xpath-0.9.4.orig/src/com/0042755000175000017500000000000007330702744016736 5ustar tokamototokamotowerken.xpath-0.9.4.orig/src/com/werken/0042755000175000017500000000000007330702744020231 5ustar tokamototokamotowerken.xpath-0.9.4.orig/src/com/werken/xpath/0042755000175000017500000000000007330702744021355 5ustar tokamototokamotowerken.xpath-0.9.4.orig/src/com/werken/xpath/impl/0042755000175000017500000000000007330702744022316 5ustar tokamototokamotowerken.xpath-0.9.4.orig/src/com/werken/xpath/impl/OpNodeSetNodeSet.java0100644000175000017500000000255107175201160026272 0ustar tokamototokamoto package com.werken.xpath.impl; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.util.Collections; class OpNodeSetNodeSet extends Operator { static Object evaluate(Context context, Op op, Object lhsValue, Object rhsValue) { Object result = null; // We should *know* absolutely that these are both Lists. List lhs = (List) lhsValue; List rhs = (List) rhsValue; List lhsStrList = new ArrayList(lhs.size()); String tmpValue = null; Iterator itemIter = lhs.iterator(); while ( itemIter.hasNext() ) { lhsStrList.add( convertToString( itemIter.next() ) ); } Collections.sort(lhsStrList); itemIter = rhs.iterator(); int index = -1; while ( itemIter.hasNext() ) { tmpValue = convertToString( itemIter.next() ); index = Collections.binarySearch(lhsStrList, tmpValue); if ( op == Op.EQUAL ) { // We found one, equality achieved if (index >= 0) { return Boolean.TRUE; } } else if ( op == Op.NOT_EQUAL ) { // We didn't find one if (index < 0) { return Boolean.TRUE; } } } return Boolean.FALSE; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/OpNodeSetAny.java0100644000175000017500000000163507175702143025471 0ustar tokamototokamoto package com.werken.xpath.impl; import java.util.List; import java.util.Iterator; class OpNodeSetAny { static Object evaluate(Context context, Op op, Object lhsValue, Object rhsValue) { Object result = null; List nodeSet = null; Object other = null; if (lhsValue instanceof List) { nodeSet = (List) lhsValue; other = rhsValue; } else { nodeSet = (List) rhsValue; other = lhsValue; } Iterator nodeIter = nodeSet.iterator(); while ( nodeIter.hasNext() ) { result = Operator.evaluate(context, op, nodeIter.next(), other); if (Boolean.TRUE.equals(result)) { break; } } return result; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/Operator.java0100644000175000017500000001007407177624723024762 0ustar tokamototokamoto package com.werken.xpath.impl; import org.jdom.Element; import org.jdom.Attribute; import java.util.List; class Operator { static Object evaluate(Context context, Op op, Object lhsValue, Object rhsValue) { Object result = null; if ( op == Op.OR ) { } else if ( op == Op.AND ) { } else { // This cascading-if implments section 3.4 ("Booleans") of // the XPath-REC spec, for all operators which do not perform // short-circuit evaluation (meaning everything except AND and OR); if (Operator.bothAreNodeSets(lhsValue, rhsValue)) { // result = opNodeSetNodeSet(); result = OpNodeSetNodeSet.evaluate(context, op, lhsValue, rhsValue); } else if (Operator.eitherIsNodeSet(lhsValue, rhsValue)) { result = OpNodeSetAny.evaluate(context, op, lhsValue, rhsValue); } else if (Operator.eitherIsBoolean(lhsValue, rhsValue)) { result = OpBooleanAny.evaluate(context, op, lhsValue, rhsValue); } else if (Operator.eitherIsNumber(lhsValue, rhsValue)) { result = OpNumberAny.evaluate(context, op, lhsValue, rhsValue); } else if (Operator.eitherIsString(lhsValue, rhsValue)) { result = OpStringAny.evaluate(context, op, lhsValue, rhsValue); } } //return Collections.EMPTY_LIST; return result; } protected static boolean eitherIsNodeSet(Object lhs, Object rhs) { return ( (lhs instanceof List) || (rhs instanceof List) ); } protected static boolean bothAreNodeSets(Object lhs, Object rhs) { return ( (lhs instanceof List) && (rhs instanceof List) ); } protected static boolean eitherIsNumber(Object lhs, Object rhs) { return ( (lhs instanceof Number) || (rhs instanceof Number) ); } protected static boolean eitherIsString(Object lhs, Object rhs ) { return ( (lhs instanceof String) || (rhs instanceof String) ); } protected static boolean eitherIsBoolean(Object lhs, Object rhs) { return ( (lhs instanceof Boolean) || (rhs instanceof Boolean) ); } protected static String convertToString(Object obj) { String result = null; if (obj instanceof String) { result = (String) obj; } else if (obj instanceof Attribute) { result = ((Attribute)obj).getValue(); } else if (obj instanceof Element) { result = ((Element)obj).getText(); } else { result = obj.toString(); } return result; } protected static Double convertToNumber(Object obj) { Double result = null; if (obj instanceof Double) { result = (Double) obj; } else { result = Double.valueOf( convertToString(obj) ); } return result; } protected static Boolean convertToBoolean(Object obj) { Boolean result = null; if (obj instanceof Boolean) { result = (Boolean) obj; } else { result = Boolean.valueOf( convertToString(obj) ); } return result; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/Op.java0100644000175000017500000000160207152056703023530 0ustar tokamototokamoto package com.werken.xpath.impl; public class Op { private String _name = ""; private Op (String name) { _name = name; } public String toString() { return _name; } public final static Op UNION = new Op("|"); public final static Op OR = new Op("or"); public final static Op AND = new Op("and"); public final static Op EQUAL = new Op("=="); public final static Op NOT_EQUAL = new Op("!="); public final static Op LT = new Op("<"); public final static Op GT = new Op(">"); public final static Op LT_EQUAL = new Op("<="); public final static Op GT_EQUAL = new Op(">="); public final static Op MOD = new Op("%");; public final static Op DIV = new Op("/"); public final static Op PLUS = new Op("+"); public final static Op MINUS = new Op("-"); public final static Op MULTIPLY = new Op("*"); } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/StringExpr.java0100644000175000017500000000052707175201204025255 0ustar tokamototokamoto package com.werken.xpath.impl; import org.jdom.Element; public class StringExpr extends Expr { private String _text = null; public StringExpr(String text) { _text = text; } public String toString() { return ("[(StringExpr) " + _text + "]"); } public Object evaluate(Context context) { return _text; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/FunctionExpr.java0100644000175000017500000000215307175201136025575 0ustar tokamototokamoto package com.werken.xpath.impl; import com.werken.xpath.function.Function; import java.util.List; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; public class FunctionExpr extends Expr { private String _name = null; private List _args = null; public FunctionExpr(String name, List args) { _name = name; _args = args; } public Object evaluate(Context context) { Function func = context.getContextSupport().getFunction(_name); if (func == null) { // FIXME: toss an exception return null; } List resolvedArgs = resolveArgs( context ); return func.call( context, resolvedArgs ); } private List resolveArgs(Context context) { if ( (_args == null) || (_args.size() == 0) ) { return Collections.EMPTY_LIST; } List resolved = new ArrayList(_args.size()); Iterator exprIter = _args.iterator(); Expr each = null; while (exprIter.hasNext()) { each = (Expr) exprIter.next(); resolved.add( each.evaluate( context ) ); } return resolved; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/OpNumberAny.java0100644000175000017500000000215007175702151025350 0ustar tokamototokamoto package com.werken.xpath.impl; class OpNumberAny extends Operator { static Object evaluate(Context context, Op op, Object lhsValue, Object rhsValue) { Double lhs = convertToNumber(lhsValue); Double rhs = convertToNumber(rhsValue); if ( (op == Op.EQUAL) || (op == Op.LT_EQUAL) || (op == Op.GT_EQUAL) ) { return ( ( lhs.equals(rhs) ) ? Boolean.TRUE : Boolean.FALSE ); } else if ( op == Op.NOT_EQUAL ) { return ( ( ! lhs.equals(rhs) ) ? Boolean.TRUE : Boolean.FALSE ); } else if ( (op == Op.LT) || (op == Op.LT_EQUAL) ) { return ( ( lhs.compareTo(rhs) < 0 ) ? Boolean.TRUE : Boolean.FALSE ); } else if ( (op == Op.GT) || (op == Op.GT_EQUAL ) ) { return ( ( lhs.compareTo(rhs) > 0 ) ? Boolean.TRUE : Boolean.FALSE ); } return null; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/Predicate.java0100644000175000017500000000306107177625560025065 0ustar tokamototokamoto package com.werken.xpath.impl; import com.werken.xpath.ContextSupport; import com.werken.xpath.function.BooleanFunction; import org.jdom.Element; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.util.Collections; public class Predicate { private Expr _expr = null; public Predicate(Expr expr) { _expr = expr; } public List evaluateOn(List nodeSet, ContextSupport support, String axis) { Context context = new Context( nodeSet, support ); Context duplicateContext = null; List results = new ArrayList(); int position = 1; int max = context.getSize(); while ( position <= max ) { duplicateContext = context.duplicate(); duplicateContext.setPosition( position ); if ( evaluateOnNode( duplicateContext, axis ) ) { results.add( context.getNode( position ) ); } ++position; } return results; } public boolean evaluateOnNode(Context context, String axis) { boolean result = false; Object exprResult = _expr.evaluate( context ); //System.err.println("pred-expr == " + _expr); if ( exprResult instanceof Double ) { if ( ((Double)exprResult).equals( new Double( context.getPosition() ) ) ) { result = true; } } else { result = BooleanFunction.evaluate(exprResult).booleanValue(); } return result; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/BinaryExpr.java0100644000175000017500000000356407177625547025265 0ustar tokamototokamoto package com.werken.xpath.impl; import com.werken.xpath.ContextSupport; import com.werken.xpath.function.BooleanFunction; import org.jdom.Element; import org.jdom.Attribute; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.util.Collections; public class BinaryExpr extends Expr { private Op _op = null; private Expr _lhs = null; private Expr _rhs = null; public BinaryExpr(Op op, Expr lhs, Expr rhs) { _op = op; _lhs = lhs; _rhs = rhs; } public Object evaluate(Context context) { //System.err.println( _op + " " + _lhs + " " + _rhs ); Context duplicateContext = context.duplicate(); Object result = null; Object lhsValue = _lhs.evaluate( context ); Object rhsValue = null; // Short-circuit the boolean AND and OR operators // returning early if LHS is all that is needed // to determine truthfulness. if ( _op == Op.OR ) { if (BooleanFunction.evaluate(lhsValue).booleanValue()) { return Boolean.TRUE; } rhsValue = _rhs.evaluate( duplicateContext ); if (BooleanFunction.evaluate(rhsValue).booleanValue()) { return Boolean.TRUE; } return Boolean.FALSE; } else if ( _op == Op.AND ) { if ( ! BooleanFunction.evaluate(lhsValue).booleanValue()) { return Boolean.FALSE; } rhsValue = _rhs.evaluate( duplicateContext ); if ( ! BooleanFunction.evaluate(rhsValue).booleanValue()) { return Boolean.FALSE; } return Boolean.TRUE; } else { rhsValue = _rhs.evaluate( duplicateContext ); result = Operator.evaluate(duplicateContext, _op, lhsValue, rhsValue); } return result; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/OpBooleanAny.java0100644000175000017500000000133607175702133025504 0ustar tokamototokamoto package com.werken.xpath.impl; import com.werken.xpath.function.BooleanFunction; class OpBooleanAny extends Operator { static Object evaluate(Context context, Op op, Object lhsValue, Object rhsValue) { Boolean lhs = BooleanFunction.evaluate(lhsValue); Boolean rhs = BooleanFunction.evaluate(rhsValue); if ( op == Op.EQUAL ) { return ( ( lhs.equals(rhs) ) ? Boolean.TRUE : Boolean.FALSE ); } else if ( op == Op.NOT_EQUAL ) { return ( ( ! lhs.equals(rhs) ) ? Boolean.TRUE : Boolean.FALSE ); } return null; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/NegativeExpr.java0100644000175000017500000000040207175201147025547 0ustar tokamototokamoto package com.werken.xpath.impl; import java.util.List; public class NegativeExpr extends Expr { private Expr _expr = null; public NegativeExpr(Expr expr) { _expr = expr; } public Object evaluate(Context context) { return null; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/OpStringAny.java0100644000175000017500000000122507175702157025376 0ustar tokamototokamoto package com.werken.xpath.impl; class OpStringAny extends Operator { static Object evaluate(Context context, Op op, Object lhsValue, Object rhsValue) { String lhs = convertToString(lhsValue); String rhs = convertToString(rhsValue); if ( op == Op.EQUAL ) { return ( ( lhs.equals(rhs) ) ? Boolean.TRUE : Boolean.FALSE ); } else if ( op == Op.NOT_EQUAL ) { return ( ( ! lhs.equals(rhs) ) ? Boolean.TRUE : Boolean.FALSE ); } return null; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/UnAbbrStep.java0100644000175000017500000002222307177624650025172 0ustar tokamototokamoto package com.werken.xpath.impl; import com.werken.xpath.ContextSupport; import com.werken.xpath.util.Partition; import org.jdom.Document; import org.jdom.Element; import org.jdom.Attribute; import java.util.List; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; public abstract class UnAbbrStep extends Step { private String _axis = null; private List _predicates = null; public UnAbbrStep(String axis) { _axis = axis; } public String getAxis() { return _axis; } public Step addPredicate(Predicate pred) { if ( _predicates == null ) { _predicates = new ArrayList(); } _predicates.add(pred); return this; } public List getPredicates() { if ( _predicates == null ) { return Collections.EMPTY_LIST; } return _predicates; } public Context applyTo(Context context) { if ( context.isEmpty() ) { return context; } List results = applyTo(context.getNodeSet(), context.getContextSupport(), getAxis(), true); context.setNodeSet(results); return context; } public List applyTo(List nodeSet, ContextSupport support, String axis) { return applyTo(nodeSet, support, axis, false); } public List applyTo(List nodeSet, ContextSupport support, String axis, boolean doPreds) { List aggregateResults = new ArrayList(); List results = null; Iterator nodeIter = nodeSet.iterator(); Object each = null; while ( nodeIter.hasNext() ) { each = nodeIter.next(); if ( "self".equals(axis) ) { results = applyToSelf( each, support ); } else if ( "ancestor".equals(axis) ) { results = applyToAncestor( each, support ); } else if ( "ancestor-or-self".equals(axis) ) { results = applyToAncestorOrSelf( each, support ); } else if ( "attribute".equals(axis) ) { results = applyToAttribute( each, support ); } else if ( "child".equals(axis) ) { results = applyToChild( each, support ); } else if ( "descendant".equals(axis) ) { results = applyToDescendant( each, support ); } else if ( "descendant-or-self".equals(axis) ) { results = applyToDescendantOrSelf( each, support ); } else if ( "following".equals(axis) ) { results = applyToFollowing( each, support ); } else if ( "following-sibling".equals(axis) ) { results = applyToFollowingSibling( each, support ); } else if ( "namespace".equals(axis) ) { // FIXME } else if ( "parent".equals(axis) ) { results = applyToParent( each, support ); } else if ( "preceeding".equals(axis) ) { results = applyToPreceeding( each, support ); } else if ( "preceeding-sibling".equals(axis) ) { results = applyToPreceedingSibling( each, support ); } else { results = Collections.EMPTY_LIST; } if ( doPreds ) { aggregateResults.addAll( applyPredicates( results, support) ); } else { aggregateResults.addAll( results ); } } return aggregateResults;; } private List applyPredicates(List nodeSet, ContextSupport support) { List results = nodeSet; if ( _predicates == null ) { return nodeSet; } Iterator predIter = _predicates.iterator(); Predicate eachPred = null; while ( predIter.hasNext() ) { eachPred = (Predicate) predIter.next(); results = eachPred.evaluateOn(results, support, _axis ); } return results; } public List applyToSelf(Object node, ContextSupport support) { return Collections.EMPTY_LIST; } public List applyToChild(Object node, ContextSupport support) { return Collections.EMPTY_LIST; } public List applyToDescendant(Object node, ContextSupport support) { List results = new ArrayList(); results.addAll( applyToChild( node, support ) ); if ( node instanceof Element ) { List children = ((Element)node).getMixedContent(); results.addAll( applyTo( children, support, "descendant" ) ); } else if ( node instanceof Document ) { List children = ((Document)node).getMixedContent(); results.addAll( applyTo( children, support, "descendant" ) ); } return results; } public List applyToDescendantOrSelf(Object node, ContextSupport support) { List results = new ArrayList(); results.addAll( applyToSelf( node, support ) ); if ( node instanceof Element ) { List children = ((Element)node).getMixedContent(); results.addAll( applyTo( children, support, "descendant-or-self" ) ); } else if ( node instanceof Document ) { List children = ((Document)node).getMixedContent(); results.addAll( applyTo( children, support, "descendant-or-self" ) ); } return results; } public List applyToParent(Object node, ContextSupport support) { Object parent = ParentStep.findParent(node); List results = new ArrayList(); results.addAll( applyToSelf( parent, support ) ); return results; } public List applyToAncestor(Object node, ContextSupport support) { List results = new ArrayList(); results.addAll( applyToParent( node, support ) ); Object parent = ParentStep.findParent( node ); if ( parent != null ) { results.addAll( applyToAncestor( parent, support ) ); } return results; } public List applyToAncestorOrSelf(Object node, ContextSupport support) { List results = new ArrayList(); results.addAll( applyToSelf( node, support ) ); results.addAll( applyToAncestor( node, support ) ); return results; } public List applyToAttribute(Object node, ContextSupport support) { return Collections.EMPTY_LIST; } public List applyToPreceeding(Object node, ContextSupport support) { List results = new ArrayList(); if ( node instanceof Element) { List preceeding = Partition.preceeding( (Element)node ); results.addAll( applyTo( preceeding, support, "self" ) ); } return results; } public List applyToFollowing(Object node, ContextSupport support) { List results = new ArrayList(); if ( node instanceof Element) { List following = Partition.following( (Element)node ); results.addAll( applyTo( following, support, "self" ) ); } return results; } public List applyToPreceedingSibling(Object node, ContextSupport support) { List results = new ArrayList(); if ( node instanceof Element) { List preceedingSiblings = Partition.preceedingSiblings( (Element)node ); results.addAll( applyTo( preceedingSiblings, support, "self") ); } return results; } public List applyToFollowingSibling(Object node, ContextSupport support) { List results = new ArrayList(); if ( node instanceof Element) { List followingSiblings = Partition.followingSiblings( (Element)node ); results.addAll( applyTo( followingSiblings, support, "self" ) ); } return results; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/NodeTypeStep.java0100644000175000017500000000415007175702125025537 0ustar tokamototokamoto package com.werken.xpath.impl; import com.werken.xpath.ContextSupport; import org.jdom.Document; import org.jdom.Element; import org.jdom.Comment; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.util.Collections; public class NodeTypeStep extends UnAbbrStep { private String _nodeType = null; public NodeTypeStep(String axis, String nodeType) { super(axis); _nodeType = nodeType; } protected boolean matches(Object node) { List results = null; if ( "node".equals( _nodeType ) ) { return true; } results = new ArrayList(); if ( "text".equals( _nodeType ) && ( node instanceof String ) ) { return true; } else if ( "comment".equals( _nodeType ) && ( node instanceof Comment ) ) { return true; } return false; } public List applyToNode(Object node) { List nodeSet = new ArrayList(1); nodeSet.add( node ); return applyToNodes( nodeSet ); } public List applyToNodes(List nodeSet) { List results = new ArrayList(); Iterator nodeIter = nodeSet.iterator(); Object each = null; while ( nodeIter.hasNext() ) { each = nodeIter.next(); if ( matches( each ) ) { results.add( each ); } } return results; } public List applyToChild(Object node, ContextSupport support) { List results = new ArrayList(); if ( node instanceof Element ) { if ( isAbsolute() ) { results.addAll( applyToNodes( ((Element)node).getDocument().getMixedContent() ) ); } else { results.addAll( applyToNodes( ((Element)node).getMixedContent() ) ); } } else if ( node instanceof Document ) { results.addAll( applyToNodes( ((Document)node).getMixedContent() ) ); } return results; } public List applyToSelf(Object node, ContextSupport support) { return applyToNode( node ); } public String toString() { return "[NodeTypeStep [" + _nodeType + "]]"; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/NumberExpr.java0100644000175000017500000000056107175344204025245 0ustar tokamototokamoto package com.werken.xpath.impl; import org.jdom.Element; public class NumberExpr extends Expr { private Double _number = null; public NumberExpr(String number) { _number = new Double( number ); } public String toString() { return ("[(NumberExpr) " + _number + "]"); } public Object evaluate(Context context) { return _number; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/VariableExpr.java0100644000175000017500000000041107175201212025523 0ustar tokamototokamoto package com.werken.xpath.impl; public class VariableExpr extends Expr { private String _name = null; public VariableExpr(String name) { _name = name; } public Object evaluate(Context context) { return context.getVariableValue(_name); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/PIStep.java0100644000175000017500000000134707175441621024326 0ustar tokamototokamoto package com.werken.xpath.impl; import org.jdom.Document; import org.jdom.Element; import org.jdom.ProcessingInstruction; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.util.Collections; public class PIStep extends NodeTypeStep { private String _target = null; public PIStep(String axis, String target) { super(axis, null); _target = target; } protected boolean matches(Object node) { if ( node instanceof ProcessingInstruction ) { if ( _target == null ) { return true; } else if ( _target.equals( ((ProcessingInstruction)node).getTarget() ) ) { return true; } } return false; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/ParentStep.java0100644000175000017500000000231507175441444025246 0ustar tokamototokamoto package com.werken.xpath.impl; import org.jdom.Element; import java.util.Set; import java.util.HashSet; import java.util.List; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; public class ParentStep extends AbbrStep { public ParentStep() { } public Context applyTo(Context context) { context.setNodeSet( ParentStep.findParents( context.getNodeSet() ) ); return context; } static public Object findParent(Object node) { if ( node instanceof Element ) { return ((Element)node).getParent(); } return null; } static public List findParents(List nodeSet) { // FIXME: Unable to find parents of anything // except Element at this point. Set results = new HashSet(); Iterator elemIter = nodeSet.iterator(); Object each = null; Element parent = null; while (elemIter.hasNext()) { each = elemIter.next(); if ( each instanceof Element ) { parent = ((Element)each).getParent(); if (parent != null) { results.add(parent); } } } return ( results.isEmpty() ? Collections.EMPTY_LIST : new ArrayList(results) ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/NameTestStep.java0100644000175000017500000000777707175702114025550 0ustar tokamototokamoto package com.werken.xpath.impl; import com.werken.xpath.ContextSupport; import org.jdom.Document; import org.jdom.Element; import org.jdom.Attribute; import org.jdom.Namespace; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.util.Collections; public class NameTestStep extends UnAbbrStep { private String _namespacePrefix = null; private String _localName = null; public NameTestStep(String axis, String namespacePrefix, String localName) { super(axis); _namespacePrefix = namespacePrefix; _localName = localName; } public List applyToSelf(Object node, ContextSupport support) { List results = new ArrayList(); if ( node instanceof Element ) { if ( ( "*".equals( _localName ) || ((Element)node).getName().equals(_localName) ) && ((Element)node).getNamespaceURI().equals( support.translateNamespacePrefix( _namespacePrefix ) ) ) { results.add( node ); } } else if ( node instanceof Attribute ) { if ( ((Attribute)node).getName().equals(_localName) && ((Attribute)node).getNamespaceURI().equals( support.translateNamespacePrefix( _namespacePrefix ) ) ) { results.add( node ); } } return results; } public List applyToAttribute(Object node, ContextSupport support) { List results = new ArrayList(); Attribute attr = null; Namespace ns = null; String nsURI = null; if ( node instanceof Element ) { if ( "*".equals( _localName ) ) { results.addAll( ((Element)node).getAttributes() ); } else { attr = null; if ( "".equals( _namespacePrefix ) ) { attr = ((Element)node).getAttribute( _localName ); } else { nsURI = support.translateNamespacePrefix( _namespacePrefix ); ns = Namespace.getNamespace(nsURI); attr = ((Element)node).getAttribute( _localName, ns ); } if ( attr != null ) { results.add( attr ); } } } return results; } public List applyToChild(Object node, ContextSupport support) { List results = new ArrayList(); String nsURI = null; Namespace ns = null; if ( _namespacePrefix != null ) { nsURI = support.translateNamespacePrefix( _namespacePrefix ); } if ( node instanceof Document ) { Element child = ((Document)node).getRootElement(); if ( child.getName().equals( _localName ) ) { if ( nsURI == null ) { results.add( child ); } else if ( nsURI.equals( child.getNamespaceURI() ) ) { results.add( child ); } } } else if ( node instanceof Element ) { if ( "*".equals( _localName ) ) { List children = ((Element)node).getChildren(); if ( nsURI == null ) { results.addAll( children ); } else { Iterator childIter = children.iterator(); Element nodeChild = null; while ( childIter.hasNext() ) { nodeChild = (Element) childIter.next(); if ( nsURI.equals( nodeChild.getNamespaceURI() ) ) { results.add( nodeChild ); } } } } else { ns = Namespace.getNamespace( nsURI ); results.addAll( ((Element)node).getChildren( _localName, ns ) ); } } return results; } public String toString() { return "[NameTestStep [" + _namespacePrefix + ":" + _localName + "]]"; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/AbbrStep.java0100644000175000017500000000012307151605300024641 0ustar tokamototokamoto package com.werken.xpath.impl; public abstract class AbbrStep extends Step { } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/SelfStep.java0100644000175000017500000000107607177622603024711 0ustar tokamototokamoto package com.werken.xpath.impl; import com.werken.xpath.ContextSupport; import org.jdom.Element; import java.util.List; import java.util.ArrayList; import java.util.Collections; public class SelfStep extends AbbrStep { public SelfStep() { } /* public Context applyTo(Context context) { return context; } */ public List applyToSelf(Object node, ContextSupport support) { System.err.println("SelfStep.applyToSelf(" + node + ")"); List results = new ArrayList(1); results.add(node); return results; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/FilterExpr.java0100644000175000017500000000121507175702062025237 0ustar tokamototokamoto package com.werken.xpath.impl; import java.util.List; import java.util.ArrayList; public class FilterExpr extends PathExpr { private Expr _expr = null; private List _predicates = null; private LocationPath _path = null; public FilterExpr(Expr expr) { _expr = expr; } public void addPredicate(Predicate pred) { if ( _predicates == null ) { _predicates = new ArrayList(); } _predicates.add(pred); } public void setLocationPath(LocationPath path) { _path = path; _path.setIsAbsolute(false); } public Object evaluate(Context context) { return _expr.evaluate( context ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/Context.java0100644000175000017500000000515107175702037024604 0ustar tokamototokamoto package com.werken.xpath.impl; import com.werken.xpath.ContextSupport; import com.werken.xpath.function.Function; import org.jdom.Document; import org.jdom.Element; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.util.Collections; public class Context implements Cloneable { private ContextSupport _contextSupport = null; private List _nodeSet = null; private int _position = 0; public Context(Document doc, ContextSupport contextSupport) { _nodeSet = new ArrayList(1); _nodeSet.add(doc); _contextSupport = contextSupport; } public Context(Element elem, ContextSupport contextSupport) { _nodeSet = new ArrayList(1); _nodeSet.add(elem); _contextSupport = contextSupport; } public Context(List nodeSet, ContextSupport contextSupport) { _nodeSet = nodeSet; _contextSupport = contextSupport; } public List getNodeSet() { if ( _position == 0 ) { return _nodeSet; } List nodeOnly = new ArrayList(1); nodeOnly.add( getContextNode() ); return nodeOnly; } public int getSize() { return _nodeSet.size(); } public boolean isEmpty() { return _nodeSet.isEmpty(); } public int getPosition() { return _position; } public void setPosition(int position) { _position = position; } public Object getContextNode() { return getNode( _position ); } public Object getNode(int index) { return _nodeSet.get( index - 1 ); } public void setNodeSet(List nodeSet) { if ( nodeSet.isEmpty() ) { _nodeSet = Collections.EMPTY_LIST; } else { _nodeSet = nodeSet; } _position = 0; } public ContextSupport getContextSupport() { return _contextSupport; } public Iterator iterator() { return _nodeSet.iterator(); } public String translateNamespacePrefix(String prefix) { return _contextSupport.translateNamespacePrefix( prefix ); } public Object getVariableValue(String variableName) { return _contextSupport.getVariableValue( variableName ); } public Function getFunction(String name) { return _contextSupport.getFunction( name ); } public Context duplicate() { Context dupe = null; try { dupe = (Context) this.clone(); dupe._nodeSet = (ArrayList) ((ArrayList)this._nodeSet).clone(); } catch (CloneNotSupportedException e) { dupe = null; } return dupe; } public String toString() { return ("[Context " + _nodeSet + "]"); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/PathExpr.java0100644000175000017500000000012207151362631024700 0ustar tokamototokamoto package com.werken.xpath.impl; public abstract class PathExpr extends Expr { } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/Expr.java0100644000175000017500000000021407175201131024056 0ustar tokamototokamoto package com.werken.xpath.impl; import java.util.List; public abstract class Expr { abstract public Object evaluate(Context context); } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/Step.java0100644000175000017500000000125107175201201024053 0ustar tokamototokamoto package com.werken.xpath.impl; import org.jdom.Element; import org.jdom.Attribute; import java.util.List; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.Set; import java.util.HashSet; public abstract class Step extends Expr { private boolean _isAbsolute = false; public void setIsAbsolute(boolean isAbsolute) { _isAbsolute = isAbsolute; } public boolean isAbsolute() { return _isAbsolute; } public Object evaluate(Context context) { return applyTo( context ); } public Context applyTo(Context context) { context.setNodeSet( Collections.EMPTY_LIST ); return context; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/LocationPath.java0100644000175000017500000000424607177623251025553 0ustar tokamototokamoto package com.werken.xpath.impl; import org.jdom.Document; import org.jdom.Element; import org.jdom.Attribute; import java.util.List; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; public class LocationPath extends PathExpr { private boolean _isAbsolute = false; private List _steps = null; public LocationPath() { } public void setIsAbsolute(boolean isAbsolute) { _isAbsolute = isAbsolute; } public boolean isAbsolute() { return _isAbsolute; } public LocationPath addStep(Step step) { if ( _steps == null ) { _steps = new ArrayList(); } _steps.add(step); return this; } public List getSteps() { if ( _steps == null ) { return Collections.EMPTY_LIST; } return _steps; } public Object evaluate(Context context) { return applyTo(context); } public Object applyTo(Context context) { if ( getSteps().isEmpty() ) { if ( isAbsolute() ) { Iterator nodeIter = context.getNodeSet().iterator(); Object each = null; while ( nodeIter.hasNext() ) { each = nodeIter.next(); if ( each instanceof Document ) { List results = new ArrayList(1); results.add( each ); return results; } else if ( each instanceof Element ) { List results = new ArrayList(1); results.add( ((Element)each).getDocument() ); return results; } } } else { return Collections.EMPTY_LIST; } } Iterator stepIter = getSteps().iterator(); Step eachStep = null; Object results = context; boolean stepped = false; while ( stepIter.hasNext() ) { eachStep = (Step) stepIter.next(); //System.err.println("STEP: " + eachStep); if ( (!stepped) && isAbsolute() ) { eachStep.setIsAbsolute(true); } stepped = true; context = eachStep.applyTo( context ); } if (stepped) { return context.getNodeSet(); } return Collections.EMPTY_LIST; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/impl/package.html0100644000175000017500000000025207160040106024555 0ustar tokamototokamoto com.werken.xpath.impl :: package.html

Contains implementation classes for evaluating XPath components werken.xpath-0.9.4.orig/src/com/werken/xpath/util/0042755000175000017500000000000007330702744022332 5ustar tokamototokamotowerken.xpath-0.9.4.orig/src/com/werken/xpath/util/DocumentOrderComparator.java0100644000175000017500000000275607164153345030006 0ustar tokamototokamoto package com.werken.xpath.util; import org.jdom.Document; import org.jdom.Element; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.HashMap; import java.util.Iterator; import java.util.Collections; import java.io.Serializable; public class DocumentOrderComparator implements Serializable { private Map _orderings = null; public DocumentOrderComparator(Document document) { Element rootElement = document.getRootElement(); if (rootElement != null) { List orderedElements = Partition.documentOrderDescendants( rootElement ); _orderings = new HashMap(orderedElements.size() + 1); _orderings.put(rootElement, new Integer(0)); Iterator elemIter = orderedElements.iterator(); int counter = 1; while (elemIter.hasNext()) { _orderings.put( elemIter.next(), new Integer(counter) ); ++counter; } } else { _orderings = Collections.EMPTY_MAP; } } public int compare(Object lhsIn, Object rhsIn) throws ClassCastException { Element lhs = (Element) lhsIn; Element rhs = (Element) rhsIn; if (lhs.equals(rhs)) { return 0; } int lhsIndex = ((Integer)_orderings.get(lhs)).intValue(); int rhsIndex = ((Integer)_orderings.get(rhs)).intValue(); if (lhsIndex < rhsIndex) { return -1; } else if (lhsIndex > rhsIndex) { return 1; } return 0; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/util/Partition.java0100644000175000017500000000677007177561631025162 0ustar tokamototokamoto package com.werken.xpath.util; import org.jdom.Element; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.util.Collections; public class Partition { public static List descendants(Element node) { List results = new ArrayList(); List children = node.getChildren(); results.addAll(children); Iterator childIter = children.iterator(); while (childIter.hasNext()) { results.addAll( Partition.descendants( (Element) childIter.next() ) ); } if (results.isEmpty()) { return Collections.EMPTY_LIST; } return results; } public static List documentOrderDescendants(Element node) { List results = new ArrayList(); List children = node.getChildren(); if (children.isEmpty()) { return Collections.EMPTY_LIST; } Iterator childIter = children.iterator(); Element each = null; while (childIter.hasNext()) { each = (Element) childIter.next(); results.add(each); results.addAll( documentOrderDescendants( each ) ); } if (results.isEmpty()) { return Collections.EMPTY_LIST; } return results; } public static List followingSiblings(Element node) { Element parent = node.getParent(); if (parent == null) { return Collections.EMPTY_LIST; } List siblings = parent.getChildren(); int selfIndex = siblings.indexOf(node); if (selfIndex < 0) { return Collections.EMPTY_LIST; } int total = siblings.size(); if (selfIndex == (total - 1)) { return Collections.EMPTY_LIST; } return new ArrayList( siblings.subList( (selfIndex + 1), siblings.size() ) ); } public static List preceedingSiblings(Element node) { Element parent = node.getParent(); if (parent == null) { return Collections.EMPTY_LIST; } List siblings = parent.getChildren(); int selfIndex = siblings.indexOf(node); if ( (selfIndex < 1) || (siblings.size() == 1) ) { return Collections.EMPTY_LIST; } List results = new ArrayList(); results = siblings.subList(0, selfIndex); return results; } public static List following(Element node) { List results = new ArrayList(); List followingSiblings = Partition.followingSiblings(node); results.addAll(followingSiblings); Iterator sibIter = followingSiblings.iterator(); Element each = null; while (sibIter.hasNext()) { each = (Element) sibIter.next(); results.addAll( Partition.descendants( each ) ); } Element parent = node.getParent(); if (parent != null) { results.addAll( Partition.following( parent ) ); } if (results.isEmpty()) { return Collections.EMPTY_LIST; } return results; } public static List preceeding(Element node) { List results = new ArrayList(); List preceedingSiblings = Partition.preceedingSiblings(node); results.addAll(preceedingSiblings); Iterator sibIter = preceedingSiblings.iterator(); Element each = null; while (sibIter.hasNext()) { each = (Element) sibIter.next(); results.addAll( Partition.descendants( each ) ); } Element parent = node.getParent(); if (parent != null) { results.addAll( Partition.preceeding( parent ) ); } if (results.isEmpty()) { return Collections.EMPTY_LIST; } return results; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/util/ReverseDocumentOrderComparator.java0100644000175000017500000000277407164153512031336 0ustar tokamototokamoto package com.werken.xpath.util; import org.jdom.Document; import org.jdom.Element; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.HashMap; import java.util.Iterator; import java.util.Collections; import java.io.Serializable; public class ReverseDocumentOrderComparator implements Serializable { private Map _orderings = null; public ReverseDocumentOrderComparator(Document document) { Element rootElement = document.getRootElement(); if (rootElement != null) { List orderedElements = Partition.documentOrderDescendants( rootElement ); _orderings = new HashMap(orderedElements.size() + 1); _orderings.put(rootElement, new Integer(0)); Iterator elemIter = orderedElements.iterator(); int counter = 1; while (elemIter.hasNext()) { _orderings.put( elemIter.next(), new Integer(counter) ); ++counter; } } else { _orderings = Collections.EMPTY_MAP; } } public int compare(Object lhsIn, Object rhsIn) throws ClassCastException { Element lhs = (Element) lhsIn; Element rhs = (Element) rhsIn; if (lhs.equals(rhs)) { return 0; } int lhsIndex = ((Integer)_orderings.get(lhs)).intValue(); int rhsIndex = ((Integer)_orderings.get(rhs)).intValue(); if (lhsIndex < rhsIndex) { return 1; } else if (lhsIndex > rhsIndex) { return -1; } return 0; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/XPath.java0100644000175000017500000000760707202560770023250 0ustar tokamototokamoto package com.werken.xpath; import com.werken.xpath.parser.XPathLexer; import com.werken.xpath.parser.XPathRecognizer; import com.werken.xpath.impl.Context; import com.werken.xpath.impl.Expr; import org.jdom.Document; import org.jdom.Element; import antlr.CharBuffer; import antlr.*; import java.io.StringReader; import java.util.List; import java.util.ArrayList; /**

Main run-time interface into the XPath functionality

* *

The XPath object embodies a textual XPath as described by * the W3C XPath specification. It can be applied against a * context node (or nodeset) along with context-helpers to * produce the result of walking the XPath.

* *

Example usage:

* *
 *  
 *
 *      // Create a new XPath
 *      XPath xpath = new XPath("a/b/c/../d/.[@name="foo"]);
 *
 *      // Create the ContextSupport
 *      ContextSupport helper = new ContextSupport();
 *
 *      // Use the XPathFunctionContext instance as the implement
 *      // for function resolution.
 *      helper.setFunctionContext( XPathFunctionContext.getInstance() );
 *
 *      // Apply the XPath to your root context.
 *      Object results = xpath.applyTo(helper, myContext);
 *
 *  
 *  
* * * @see com.werken.xpath.ContextSupport * @see com.werken.xpath.NamespaceContext * @see com.werken.xpath.VariableContext * @see com.werken.xpath.FunctionContext * @see com.werken.xpath.XPathFunctionContext * * @author bob mcwhirter (bob @ werken.com) */ public class XPath { private String _xpath = ""; private Expr _expr = null; /** Construct an XPath */ public XPath(String xpath) { _xpath = xpath; parse(); } public String toString() { return "[XPath: " + _xpath + " " + _expr + "]"; } /** Retrieve the textual XPath string used to initialize this Object * * @return The XPath string */ public String getString() { return _xpath; } private void parse() { StringReader reader = new StringReader(_xpath); InputBuffer buf = new CharBuffer(reader); XPathLexer lexer = new XPathLexer(buf); XPathRecognizer recog = new XPathRecognizer(lexer); try { _expr = recog.xpath(); } catch (RecognitionException e) { e.printStackTrace(); } catch (TokenStreamException e) { e.printStackTrace(); } } public List applyTo(Document doc) { return applyTo( ContextSupport.BASIC_CONTEXT_SUPPORT, doc ); } public List applyTo(List nodes) { return applyTo( ContextSupport.BASIC_CONTEXT_SUPPORT, nodes ); } public List applyTo(Element node) { return applyTo( ContextSupport.BASIC_CONTEXT_SUPPORT, node ); } public List applyTo(ContextSupport contextSupport, Document doc) { return (List) _expr.evaluate( new Context( doc, contextSupport ) ); } /** Apply this XPath to a list of nodes * * @param contextSupport Walk-assisting state * @param nodes Root NodeSet context */ public List applyTo(ContextSupport contextSupport, List nodes) { return (List) _expr.evaluate( new Context( nodes, contextSupport ) ); } /** Apply this XPath to a single root node * * @param contextSupport Walk-assisting state * @param node The root context node */ public List applyTo(ContextSupport contextSupport, Element node) { return (List) _expr.evaluate( new Context( node, contextSupport ) ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/0042755000175000017500000000000007330702744023202 5ustar tokamototokamotowerken.xpath-0.9.4.orig/src/com/werken/xpath/function/NamespaceUriFunction.java0100644000175000017500000000167207175201041030117 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import org.jdom.Attribute; import org.jdom.Element; import java.util.List; /**

4.1 string namespace-uri(node-set?) @author bob mcwhirter (bob @ werken.com) */ public class NamespaceUriFunction implements Function { public Object call(Context context, List args) { if (args.size() == 0) { return evaluate( context ); } // FIXME: Toss exception return null; } public static String evaluate(Context context) { List list = context.getNodeSet(); if ( ! list.isEmpty() ) { Object first = list.get(0); if (first instanceof Element) { return ((Element)first).getNamespaceURI(); } else if (first instanceof Attribute) { return ((Attribute)first).getNamespaceURI(); } } return ""; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/SubstringFunction.java0100644000175000017500000000273107175201104027520 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.2 string substring(string,number,number?) @author bob mcwhirter (bob @ werken.com) */ public class SubstringFunction implements Function { public Object call(Context context, List args) { if (args.size() == 2) { return evaluate( args.get(0), args.get(1) ); } else if (args.size() == 3) { return evaluate( args.get(0), args.get(1), args.get(2) ); } // FIXME: Toss exception return null; } public static String evaluate(Object strArg, Object startArg) { String str = StringFunction.evaluate(strArg); int start = RoundFunction.evaluate( NumberFunction.evaluate(startArg) ).intValue(); start += 1; return str.substring(start); } public static String evaluate(Object strArg, Object startArg, Object lenArg) { String str = StringFunction.evaluate(strArg); int start = RoundFunction.evaluate( NumberFunction.evaluate(startArg) ).intValue(); int len = RoundFunction.evaluate( NumberFunction.evaluate(lenArg) ).intValue(); start += 1; int end = start + len; return str.substring(start, end); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/StartsWithFunction.java0100644000175000017500000000150007175201064027652 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.2 boolean starts-with(string,string) @author bob mcwhirter (bob @ werken.com) */ public class StartsWithFunction implements Function { public Object call(Context context, List args) { if (args.size() == 2) { return evaluate(args.get(0), args.get(1)); } // FIXME: Toss exception return null; } public static Boolean evaluate(Object strArg, Object matchArg) { String str = StringFunction.evaluate(strArg); String match = StringFunction.evaluate(matchArg); return ( str.startsWith(match) ? Boolean.TRUE : Boolean.FALSE ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/CeilingFunction.java0100644000175000017500000000134107175200763027120 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.4 number ceiling(number) @author bob mcwhirter (bob @ werken.com) */ public class CeilingFunction implements Function { public Object call(Context context, List args) { if (args.size() == 1) { return evaluate(args.get(1)); } // FIXME: Toss exception return null; } public static Double evaluate(Object obj) { Double num = NumberFunction.evaluate(obj); int possibly = num.intValue(); if ( possibly < num.doubleValue()) { return new Double(possibly + 1); } return new Double( possibly); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/BooleanFunction.java0100644000175000017500000000215407175200776027134 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.3 boolean boolean(object) @author bob mcwhirter (bob @ werken.com) */ public class BooleanFunction implements Function { public Object call(Context context, List args) { if ( args.size() == 1 ) { return evaluate( args.get(0) ); } // FIXME: Toss an exception return null; } public static Boolean evaluate(Object obj) { boolean result = false; if (obj instanceof Boolean) { return (Boolean) obj; //result = obj.booleanValue(); } else if (obj instanceof Double) { if ( ! ( ((Double)obj).isNaN() ) && ( ((Double)obj).doubleValue() != 0) ) { result = true; } } else if (obj instanceof List) { result = ( ((List)obj).size() > 0 ); } else if (obj instanceof String) { result = ( ((String)obj).length() > 0 ); } return (result ? Boolean.TRUE : Boolean.FALSE ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/Function.java0100644000175000017500000000077007175201440025623 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

Interface for Function objects to conform to, * for extensible function libraries. */ public interface Function { /** Call the function object. * * @param context The current context the function operates upon * @param args The argument list to the function. * * @return The result from calling the function. */ Object call(Context context, List args); } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/RoundFunction.java0100644000175000017500000000144407175201060026630 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.4 number round(number) @author bob mcwhirter (bob @ werken.com) */ public class RoundFunction implements Function { public Object call(Context context, List args) { if (args.size() == 1) { return evaluate(args.get(1)); } // FIXME: Toss exception return null; } public static Double evaluate(Object obj) { Double num = NumberFunction.evaluate(obj); if (num.isNaN()) { return num; } int rounded = (int) (num.doubleValue() + 0.5); // FIXME take care of that wacky -0 rounding thing // for values between -0.5 and 0. return new Double(rounded); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/ConcatFunction.java0100644000175000017500000000141407175201007026746 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; import java.util.Iterator; /**

4.2 boolean concat(string,string,string*) @author bob mcwhirter (bob @ werken.com) */ public class ConcatFunction implements Function { public Object call(Context context, List args) { if ( args.size() >= 2 ) { return evaluate(args); } return null; } public static String evaluate(List list) { StringBuffer result = new StringBuffer(); Iterator argIter = list.iterator(); while ( argIter.hasNext() ) { result.append( StringFunction.evaluate( argIter.next() ) ); } return result.toString(); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/CountFunction.java0100644000175000017500000000117407175201020026625 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.1 number count(node-set) @author bob mcwhirter (bob @ werken.com) */ public class CountFunction implements Function { public Object call(Context context, List args) { if (args.size() == 1) { return evaluate( args.get(0) ); } // FIXME: Toss exception return null; } public static Double evaluate(Object obj) { if (obj instanceof List) { return new Double( ((List)obj).size() ); } return null; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/NameFunction.java0100644000175000017500000000165307175201046026427 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import org.jdom.Attribute; import org.jdom.Element; import java.util.List; /**

4.1 string name(node-set?) @author bob mcwhirter (bob @ werken.com) */ public class NameFunction implements Function { public Object call(Context context, List args) { if (args.size() == 0) { return evaluate( context ); } // FIXME: Toss exception return null; } public static String evaluate(Context context) { List list = context.getNodeSet(); if ( ! list.isEmpty() ) { Object first = list.get(0); if (first instanceof Element) { return ((Element)first).getQualifiedName(); } else if (first instanceof Attribute) { return ((Attribute)first).getQualifiedName(); } } return ""; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/LastFunction.java0100644000175000017500000000111107175201032026432 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; import java.util.Iterator; /**

4.1 number last() @author bob mcwhirter (bob @ werken.com) */ public class LastFunction implements Function { public Object call(Context context, List args) { if (args.size() == 0) { return evaluate( context ); } // FIXME: Toss exception return null; } public static Double evaluate(Context context) { return new Double( context.getSize() ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/TrueFunction.java0100644000175000017500000000100507175201112026447 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.3 boolean true() @author bob mcwhirter (bob @ werken.com) */ public class TrueFunction implements Function { public Object call(Context context, List args) { if (args.size() == 0) { return evaluate(); } // FIXME: Toss exception return null; } public static Boolean evaluate() { return Boolean.TRUE; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/SumFunction.java0100644000175000017500000000151007175201107026301 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; import java.util.Iterator; /**

4.4 number sum(node-set) @author bob mcwhirter (bob @ werken.com) */ public class SumFunction implements Function { public Object call(Context context, List args) { if (args.size() == 1) { return evaluate(args.get(1)); } // FIXME: Toss exception return null; } public static Double evaluate(Object obj) { Double result = null; double sum = 0; if (obj instanceof List) { Iterator nodeIter = ((List)obj).iterator(); while (nodeIter.hasNext()) { sum += NumberFunction.evaluate(nodeIter.next()).doubleValue(); } } return new Double(sum); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/FloorFunction.java0100644000175000017500000000112007175201025026612 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.4 number floor(number) @author bob mcwhirter (bob @ werken.com) */ public class FloorFunction implements Function { public Object call(Context context, List args) { if (args.size() == 1) { return evaluate(args.get(1)); } // FIXME: Toss exception return null; } public static Double evaluate(Object obj) { return new Double( NumberFunction.evaluate(obj).intValue() ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/StringFunction.java0100644000175000017500000000345507175201070027014 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import org.jdom.Attribute; import org.jdom.Element; import java.util.List; import java.util.Iterator; /**

4.2 string string(object) @author bob mcwhirter (bob @ werken.com) */ public class StringFunction implements Function { public Object call(Context context, List args) { if ( args.size() == 0 ) { return evaluate( context ); } if ( args.size() == 1 ) { return evaluate( args.get(0) ); } // FIXME: Toss an exception return null; } public static String evaluate(Object obj) { String result = null; if (obj instanceof String) { result = (String) obj; } else if (obj instanceof Attribute) { result = ((Attribute)obj).getValue(); } else if (obj instanceof Element) { result = evaluate( (Element)obj ); } else if (obj instanceof List) { if ( ((List)obj).size() == 0 ) { result = ""; } else { result = evaluate( ((List)obj).get(0) ); } } else { result = obj.toString(); } // FIXME should handle List case! return result; } public static String evaluate(Element elem) { List content = elem.getMixedContent(); Iterator contentIter = content.iterator(); Object each = null; StringBuffer stringValue = new StringBuffer(); while (contentIter.hasNext()) { each = contentIter.next(); if (each instanceof String) { stringValue.append( (String) each ); } else if (each instanceof Element) { stringValue.append( StringFunction.evaluate( (Element)each ) ); } } return stringValue.toString(); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/NumberFunction.java0100644000175000017500000000133407175201055026773 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.4 number number(object) @author bob mcwhirter (bob @ werken.com) */ public class NumberFunction implements Function { public Object call(Context context, List args) { if (args.size() == 1) { return evaluate(args.get(1)); } // FIXME: Toss exception return null; } public static Double evaluate(Object obj) { Double result = null; if (obj instanceof Double) { result = (Double) obj; } else { result = Double.valueOf( StringFunction.evaluate(obj) ); } return result; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/NotFunction.java0100644000175000017500000000122607175201052026300 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.3 boolean not(boolean) @author bob mcwhirter (bob @ werken.com) */ public class NotFunction implements Function { public Object call(Context context, List args) { if (args.size() == 1) { return evaluate( args.get(0) ); } // FIXME: Toss exception return null; } public static Boolean evaluate(Object obj) { return ( ( BooleanFunction.evaluate(obj).booleanValue() ) ? Boolean.FALSE : Boolean.TRUE ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/SubstringBeforeFunction.java0100644000175000017500000000152207175201101030635 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.2 string substring-before(string,string) @author bob mcwhirter (bob @ werken.com) */ public class SubstringBeforeFunction implements Function { public Object call(Context context, List args) { if (args.size() == 2) { return evaluate(args.get(0), args.get(1)); } // FIXME: Toss exception return null; } public static String evaluate(Object strArg, Object matchArg) { String str = StringFunction.evaluate(strArg); String match = StringFunction.evaluate(matchArg); int loc = str.indexOf(match); if ( loc < 0 ) { return ""; } return str.substring(0, loc); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/LocalNameFunction.java0100644000175000017500000000164407175201036027401 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import org.jdom.Attribute; import org.jdom.Element; import java.util.List; /**

4.1 string local-name(node-set?) @author bob mcwhirter (bob @ werken.com) */ public class LocalNameFunction implements Function { public Object call(Context context, List args) { if (args.size() == 0) { return evaluate( context ); } // FIXME: Toss exception return null; } public static String evaluate(Context context) { List list = context.getNodeSet(); if ( ! list.isEmpty() ) { Object first = list.get(0); if (first instanceof Element) { return ((Element)first).getName(); } else if (first instanceof Attribute) { return ((Attribute)first).getName(); } } return ""; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/ContainsFunction.java0100644000175000017500000000150007175201013027306 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.2 boolean contains(string,string) @author bob mcwhirter (bob @ werken.com) */ public class ContainsFunction implements Function { public Object call(Context context, List args) { if (args.size() == 2) { return evaluate(args.get(0), args.get(1)); } // FIXME: Toss exception return null; } public static Boolean evaluate(Object strArg, Object matchArg) { String str = StringFunction.evaluate(strArg); String match = StringFunction.evaluate(matchArg); return ( ( str.indexOf(match) >= 0) ? Boolean.TRUE : Boolean.FALSE ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/StringLengthFunction.java0100644000175000017500000000127307175201073030155 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.2 number string-length(string) @author bob mcwhirter (bob @ werken.com) */ public class StringLengthFunction implements Function { public Object call(Context context, List args) { if (args.size() == 0) { return evaluate(context); } else if (args.size() == 1) { return evaluate(args.get(0)); } // FIXME: Toss exception return null; } public static Double evaluate(Object obj) { String str = StringFunction.evaluate(obj); return new Double(str.length()); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/SubstringAfterFunction.java0100644000175000017500000000152307175201076030510 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.2 string substring-after(string,string) @author bob mcwhirter (bob @ werken.com) */ public class SubstringAfterFunction implements Function { public Object call(Context context, List args) { if (args.size() == 2) { return evaluate(args.get(0), args.get(1)); } // FIXME: Toss exception return null; } public static String evaluate(Object strArg, Object matchArg) { String str = StringFunction.evaluate(strArg); String match = StringFunction.evaluate(matchArg); int loc = str.indexOf(match); if ( loc < 0 ) { return ""; } return str.substring(loc+1); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/FalseFunction.java0100644000175000017500000000101007175201023026557 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.3 boolean false() @author bob mcwhirter (bob @ werken.com) */ public class FalseFunction implements Function { public Object call(Context context, List args) { if (args.size() == 0) { return evaluate(); } // FIXME: Toss exception return null; } public static Boolean evaluate() { return Boolean.FALSE; } } werken.xpath-0.9.4.orig/src/com/werken/xpath/function/package.html0100644000175000017500000000153307160037745025463 0ustar tokamototokamoto com.werken.xpath.function :: package.html

Provides implementations for the core XPath Function Library

From The W3C XPath Specification

werken.xpath-0.9.4.orig/src/com/werken/xpath/function/PositionFunction.java0100644000175000017500000000127007175343215027353 0ustar tokamototokamoto package com.werken.xpath.function; import com.werken.xpath.impl.Context; import java.util.List; /**

4.1 number position() @author bob mcwhirter (bob @ werken.com) */ public class PositionFunction implements Function { public Object call(Context context, List args) { System.err.println("*******************************"); System.err.println("position(" + context + ", " + args + ")"); if (args.size() == 0) { return evaluate( context ); } // FIXME: Toss exception return null; } public static Double evaluate(Context context) { return new Double( context.getPosition() ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/FunctionContext.java0100644000175000017500000000130207174622725025347 0ustar tokamototokamoto package com.werken.xpath; import com.werken.xpath.function.Function; /**

Specification of the interface required by * {@link com.werken.xpath.ContextSupport} for delegation * of function resolution.

* * @author bob mcwhirter (bob @ werken.com) */ public interface FunctionContext { /** Retrieve a named function * *

Retrieve the named function object, or null * if no such function exists. * * @param name The name of the function sought. * * @return The {@link com.werken.xpath.function.Function} * matching the specified name. * * @see com.werken.xpath.ContextSupport#setFunctionContext */ Function getFunction(String name); } werken.xpath-0.9.4.orig/src/com/werken/xpath/overview.html0100644000175000017500000000072507160037344024106 0ustar tokamototokamoto

The werken.xpath implementation is built upon JDOM, which is available at www.jdom.org.

werken.xpath attempts to be a fully-compliant implementation of the W3C XPath specification.

Currently, it's not.

The homepage for the werken.xpath project is http://code.werken.com/xpath. werken.xpath-0.9.4.orig/src/com/werken/xpath/Test.java0100644000175000017500000000307207175202734023135 0ustar tokamototokamoto package com.werken.xpath; import org.jdom.*; import org.jdom.input.SAXBuilder; import org.jdom.output.XMLOutputter; import java.util.List; import java.util.Iterator; import java.io.File; import java.io.IOException; /** Example Test driver for werken.xpath * * @author bob mcwhirter (bob @ werken.com) */ public class Test { public static void main(String[] args) { System.out.println("werken xpath -- test driver\n"); if ( args.length != 2 ) { System.err.println("Usage: java ...TestDriver "); System.exit(1); } SAXBuilder builder = new SAXBuilder(); File inFile = new File(args[0]); String xpathExpr = args[1]; try { Document doc = builder.build(inFile); XPath xpath = new XPath(xpathExpr); System.err.println("XPath :: " + xpath.getString()); ContextSupport contextSupport = new ContextSupport(); DefaultVariableContext vc = new DefaultVariableContext(); vc.setVariableValue("foo", "cheese burgers"); System.err.println("Context :: " + doc); NamespaceContext nc = new ElementNamespaceContext( doc.getRootElement() ); contextSupport.setFunctionContext( XPathFunctionContext.getInstance() ); contextSupport.setVariableContext( vc ); contextSupport.setNamespaceContext( nc ); Object results = xpath.applyTo(contextSupport, doc); System.err.println("Results :: " + results); } catch (JDOMException jde) { jde.printStackTrace(System.err); } } } werken.xpath-0.9.4.orig/src/com/werken/xpath/NamespaceContext.java0100644000175000017500000000120407174622737025462 0ustar tokamototokamoto package com.werken.xpath; /**

Specification of the interface required by * {@link com.werken.xpath.ContextSupport} for delegation * of namespace prefix binding resolution.

* * @autho bob mcwhirter (bob @ werken.com) */ public interface NamespaceContext { /** Translate a namespace prefix into a URI * * Translate the prefix used in a component of an XPath * into its expanded namespace URI.

* * @param prefix The namespace prefix * * @return The URI matching the prefix * * @see com.werken.xpath.ContextSupport#setNamespaceContext */ String translateNamespacePrefix(String prefix); } werken.xpath-0.9.4.orig/src/com/werken/xpath/ElementNamespaceContext.java0100644000175000017500000000447307175203675027004 0ustar tokamototokamoto package com.werken.xpath; import org.jdom.Element; import org.jdom.Namespace; import java.util.Map; import java.util.HashMap; import java.util.Stack; import java.util.List; import java.util.Iterator; /**

A {@link com.werken.xpath.NamespaceContext} which gets it's mappings * from an Element in a JDOM tree.

* *

It currently DOES NOT WORK

* * @author bob mcwhirter (bob @ werken.com) */ public class ElementNamespaceContext implements NamespaceContext { private Element _element = null; private Map _namespaceMapping = null; /** Construct the NamespaceContext from a JDOM Element * * @param element The JDOM element to use for prefix->nsURI mapping */ public ElementNamespaceContext(Element element) { _element = element; } /** Translate a namespace prefix into a URI * * Translate the prefix used in a component of an XPath * into its expanded namespace URI.

* * @param prefix The namespace prefix * * @return The URI matching the prefix * * @see com.werken.xpath.ContextSupport#setNamespaceContext */ public String translateNamespacePrefix(String prefix) { // Initialize the prefix->URI mapping upon the first // call to this method. Traverse from the <> // to the current Element, accumulating namespace // declarations. if ( prefix == null || "".equals( prefix ) ) { return ""; } if ( _namespaceMapping == null ) { _namespaceMapping = new HashMap(); Stack lineage = new Stack(); lineage.push(_element); Element elem = _element.getParent(); while (elem != null) { lineage.push(elem); elem = elem.getParent(); } List nsList = null; Iterator nsIter = null; Namespace eachNS = null; while ( ! lineage.isEmpty() ) { elem = (Element) lineage.pop(); nsList = elem.getAdditionalNamespaces(); if ( ! nsList.isEmpty() ) { nsIter = nsList.iterator(); while (nsIter.hasNext()) { eachNS = (Namespace) nsIter.next(); _namespaceMapping.put( eachNS.getPrefix(), eachNS.getURI() ); } } } } return (String) _namespaceMapping.get( prefix ); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/VariableContext.java0100644000175000017500000000130207174622764025312 0ustar tokamototokamoto package com.werken.xpath; /**

Specification of the interface required by * {@link com.werken.xpath.ContextSupport} for delegation * of variable resolution.

* * @author bob mcwhirter (bob @ werken.com) */ public interface VariableContext { /** Resolve a variable binding * *

Retrieve the currently bound value of the named * variable, or null if no such binding exists. * * @param name The name of the variable sought. * * @return The currently bound value of the variable, or null. * * @see com.werken.xpath.ContextSupport#getVariableValue * @see com.werken.xpath.ContextSupport#setVariableContext */ Object getVariableValue(String name); } werken.xpath-0.9.4.orig/src/com/werken/xpath/DefaultVariableContext.java0100644000175000017500000000232407174622705026617 0ustar tokamototokamoto package com.werken.xpath; import java.util.Map; import java.util.HashMap; /**

A {@link com.werken.xpath.VariableContext} * implementation based upon a java.util.HashMap for simple * name-value mappings.

* * @author bob mcwhirter (bob @ werken.com) */ public class DefaultVariableContext implements VariableContext { private Map _variables = new HashMap(); /** Resolve a variable binding * *

Retrieve the currently bound value of the named * variable, or null if no such binding exists. * * @param name The name of the variable sought. * * @return The currently bound value of the variable, or null. * * @see com.werken.xpath.ContextSupport#getVariableValue * @see com.werken.xpath.ContextSupport#setVariableContext */ public Object getVariableValue(String name) { return _variables.get(name); } /** Set a variable finding * *

Set the value of a named variable. * * @param name The name of the variable to bind to the value * @param value The value to bind to the variable name. */ public void setVariableValue(String name, Object value) { _variables.put(name, value); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/XPathFunctionContext.java0100644000175000017500000001057607175343333026325 0ustar tokamototokamoto package com.werken.xpath; import com.werken.xpath.function.*; import java.util.Map; import java.util.HashMap; /**

Implementation of {@link com.werken.xpath.FunctionContext} which * matches the core function library as described by the W3C XPath * Specification.

* *

May be directly instantiated or subclassed. A Singleton is * provided for ease-of-use in the default case of bare XPaths.

* * @author bob mcwhirter (bob @ werken.com) */ public class XPathFunctionContext implements FunctionContext { /** Lock for Singleton creation and double-checked locking */ private final static Object _instanceLock = new Object(); /** Singleton instance */ private static XPathFunctionContext _instance = null; /** Actual map of name-to-function. */ private final Map _functions = new HashMap(); /** Get the XPathFunctionContext singleton. * * @return The global, immutable FunctionContext which matches * the functions as described by the W3C XPath specification. */ public static XPathFunctionContext getInstance() { if (_instance == null) { synchronized (_instanceLock) { if (_instance == null) { _instance = new XPathFunctionContext(); } } } return _instance; } public XPathFunctionContext() { // ---------------------------------------- // Node-set Functions // // Section 4.1 // ---------------------------------------- addFunction( "last", new LastFunction() ); addFunction( "position", new PositionFunction() ); addFunction( "count", new CountFunction() ); addFunction( "local-name", new LocalNameFunction() ); addFunction( "namespace-uri", new NamespaceUriFunction() ); addFunction( "name", new NameFunction() ); // ---------------------------------------- // String Functions // // Section 4.2 // ---------------------------------------- addFunction( "string", new StringFunction() ); addFunction( "concat", new ConcatFunction() ); addFunction( "starts-with", new StartsWithFunction() ); addFunction( "contains", new ContainsFunction() ); addFunction( "substring-before", new SubstringBeforeFunction() ); addFunction( "substring-after", new SubstringAfterFunction() ); addFunction( "substring", new SubstringFunction() ); addFunction( "string-length", new StringLengthFunction() ); // ---------------------------------------- // Boolean Functions // // Section 4.3 // ---------------------------------------- addFunction( "boolean", new BooleanFunction() ); addFunction( "not", new NotFunction() ); addFunction( "true", new TrueFunction() ); addFunction( "false", new FalseFunction() ); // ---------------------------------------- // Number Functions // // Section 4.4 // ---------------------------------------- addFunction( "number", new NumberFunction()); addFunction( "sum", new SumFunction()); addFunction( "floor", new FloorFunction()); addFunction( "ceiling", new CeilingFunction()); addFunction( "round", new RoundFunction()); } /** Add a function to this FunctionContext * * @param name The name of the function. * @param func The implementing Function Object. */ protected void addFunction(String name, Function func) { _functions.put(name, func); } /** Retrieve a named function * *

Retrieve the named function object, or null * if no such function exists. * * @param name The name of the function sought. * * @return The {@link com.werken.xpath.function.Function} * matching the specified name. * * @see com.werken.xpath.ContextHelper#setFunctionContext */ public Function getFunction(String name) { return (Function) _functions.get(name); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/parser/0042755000175000017500000000000007330702744022651 5ustar tokamototokamotowerken.xpath-0.9.4.orig/src/com/werken/xpath/parser/xpath.g0100644000175000017500000002352307177626225024155 0ustar tokamototokamoto/* This is an antlr (www.antlr.org) grammar specifying a recognizer/parser/lexer group compliant with the W3C Recommendation known as: XML Path Language (XPath) Version 1.0 W3C Recommendation 16 November 1999 http://www.w3c.org/TR/1999/REC-xpath-19991116 It is annotated with both implementation comments, and references to the XPath standard's production rules for recognizing parts of an xpath. author: bob mcwhirter (bob@werken.com) license: Apache Software Foundation copyright: bob mcwhirter AND Werken & Sons Company */ header { package com.werken.xpath.parser; import com.werken.xpath.XPath; import com.werken.xpath.impl.*; import java.util.List; import java.util.ArrayList; import java.util.Collections; /** Generated by antlr parser-generator */ } class XPathRecognizer extends Parser; options { k = 2; exportVocab=XPath; } // ---------------------------------------- // Helpful methods { private Expr makeBinaryExpr(Op op, Expr lhs, Expr rhs) { if ( op == null ) { return lhs; } return new BinaryExpr(op, lhs, rhs); } } xpath returns [Expr expr] { expr = null; } : expr=union_expr ; location_path returns [LocationPath path] { path = null; } : path=absolute_location_path | path=relative_location_path ; absolute_location_path returns [LocationPath path] { path = new LocationPath(); } : ( SLASH^ | DOUBLE_SLASH^ { path.addStep( new NodeTypeStep("descendant-or-self", "node") ); } ) ( (AT|STAR|IDENTIFIER)=> path=i_relative_location_path[path] | ) { path.setIsAbsolute(true); } ; relative_location_path returns [LocationPath path] { path = null; } : path=i_relative_location_path[path] ; i_relative_location_path[LocationPath in_path] returns [LocationPath path] { if (in_path == null) { path = new LocationPath(); } else { path = in_path; } Step step = null; } : step=step { path.addStep(step); } ( ( SLASH^ | DOUBLE_SLASH^ { path.addStep( new NodeTypeStep("descendant-or-self", "node") ); } ) step=step { path.addStep(step); } )* ; step returns [Step step] { step = null; String axis = "child"; String localName = null; String prefix = null; String nodeType = null; Predicate pred = null; } : ( // If it has an axis ( (IDENTIFIER DOUBLE_COLON | AT)=> axis=axis | ) ( ( ( ( ns:IDENTIFIER COLON { prefix = ns.getText(); } )? ( id:IDENTIFIER { localName = id.getText(); } | STAR { localName = "*"; } ) ) { step = new NameTestStep(axis, prefix, localName); } ) | step=special_step[axis] ) ( pred=predicate { ((UnAbbrStep)step).addPredicate(pred); } )* ) | step=abbr_step ( pred=predicate { ((UnAbbrStep)step).addPredicate(pred); } )* ; special_step[String axis] returns [Step step] { step = null; String piTarget = null; } : { LT(1).getText().equals("processing-instruction") }? IDENTIFIER LEFT_PAREN ( target:IDENTIFIER { piTarget = target.getText(); } )? RIGHT_PAREN { step = new PIStep(axis, piTarget); } | { LT(1).getText().equals("comment") || LT(1).getText().equals("text") || LT(1).getText().equals("node") }? nodeType:IDENTIFIER LEFT_PAREN RIGHT_PAREN { step = new NodeTypeStep(axis, nodeType.getText()); } ; axis returns [String axisName] { axisName = null; } : ( id:IDENTIFIER DOUBLE_COLON^ { axisName = id.getText(); } | AT { axisName = "attribute"; } ) ; // ---------------------------------------- // Section 2.4 // Predicates // ---------------------------------------- // .... production [8] .... // predicate returns [Predicate pred] { pred = null; } : LEFT_BRACKET^ pred=predicate_expr RIGHT_BRACKET! ; // .... production [9] .... // predicate_expr returns [Predicate pred] { pred = null; Expr expr = null; } : expr=expr { pred = new Predicate(expr); } ; // .... production [12] .... // abbr_step returns [Step step] { step = null; } : DOT { step = new NodeTypeStep("self", "node"); } | DOT_DOT { step = new ParentStep(); } ; // .... production [13] .... // abbr_axis_specifier : ( AT )? ; // ---------------------------------------- // Section 3 // Expressions // ---------------------------------------- // ---------------------------------------- // Section 3.1 // Basics // ---------------------------------------- // .... production [14] .... // expr returns [Expr expr] { expr = null; } : expr=or_expr ; // .... production [15] .... // primary_expr returns [Expr expr] { expr = null; } : expr=variable_reference | LEFT_PAREN! expr=expr RIGHT_PAREN! | expr=literal | expr=number | expr=function_call ; literal returns [Expr expr] { expr = null; } : lit:LITERAL^ { expr = new StringExpr(lit.getText()); } ; number returns [Expr expr] { expr = null; } : num:NUMBER^ { expr = new NumberExpr(num.getText()); } ; variable_reference returns [VariableExpr expr] { expr = null; } : DOLLAR_SIGN^ id:IDENTIFIER { expr = new VariableExpr(id.getText()); } ; // ---------------------------------------- // Section 3.2 // Function Calls // ---------------------------------------- // .... production [16] .... // function_call returns [FunctionExpr expr] { expr = null; List args = null; } : id:IDENTIFIER LEFT_PAREN^ ( args=arg_list )? RIGHT_PAREN! { expr = new FunctionExpr(id.getText(), args); } ; // .... production [16.1] .... // arg_list returns [List args] { args = new ArrayList(); Expr expr = null; } : expr=argument { args.add(expr); } ( COMMA expr=argument { args.add(expr); } )* ; // .... production [17] .... // argument returns [Expr expr] { expr = null; } : expr=expr ; // ---------------------------------------- // Section 3.3 // Node-sets // ---------------------------------------- // .... production [18] .... // union_expr returns [Expr expr] { expr = null; Expr lhs = null; Expr rhs = null; Op op = null; } : lhs=path_expr ( PIPE! { op=Op.UNION; } rhs=path_expr )* { expr = makeBinaryExpr(op, lhs, rhs); } ; // .... production [19] .... // path_expr returns [PathExpr expr] { expr = null; LocationPath path = null; } : // This is here to differentiate between the // special case of the first step being a NodeTypeTest // or just a normal filter-expr function call. // Is it a special nodeType 'function name' (IDENTIFIER LEFT_PAREN)=>{ LT(1).getText().equals("processing-instruction") || LT(1).getText().equals("comment") || LT(1).getText().equals("text") || LT(1).getText().equals("node") }? expr=location_path | (IDENTIFIER LEFT_PAREN)=> expr=filter_expr ( path=absolute_location_path { ((FilterExpr)expr).setLocationPath(path); } )? | (DOT|DOT_DOT|SLASH|DOUBLE_SLASH|IDENTIFIER|AT)=> expr=location_path | expr=filter_expr ( path=absolute_location_path { ((FilterExpr)expr).setLocationPath(path); } )? ; // .... production [20] .... // filter_expr returns [ FilterExpr expr ] { expr = null; Predicate pred = null; Expr filterExpr = null; } : filterExpr=primary_expr { expr = new FilterExpr(filterExpr); } ( pred=predicate { expr.addPredicate(pred); } )* ; // ---------------------------------------- // Section 3.4 // Booleans // ---------------------------------------- // .... production [21] .... // or_expr returns [Expr expr] { expr = null; Expr lhs = null; Expr rhs = null; Op op = null; } : expr=and_expr ( KW_OR^ { op = Op.OR; } rhs=and_expr { expr = makeBinaryExpr(op, expr, rhs); } )* ; // .... production [22] .... // and_expr returns [Expr expr] { expr = null; Expr lhs = null; Expr rhs = null; Op op = null; } : lhs=equality_expr ( KW_AND^ { op = Op.AND; } rhs=equality_expr )? { expr = makeBinaryExpr(op, lhs, rhs); } ; // .... production [23] .... // equality_expr returns [Expr expr] { expr = null; Expr lhs = null; Expr rhs = null; Op op = null; } : lhs=relational_expr ( ( EQUALS^ { op = Op.EQUAL; } | NOT_EQUALS^ { op = Op.NOT_EQUAL; } ) rhs=relational_expr )? { expr = makeBinaryExpr(op, lhs, rhs); } ; // .... production [24] .... // relational_expr returns [Expr expr] { expr = null; Expr lhs = null; Expr rhs = null; Op op = null; } : lhs=additive_expr ( ( LT^ { op = Op.LT; } | GT^ { op = Op.GT; } | LTE^ { op = Op.LT_EQUAL; } | GTE^ { op = Op.GT_EQUAL; } ) rhs=additive_expr )? { expr = makeBinaryExpr(op, lhs, rhs); } ; // ---------------------------------------- // Section 3.5 // Numbers // ---------------------------------------- // .... production [25] .... // additive_expr returns [Expr expr] { expr = null; Expr lhs = null; Expr rhs = null; Op op = null; } : lhs=mult_expr ( ( PLUS^ { op = Op.PLUS; } | MINUS^ { op = Op.MINUS; } ) rhs=mult_expr )? { expr = makeBinaryExpr(op, lhs, rhs); } ; // .... production [26] .... // mult_expr returns [Expr expr] { expr = null; Expr lhs = null; Expr rhs = null; Op op = null; } : lhs=unary_expr ( ( STAR^ { op = Op.MULTIPLY; } | DIV^ { op = Op.DIV; } | MOD^ { op = Op.MOD; } ) rhs=unary_expr )? { expr = makeBinaryExpr(op, lhs, rhs); } ; // .... production [27] .... // unary_expr returns [Expr expr] { expr = null; } : expr=union_expr | MINUS expr=unary_expr { expr = new NegativeExpr(expr); } ; werken.xpath-0.9.4.orig/src/com/werken/xpath/parser/xpath_lexer.g0100644000175000017500000000222707204257645025347 0ustar tokamototokamoto header { package com.werken.xpath.parser; /** Generated by antlr parser-generator */ } class XPathLexer extends Lexer; options { k = 3; importVocab=XPath; } tokens { KW_OR = "or"; KW_AND = "and"; } WS : ('\n' | ' ' | '\t' | '\r')+ { $setType(Token.SKIP); } ; protected DIGIT : ('0'..'9') ; protected SINGLE_QUOTE_STRING : '\''! (~('\''))* '\''! ; protected DOUBLE_QUOTE_STRING : '"'! (~('"'))* '"'! ; LITERAL : SINGLE_QUOTE_STRING | DOUBLE_QUOTE_STRING ; NUMBER : (DIGIT)+ ('.' (DIGIT)+)? ; IDENTIFIER options { testLiterals=true; } : ('\241'..'\377'|'a'..'z'|'A'..'Z'|'_') ('\241'..'\377'|'a'..'z'|'A'..'Z'|'-'|'_'|'0'..'9'|'.')* ; LEFT_PAREN : '(' ; RIGHT_PAREN : ')' ; LEFT_BRACKET : '[' ; RIGHT_BRACKET : ']' ; PIPE : '|' ; DOT : '.' ; DOT_DOT : ".." ; AT : '@' ; COMMA : ',' ; DOUBLE_COLON : "::" ; COLON : ":" ; SLASH : '/' ; DOUBLE_SLASH : '/' '/' ; DOLLAR_SIGN : '$' ; PLUS : '+' ; MINUS : '-' ; EQUALS : '=' ; NOT_EQUALS : "!=" ; LT : '<' ; LTE : "<=" ; GT : '>' ; GTE : ">=" ; STAR : '*' ; werken.xpath-0.9.4.orig/src/com/werken/xpath/parser/package.html0100644000175000017500000000031007160040050025101 0ustar tokamototokamoto com.werken.xpath.parser :: package.html

Contains generated Java classes from the antlr grammar. werken.xpath-0.9.4.orig/src/com/werken/xpath/ContextSupport.java0100644000175000017500000000767607202560640025247 0ustar tokamototokamoto package com.werken.xpath; import com.werken.xpath.function.Function; import java.util.Map; import java.util.HashMap; import java.util.Iterator; /**

ContextSupport maintains information to aid in the * execution of the XPath against a context node.

* *

It separates the knowledge of functions, variables * and namespace-bindings from the context node to * be walked.

* * @author bob mcwhirter (bob @ werken.com) */ public class ContextSupport { static final ContextSupport BASIC_CONTEXT_SUPPORT = new ContextSupport(); private NamespaceContext _nsContext = null; private FunctionContext _functionContext = XPathFunctionContext.getInstance(); private VariableContext _variableContext = null; /** Construct a semantically empty ContextSupport */ public ContextSupport() { // intentionally left blank } /** Construct a semantically initialized ContextSupport * * @param nsContext The NamespaceContext implementation * @param functionContext The FunctionContext implementation * @param variableContext The VariableContext implementation */ public ContextSupport(NamespaceContext nsContext, FunctionContext functionContext, VariableContext variableContext) { _nsContext = nsContext; _functionContext = functionContext; _variableContext = variableContext; } /** Set the NamespaceContext implementation * * @param nsContext The NamespaceContext implementation */ public void setNamespaceContext(NamespaceContext nsContext) { _nsContext = nsContext; } /** Set the FunctionContext implementation * * @param functionContext The FunctionContext implementation */ public void setFunctionContext(FunctionContext functionContext) { _functionContext = functionContext; } /** Set the VariableContext implementation * * @param variableContext The FunctionContext implementation */ public void setVariableContext(VariableContext variableContext) { _variableContext = variableContext; } /** Translate a namespace prefix into a URI * *

Using the {@link com.werken.xpath.NamespaceContext} * implementation, translate the prefix used in a component of an XPath * into its expanded namespace URI.

* * @param prefix The namespace prefix * * @return The URI matching the prefix * * @see #setNamespaceContext */ public String translateNamespacePrefix(String prefix) { if (_nsContext == null) { return null; } return _nsContext.translateNamespacePrefix(prefix); } /** Retrieve a named function * *

Retrieve the named function object, or null * if no such function exists. Delegates to the * {@link com.werken.xpath.FunctionContext} implementation * provided, if any. * * @param name The name of the function sought. * * @return The {@link com.werken.xpath.function.Function} * matching the specified name. * * @see #setFunctionContext */ public Function getFunction(String name) { return _functionContext.getFunction(name); } /** Resolve a variable binding * *

Retrieve the currently bound value of the named * variable, or null if no such binding exists. Delegates * to the {@link com.werken.xpath.VariableContext} implementation * provided, if any. * * @param name The name of the variable sought. * * @return The currently bound value of the variable, or null. * * @see #setVariableContext */ public Object getVariableValue(String name) { if ( _variableContext == null ) { return null; } return _variableContext.getVariableValue(name); } } werken.xpath-0.9.4.orig/src/com/werken/xpath/Context.java0100644000175000017500000000072607175200641023640 0ustar tokamototokamoto package com.werken.xpath; import com.werken.xpath.function.Function; import java.util.List; public interface Context { List getNodeSet(); Object getContextNode(); int getPosition(); int getSize(); boolean isEmpty(); String translateNamespacePrefix(String prefix); Object getVariableValue(String name); Function getFunction(String name); ContextSupport getContextSupport(); void setNodeSet(List nodeSet); Context duplicate(); } werken.xpath-0.9.4.orig/src/com/werken/xpath/package.html0100644000175000017500000000022107160040002023603 0ustar tokamototokamoto com.werken.xpath :: package.html

Provides the core tools needed to use XPath werken.xpath-0.9.4.orig/TODO0100644000175000017500000000031507220152147016045 0ustar tokamototokamoto * Renamed ContextHelper to ContextSupport * Maintain Namespace parent information (wrap?) * Maintain Attribute parent information (hashmap?) * Document Order!! * Replace my testcase stuff with JUnit. werken.xpath-0.9.4.orig/test/0042755000175000017500000000000007330702746016352 5ustar tokamototokamotowerken.xpath-0.9.4.orig/test/src/0042755000175000017500000000000007330702746017141 5ustar tokamototokamotowerken.xpath-0.9.4.orig/test/src/com/0042755000175000017500000000000007330702746017717 5ustar tokamototokamotowerken.xpath-0.9.4.orig/test/src/com/werken/0042755000175000017500000000000007330702746021212 5ustar tokamototokamotowerken.xpath-0.9.4.orig/test/src/com/werken/xpath/0042755000175000017500000000000007330702746022336 5ustar tokamototokamotowerken.xpath-0.9.4.orig/test/src/com/werken/xpath/test/0042755000175000017500000000000007330702746023315 5ustar tokamototokamotowerken.xpath-0.9.4.orig/test/src/com/werken/xpath/test/Driver.java0100644000175000017500000002731007202561102025374 0ustar tokamototokamoto package com.werken.xpath.test; import com.werken.xpath.XPath; import com.werken.xpath.ContextSupport; import com.werken.xpath.XPathFunctionContext; import com.werken.xpath.DefaultVariableContext; import com.werken.xpath.ElementNamespaceContext; import org.jdom.Document; import org.jdom.Element; import org.jdom.JDOMException; import org.jdom.input.SAXBuilder; import org.jdom.output.XMLOutputter; import java.io.File; import java.io.IOException; import java.util.List; import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.HashSet; import java.util.Iterator; import java.util.Vector; public class Driver { public static void main(String[] args) { System.err.println("werken.xpath test-driver"); if ( args.length != 1 ) { System.err.println("Usage:"); System.err.println("java com.werken.xpath.test.Driver "); System.exit(1); } File driverXML = new File( args[0] ); if ( ! driverXML.exists() ) { System.err.println("error: " + driverXML + " does not exist"); System.exit(1); } System.out.println("Using test-cases in [" + args[0] + "]"); File dataDir = driverXML.getParentFile(); Driver driver = new Driver(dataDir, driverXML); driver.run(); } private File _dataDirectory = null; private File _driverXML = null; private Map _testDocuments = new HashMap(); private ContextSupport _support = null; private Vector _failed = new Vector(); private int _passed = 0; public Driver(File dataDirectory, File driverXML) { _dataDirectory = dataDirectory; _driverXML = driverXML; _support = new ContextSupport(); } public void run() { SAXBuilder builder = new SAXBuilder(); try { Document doc = builder.build( _driverXML ); Element root = doc.getRootElement(); List testCases = root.getChildren("testcase"); Iterator testIter = testCases.iterator(); while ( testIter.hasNext() ) { doTestCase( (Element) testIter.next() ); } } catch (JDOMException e) { e.printStackTrace(); } System.out.println("================================================================================"); System.out.println("TEST SUMMARY"); System.out.println(" PASSED: " + _passed); System.out.println(" FAILED: " + _failed.size()); if ( _failed.size() > 0 ) { System.out.println("----------------------------------------------"); System.out.println("FAILURES"); System.out.println("----------------------------------------------"); Iterator failedIter = _failed.iterator(); Element eachFailure = null; while (failedIter.hasNext()) { eachFailure = (Element) failedIter.next(); System.out.println(" " + eachFailure.getAttributeValue("caseID")); System.out.println(" " + eachFailure.getChildTextTrim("description")); System.out.println(" " + eachFailure.getAttributeValue("xpath")); System.out.println("----------------------------------------------"); } } System.out.println("================================================================================"); } private Document getTestDocument(String identifier) { Document doc = (Document) _testDocuments.get(identifier); if (doc == null) { File testDoc = new File(_dataDirectory, identifier); if ( ! testDoc.exists() ) { System.err.println("error: test document [" + identifier + "] does not exist"); return null; } try { SAXBuilder builder = new SAXBuilder(); doc = builder.build(testDoc); } catch (JDOMException e) { e.printStackTrace(); } if ( doc != null ) { _testDocuments.put(identifier, doc); } } return doc; } private void doTestCase(Element testCase) { String caseID = testCase.getAttributeValue("caseID"); String desc = testCase.getChildTextTrim("description"); String testDoc = testCase.getAttributeValue("document"); String startNode = testCase.getAttributeValue("start"); String xpathStr = testCase.getAttributeValue("xpath"); System.out.println( "--------------------------------------------------------------------------------" ); System.out.println( " " + caseID + " :: " + desc); System.out.println( " document :: " + testDoc ); System.out.println( " start :: " + startNode ); System.out.println( " xpath :: " + xpathStr ); boolean success = false; Document doc = getTestDocument( testDoc ); Document resultDoc = null; Element expectedResults = testCase.getChild("results"); if ( doc != null ) { XPath xpath = new XPath(xpathStr); _support.setNamespaceContext( new ElementNamespaceContext( testCase ) ); Object results = xpath.applyTo( _support, doc ); resultDoc = xmlizeResults( results ); expectedResults = testCase.getChild("results"); success = compareResults( resultDoc.getRootElement(), expectedResults ); } System.out.println( " results :: " + ( success ? "PASSED" : "FAILED" )); if ( success ) { ++_passed; } else { _failed.add(testCase); } if ( !success ) { if ( doc == null ) { System.out.println(" !! unable to locate test document !!"); } else { XMLOutputter outputter = new XMLOutputter(" ", true); try { System.out.println( "selected :: "); outputter.output(resultDoc, System.out); Element expectedElem = new Element("results"); Document expectedDoc = new Document( expectedElem ); Iterator expectedIter = expectedResults.getChildren().iterator(); while (expectedIter.hasNext()) { expectedElem.addContent( (Element) ((Element)expectedIter.next()).clone() ); } System.out.println( "expected :: "); outputter.output(expectedDoc, System.out); } catch (IOException ioe) { ioe.printStackTrace(); } } } } private boolean compareResults(Element results, Element expected) { List expectedChildren = expected.getChildren(); int expectedSize = expectedChildren.size(); HashSet seen = new HashSet(); if ( results.getChildren().size() != expectedSize ) { return false; } Iterator expectedIter = expectedChildren.iterator(); Element eachExpected = null; while ( expectedIter.hasNext() ) { eachExpected = (Element) expectedIter.next(); if ( ! findInResults( results, eachExpected, seen ) ) { return false; } } return true; } private boolean findInResults(Element results, Element expected, Set seen) { if (expected.getName().equals("element")) { return findElementInResults(results, expected, seen); } if (expected.getName().equals("root")) { return findRootInResults(results, seen); } return false; } private boolean findRootInResults(Element results, Set seen) { List rootElems = results.getChildren("root"); Iterator rootIter = rootElems.iterator(); Element eachRoot = null; while (rootIter.hasNext()) { eachRoot = (Element) rootIter.next(); if ( ! seen.contains( eachRoot ) ) { seen.add( eachRoot ); return true; } } return false; } private boolean findElementInResults(Element results, Element expected, Set seen) { Element expectedElem = (Element) expected.getChildren().get(0); List resultElems = results.getChildren(); Iterator resultIter = resultElems.iterator(); Element eachResult = null; Element resultElem = null; List resultList = null; while (resultIter.hasNext()) { eachResult = (Element) resultIter.next(); if ( ! seen.contains( eachResult ) ) { resultList = eachResult.getChildren(); if ( ! resultList.isEmpty()) { resultElem = (Element) resultList.get(0); if (resultElem.getName().equals( expectedElem.getName() ) ) { if ( resultElem.getAttributeValue("id").equals( expectedElem.getAttributeValue("id")) ) { seen.add(resultElem); return true; } } } } } return false; } private Document xmlizeResults(Object results) { if (results instanceof List) { return xmlizeResults( (List) results ); } return null; } private Document xmlizeResults(List nodeSet) { Element results = new Element("results"); Document doc = new Document(results); Iterator nodeIter = nodeSet.iterator(); Object each = null; Element resultNode = null; Element node = null; String elemID = null; while ( nodeIter.hasNext() ) { each = nodeIter.next(); if ( each instanceof Element ) { node = new Element( "element" ); resultNode = new Element( ((Element)each).getName() ); elemID = ((Element)each).getAttributeValue("id"); if (elemID == null) { elemID = ""; } resultNode.addAttribute("id", elemID); node.addContent( resultNode ); results.addContent( node ); } else if ( each instanceof Document ) { resultNode = new Element( "root" ); results.addContent( resultNode ); } } return doc; } } werken.xpath-0.9.4.orig/test/data/0042755000175000017500000000000007330702746017263 5ustar tokamototokamotowerken.xpath-0.9.4.orig/test/data/abbr_tests.xml0100644000175000017500000003051007204610140022111 0ustar tokamototokamoto Selects the root element (the JDOM Document) Selects the document element (<book>) Selects the book title element (<title>) </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="004" start="/" xpath="/book/chapter"> <description> Selects the chapter elements (<chapter>) </description> <results> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> <element> <chapter id="chapter-6"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="005" start="/" xpath="/book/chapter/title"> <description> Selects the chapter title elements (<title>) </description> <results> <element> <title id="chapter-1-title-1"/> </element> <element> <title id="chapter-2-title-1"/> </element> <element> <title id="chapter-3-title-1"/> </element> <element> <title id="chapter-4-title-1"/> </element> <element> <title id="chapter-5-title-1"/> </element> <element> <title id="chapter-6-title-1"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="006" start="/" xpath="//title"> <description> Selects the all title elements (<title>) </description> <results> <element> <title id="book-1-title-1"/> </element> <element> <title id="chapter-1-title-1"/> </element> <element> <title id="chapter-2-title-1"/> </element> <element> <title id="chapter-3-title-1"/> </element> <element> <title id="chapter-4-title-1"/> </element> <element> <title id="chapter-5-title-1"/> </element> <element> <title id="chapter-6-title-1"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="007" start="/" xpath="//title[@id='chapter-2-title-1']"> <description> Selects the title of chapter 2 (<title>) </description> <results> <element> <title id="chapter-2-title-1"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="008" start="/" xpath="//chapter[2]/title"> <description> Selects the title of the 2nd chapter (<title>) </description> <results> <element> <title id="chapter-2-title-1"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="009" start="/" xpath="//chapter[last()]"> <description> Selects last chapter (<chapter>) </description> <results> <element> <chapter id="chapter-6"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="010" start="/" xpath="/book/chapter/.."> <description> Selects the book (<book>) </description> <results> <element> <book id="book-1"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="011" start="/" xpath="/book/chapter/../chapter/."> <description> Selects all chapters (<chapter>) </description> <results> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> <element> <chapter id="chapter-6"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="012" start="/" xpath="/book/chapter[@author='bob']"> <description> Selects all chapters with author=bob (<chapter>) </description> <results> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-3"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="013" start="/" xpath="/book/chapter/../chapter[@author='bob']"> <description> Selects all chapters with author=bob (<chapter>) </description> <results> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-3"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="014" start="/" xpath="/book/chapter/../chapter/.[@author='bob']"> <description> Selects all chapters with author=bob (<chapter>) </description> <results> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-3"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="015" start="/" xpath="/book/chapter/../chapter/.[@author='rebecca']"> <description> Selects all chapters with author=rebecca (<chapter>) </description> <results> <element> <chapter id="chapter-2"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="016" start="/" xpath="/book/chapter/../chapter/.[@author='bob' or @author='rebecca']"> <description> Selects all chapters with author=bob or author=rebecca (<chapter>) </description> <results> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="017" start="/" xpath="/book/chapter/../chapter/.[@author='bob' or @author='rebecca' or @author='james']"> <description> Selects all chapters with author=bob or author=rebecca or authorjames(<chapter>) </description> <results> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> <element> <chapter id="chapter-4"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="018" start="/" xpath="/book/chapter/../chapter/.[@author!='bob']"> <description> Selects all chapters with author!=bob (<chapter>) </description> <results> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="019" start="/" xpath="/book/chapter/../chapter/.[@author!='bob'][@author!='rebecca']"> <description> Selects all chapters with author!=bob AND author!=rebecca (<chapter>) </description> <results> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="020" start="/" xpath="/book/chapter/../chapter/.[@author]"> <description> Selects all chapters with authors </description> <results> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="021" start="/" xpath="/book/chapter/../chapter/.[not(@author)]"> <description> Selects all chapters without authors </description> <results> <element> <chapter id="chapter-6"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="022" start="/" xpath="/book/*"> <description> Selects all children a book </description> <results> <element> <title id="book-1-title-1"/> </element> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> <element> <chapter id="chapter-6"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="023" start="/" xpath="/book/*[title]"> <description> Selects all children of book which have a title </description> <results> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> <element> <chapter id="chapter-6"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="024" start="/" xpath="/book/*[title][@author='james']"> <description> Selects all children of book which have a title, and are written by james </description> <results> <element> <chapter id="chapter-4"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="025" start="/" xpath="/book/*[self::title or child::title]"> <description> Selects all children of book which have or are a title </description> <results> <element> <title id="book-1-title-1"/> </element> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> <element> <chapter id="chapter-6"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="026" start="/" xpath="//title/.."> <description> Selects all elements which are parents of a title </description> <results> <element> <book id="book-1"/> </element> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> <element> <chapter id="chapter-6"/> </element> </results> </testcase> <testcase document="abbr_doc.xml" caseID="027" start="/" xpath="//self::node()[title]"> <description> Selects all elements which have a title </description> <results> <element> <book id="book-1"/> </element> <element> <chapter id="chapter-1"/> </element> <element> <chapter id="chapter-2"/> </element> <element> <chapter id="chapter-3"/> </element> <element> <chapter id="chapter-4"/> </element> <element> <chapter id="chapter-5"/> </element> <element> <chapter id="chapter-6"/> </element> </results> </testcase> </tests> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������werken.xpath-0.9.4.orig/test/data/iso_latin_1_tests.xml���������������������������������������������0100644�0001750�0001750�00000024316�07204610140�023413� 0����������������������������������������������������������������������������������������������������ustar �tokamoto������������������������tokamoto���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="ISO-8859-1"?> <tests> <testcase document="iso_latin_1_doc.xml" caseID="001" start="/" xpath="/"> <description> Selects the root element (the JDOM Document) </description> <results> <root/> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="002" start="/" xpath="/Data_Model"> <description> Selects the Data_Model element (<Data_Model>) </description> <results> <element> <Data_Model/> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="003" start="/" xpath="/Data_Model/Databases/Database"> <description> Selects the Data_Model Databases Database element (<Database>) </description> <results> <element> <Database ext_name="Gis" int_name="gis" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="004" start="/" xpath="/Data_Model/Databases/Database/Tables/Table"> <description> Selects the Table elements (<Table>) </description> <results> <element> <Table ext_name="001 Flurstück" int_name="alk_flurstueck"/> </element> <element> <Table ext_name="001 Flurstück Ausgestaltung" int_name="alk_flurstueck_ausg" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="005" start="/" xpath="/Data_Model/Databases/Database/Tables/Table/Fields/Field"> <description> Selects the Fields Field elements (<Field>) </description> <results> <element> <Field ext_name="Folie" int_name="folie" type="char" /> </element> <element> <Field ext_name="OS" int_name="os" type="char" /> </element> <element> <Field ext_name="Objekttyp" int_name="objekttyp" type="char" /> </element> <element> <Field ext_name="Flurst. Nr. (Zähler)" int_name="flst_nr_zaehler" type="char" /> </element> <element> <Field ext_name="Flurst. Nr. (Nenner)" int_name="flst_nr_nenner" type="char" /> </element> <element> <Field ext_name="Objektnummer" int_name="objektnummer" type="char" /> </element> <element> <Field ext_name="Flurstück" int_name="flurstueck" type="foreign_key" /> </element> <element> <Field ext_name="Geometrie" int_name="geometrie" type="geometry" /> </element> <element> <Field ext_name="Key Value" int_name="m_magie_key" type="key" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="006" start="/" xpath="//Field"> <description> Selects the all Field elements (<Field>) </description> <results> <element> <Field ext_name="Folie" int_name="folie" type="char" /> </element> <element> <Field ext_name="OS" int_name="os" type="char" /> </element> <element> <Field ext_name="Objekttyp" int_name="objekttyp" type="char" /> </element> <element> <Field ext_name="Flurst. Nr. (Zähler)" int_name="flst_nr_zaehler" type="char" /> </element> <element> <Field ext_name="Flurst. Nr. (Nenner)" int_name="flst_nr_nenner" type="char" /> </element> <element> <Field ext_name="Objektnummer" int_name="objektnummer" type="char" /> </element> <element> <Field ext_name="Flurstück" int_name="flurstueck" type="foreign_key" /> </element> <element> <Field ext_name="Geometrie" int_name="geometrie" type="geometry" /> </element> <element> <Field ext_name="Key Value" int_name="m_magie_key" type="key" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="007" start="/" xpath="//Field[@int_name='flst_nr_zaehler']"> <description> Selects the Field of Flurst. Nr. (Zähler) (<Field>) </description> <results> <element> <Field ext_name="Flurst. Nr. (Zähler)" int_name="flst_nr_zaehler" type="char" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="008" start="/" xpath="//Table[2]/Fields"> <description> Selects the Fields of the 2nd Table (<Fields>) </description> <results> <element> <Fields /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="009" start="/" xpath="//Field[last()]"> <description> Selects last Field (<Field>) </description> <results> <element> <Field ext_name="Flurst. Nr. (Nenner)" int_name="flst_nr_nenner" type="char" /> </element> <element> <Field ext_name="Key Value" int_name="m_magie_key" type="key" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="010" start="/" xpath="/Data_Model/Databases/.."> <description> Selects the Data_Model (<Data_Model>) </description> <results> <element> <Data_Model/> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="012" start="/" xpath="/Data_Model/Databases/Database[@int_name='gis']"> <description> Selects all Databases with int_name=gis (<Database>) </description> <results> <element> <Database ext_name="Gis" int_name="gis" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="013" start="/" xpath="/Data_Model/Databases/Database/../Database[@int_name='gis']"> <description> Selects all Database with int_name=gis (<Database>) </description> <results> <element> <Database ext_name="Gis" int_name="gis" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="014" start="/" xpath="/Data_Model/Databases/Database/Tables/../Tables/Table/.[@ext_name='001 Flurstück']"> <description> Selects all Tables with ext_name=001 Flurstück (<Table>) </description> <results> <element> <Table ext_name="001 Flurstück" int_name="alk_flurstueck" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="016" start="/" xpath="/Data_Model/Databases/Database/Tables/../Tables/Table/.[@int_name='alk_flurstueck' or @int_name='alk_flurstueck_ausg']"> <description> Selects all Tables (<Table>) </description> <results> <element> <Table ext_name="001 Flurstück" int_name="alk_flurstueck" /> </element> <element> <Table ext_name="001 Flurstück Ausgestaltung" int_name="alk_flurstueck_ausg" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="017" start="/" xpath="//Field/.[@int_name='folie' or @int_name='flurstueck' or @int_name='flst_nr_nenner']"> <description> Selects all Fields with int_name=folie or int_name=flurstueck or int_name=flst_nr_nenner(<Field>) </description> <results> <element> <Field ext_name="Folie" int_name="folie" type="char" /> </element> <element> <Field ext_name="Flurstück" int_name="flurstueck" type="foreign_key" /> </element> <element> <Field ext_name="Flurst. Nr. (Nenner)" int_name="flst_nr_nenner" type="char" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="018" start="/" xpath="//Table/.[@int_name!='alk_flurstueck_ausg']"> <description> Selects all Tables with int_name!=alk_flurstueck_ausg (<Table>) </description> <results> <element> <Table ext_name="001 Flurstück" int_name="alk_flurstueck" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="020" start="/" xpath="/Data_Model/Databases/Database/Tables/Table/.[@ext_name]"> <description> Selects all Tables with extern names </description> <results> <element> <Table ext_name="001 Flurstück" int_name="alk_flurstueck" /> </element> <element> <Table ext_name="001 Flurstück Ausgestaltung" int_name="alk_flurstueck_ausg" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="021" start="/" xpath="//Field[not(@type='char')]"> <description> Selects all Fields where type!=char </description> <results> <element> <Field ext_name="Flurstück" int_name="flurstueck" type="foreign_key" /> </element> <element> <Field ext_name="Geometrie" int_name="geometrie" type="geometry" /> </element> <element> <Field ext_name="Key Value" int_name="m_magie_key" type="key" /> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="022" start="/" xpath="/Data_Model/*"> <description> Selects all children of Data_Model </description> <results> <element> <Databases/> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="026" start="/" xpath="//Fields/.."> <description> Selects all elements which are parents of a Fields </description> <results> <element> <Table ext_name="001 Flurstück" int_name="alk_flurstueck"/> </element> <element> <Table ext_name="001 Flurstück Ausgestaltung" int_name="alk_flurstueck_ausg"/> </element> </results> </testcase> <testcase document="iso_latin_1_doc.xml" caseID="027" start="/" xpath="//self::node()[Tables]"> <description> Selects all elements which have a Tables-Element </description> <results> <element> <Database ext_name="Gis" int_name="gis" /> </element> </results> </testcase> </tests> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������werken.xpath-0.9.4.orig/test/data/abbr_doc.xml������������������������������������������������������0100644�0001750�0001750�00000001447�07204610140�021523� 0����������������������������������������������������������������������������������������������������ustar �tokamoto������������������������tokamoto��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� <book id="book-1"> <title id="book-1-title-1">How to Test Some XPath Implementation This is chapter One This is chapter Two This is chapter Three This is chapter Four This is chapter Five This is chapter Six werken.xpath-0.9.4.orig/test/data/iso_latin_1_doc.xml0100644000175000017500000000321207204611567023024 0ustar tokamototokamoto
werken.xpath-0.9.4.orig/LICENSE0100644000175000017500000000427507156316127016403 0ustar tokamototokamoto/*-- Copyright (C) 2000 bob mcwhirter and The Werken & Sons Company All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the disclaimer that follows these conditions in the documentation and/or other materials provided with the distribution. 3. The name "werken.xpath" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact bob@werken.com 4. Products derived from this software may not be called "werken.xpath", nor may "werken.xpath" appear in their name, without prior written permission from the Werken & Sons Company (bob@werken.com). In addition, we request (but do not require) that you include in the end-user documentation provided with the redistribution and/or in the software itself an acknowledgement equivalent to the following: "This product includes software developed by The Werken & Sons Company (http://www.werken.com/)." Alternatively, the acknowledgment may be graphical using the logos available at http://www.werken.com/pix/werken-digital.gif THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ werken.xpath-0.9.4.orig/README0100644000175000017500000000605207157564171016256 0ustar tokamototokamoto------------------------------------------------------------------------ werken.xpath :: Werken JDOM XPath Engine :: README.txt ------------------------------------------------------------------------ ---------------------------------------- INTRODUCTION ---------------------------------------- This is the Werken JDOM XPath Engine (werken.xpath), created by the Werken & Sons Company. It's available at . It's not overly useful by itself, but rather needs an (currently in development) implementation of XPointer, XSLT, or other XPath-based specification. werken.xpath is merely an engine which can parse XPaths, and walk JDOM trees. ---------------------------------------- REQUIREMENTS ---------------------------------------- * A modern Java2 platform :: I'm using Sun's official JSDK 1.3 for Linux. Others should work without much trouble also. * The JDOM package. This was written against the CVS tree, so it might not work with whatever milestone source drop you're using. Hopefully a stable release of JDOM will appear, and we can nail down a specific minimum version. * ANTLR Parser-Generator 2.7.x Once again, I'm using a pre-release candidate, which has special new features to play friendly with jakarta-ant (which is included). The version of ANTLR we're using is (and always will be) included in the distribution of werken.xpath. If you wish, you may always obtain your own copy, with full documentation. *Everything* is simply a parsing problem, after all. ---------------------------------------- DOCUMENTATION ---------------------------------------- Generated javadoc documentation will appear in the build/apidocs/ directory. ---------------------------------------- LICENSE ---------------------------------------- werken.xpath is licensed under the Apache Software Foundation license. Please see for more information. Basically, do what ever you wish, as long as you mention "Werken & Sons Company" some where in your documentation, colophon, or 'about' box. Just some place, give credit where credit is due. ---------------------------------------- ACKNOWLEDGEMENTS ---------------------------------------- * bob mcwhirter (bob@werken.com) -- Implementor of the initial code base of werken.xpath. * Michael Hinchy -- Originally started the JDOM XPath project, but I forked, with 100% original code. Still, he motivated the work. * Terence Parr (parrt@jguru.com) -- Let me hack on ANTLR for my own evil purposes. Also, he originally wrote ANTLR, and we'd like to give him credit for the wonderful tool he's graciouslly given to the community. * Jason Hunter (jhunter@collab.net) -- One of the JDOM guys (sorry, but I've never dealt with Brett). Lively banter back'n'forth regarding JDOM, XPath, ant && antlr. werken.xpath-0.9.4.orig/runtests.sh0100644000175000017500000000051707177636251017622 0ustar tokamototokamoto#!/bin/sh TESTS_XML=./test/data/abbr_tests.xml TEST_DRIVER=com.werken.xpath.test.Driver ANTLR_CP=./lib/antlr-runtime.jar JDOM_CP=./lib/jdom.jar XERCES_CP=./lib/xerces.jar XPATH_CP=./build/werken.xpath.jar TEST_CP=./build/test/classes/ CP=$ANTLR_CP:$JDOM_CP:$XPATH_CP:$TEST_CP:$XERCES_CP java -classpath $CP $TEST_DRIVER $TESTS_XML werken.xpath-0.9.4.orig/LIMITATIONS0100644000175000017500000000053707172362075017113 0ustar tokamototokamoto Things that DO NOT WORK, and we already know about them: 1) Anything that is a peer of the root node of the document (comments, PIs). 2) Some functions: position() id(object) normalize-space(string?) translate(string,string,string) lang(string) 3) Positional predicates All else *should* be working (all axes, filter-exprs, predicates, etc) werken.xpath-0.9.4.orig/build.bat0100644000175000017500000000144407204610150017143 0ustar tokamototokamoto@echo off echo Werken.XPath Build System echo ------------------------- if "%JAVA_HOME%" == "" goto error set JAVA_CP=%JAVA_HOME%/lib/tools.jar;%JAVA_HOME%/lib/dev.jar set JDOM_CP=./lib/jdom.jar set ANTLR_CP=./lib/antlr-all.jar set XERCES_CP=./lib/xerces.jar set ANT_CP=./lib/ant.jar set ANT_HOME=./lib set CP=%JAVA_CP%;%JDOM_CP%;%ANTLR_CP%;%XERCES_CP%;%ANT_CP% echo Building with classpath %CP% echo echo Starting Ant... echo %JAVA_HOME%\bin\java.exe -Dant.home="%ANT_HOME%" -classpath %CP% org.apache.tools.ant.Main %1 %2 %3 %4 %5 goto end :error echo "ERROR: JAVA_HOME not found in your environment." echo echo "Please, set the JAVA_HOME variable in your environment to match the" echo "location of the Java Virtual Machine you want to use." :endwerken.xpath-0.9.4.orig/build.xml0100644000175000017500000002617207206110074017204 0ustar tokamototokamoto werken.xpath-0.9.4.orig/build.sh0100644000175000017500000000137707204067403017023 0ustar tokamototokamoto#!/bin/sh echo echo "Building..." echo if [ "$JAVA_HOME" = "" ] ; then echo "ERROR: JAVA_HOME not found in your environment." echo echo "Please, set the JAVA_HOME variable in your environment to match the" echo "location of the Java Virtual Machine you want to use." exit 1 fi JAVA_CP=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dev.jar JDOM_CP=./lib/jdom.jar ANTLR_CP=./lib/antlr-all.jar XERCES_CP=./lib/xerces.jar ANT_CP=./lib/ant.jar ANT_HOME=./lib CP=$JAVA_CP:$JDOM_CP:$ANTLR_CP:$XERCES_CP:$ANT_CP echo Building with classpath $CP echo echo Starting Ant... echo #strace $JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath $CP org.apache.tools.ant.Main $* $JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath $CP org.apache.tools.ant.Main $* werken.xpath-0.9.4.orig/apidocs/0042755000175000017500000000000007330705437017015 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/0042755000175000017500000000000007330705437017573 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/0042755000175000017500000000000007330705437021066 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/0042755000175000017500000000000007330705437022212 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/0042755000175000017500000000000007330705437023153 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/Op.html0100644000175000017500000003644607330705437024427 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ Op


com.werken.xpath.impl
¥¯¥é¥¹ Op

java.lang.Object
  |
  +--com.werken.xpath.impl.Op

public class Op
extends java.lang.Object


¥Õ¥£¡¼¥ë¥É¤Î³µÍ×
static Op AND
           
static Op DIV
           
static Op EQUAL
           
static Op GT
           
static Op GT_EQUAL
           
static Op LT
           
static Op LT_EQUAL
           
static Op MINUS
           
static Op MOD
           
static Op MULTIPLY
           
static Op NOT_EQUAL
           
static Op OR
           
static Op PLUS
           
static Op UNION
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.String toString()
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

¥Õ¥£¡¼¥ë¥É¤Î¾ÜºÙ

UNION

public static final Op UNION

OR

public static final Op OR

AND

public static final Op AND

EQUAL

public static final Op EQUAL

NOT_EQUAL

public static final Op NOT_EQUAL

LT

public static final Op LT

GT

public static final Op GT

LT_EQUAL

public static final Op LT_EQUAL

GT_EQUAL

public static final Op GT_EQUAL

MOD

public static final Op MOD

DIV

public static final Op DIV

PLUS

public static final Op PLUS

MINUS

public static final Op MINUS

MULTIPLY

public static final Op MULTIPLY
¥á¥½¥Ã¥É¤Î¾ÜºÙ

toString

public java.lang.String toString()
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ java.lang.Object Æâ¤Î toString


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/StringExpr.html0100644000175000017500000002304207330705437026142 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ StringExpr

com.werken.xpath.impl
¥¯¥é¥¹ StringExpr

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.StringExpr

public class StringExpr
extends Expr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
StringExpr(java.lang.String text)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object evaluate(Context context)
           
 java.lang.String toString()
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

StringExpr

public StringExpr(java.lang.String text)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

toString

public java.lang.String toString()
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ java.lang.Object Æâ¤Î toString

evaluate

public java.lang.Object evaluate(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Expr Æâ¤Î evaluate


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/FunctionExpr.html0100644000175000017500000002221107330705437026456 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ FunctionExpr

com.werken.xpath.impl
¥¯¥é¥¹ FunctionExpr

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.FunctionExpr

public class FunctionExpr
extends Expr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
FunctionExpr(java.lang.String name, java.util.List args)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

FunctionExpr

public FunctionExpr(java.lang.String name,
                    java.util.List args)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

evaluate

public java.lang.Object evaluate(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Expr Æâ¤Î evaluate


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/Predicate.html0100644000175000017500000002343107330705437025737 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ Predicate

com.werken.xpath.impl
¥¯¥é¥¹ Predicate

java.lang.Object
  |
  +--com.werken.xpath.impl.Predicate

public class Predicate
extends java.lang.Object


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
Predicate(Expr expr)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.util.List evaluateOn(java.util.List nodeSet, ContextSupport support, java.lang.String axis)
           
 boolean evaluateOnNode(Context context, java.lang.String axis)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

Predicate

public Predicate(Expr expr)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

evaluateOn

public java.util.List evaluateOn(java.util.List nodeSet,
                                 ContextSupport support,
                                 java.lang.String axis)

evaluateOnNode

public boolean evaluateOnNode(Context context,
                              java.lang.String axis)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/BinaryExpr.html0100644000175000017500000002302607330705437026122 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ BinaryExpr

com.werken.xpath.impl
¥¯¥é¥¹ BinaryExpr

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.BinaryExpr

public class BinaryExpr
extends Expr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
BinaryExpr(Op op, Expr lhs, Expr rhs)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

BinaryExpr

public BinaryExpr(Op op,
                  Expr lhs,
                  Expr rhs)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

evaluate

public java.lang.Object evaluate(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Expr Æâ¤Î evaluate


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/package-use.html0100644000175000017500000002743007330705437026227 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.impl ¤Î»ÈÍÑ

¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl ¤Î»ÈÍÑ

com.werken.xpath.impl ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.function Provides implementations for the core XPath Function Library From The W3C XPath Specification Section 4.1 -- Node Set Function Section 4.2 -- String Functions Section 4.3 -- Boolean Functions Section 4.4 -- Number Functions  
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.function ¤Ë¤è¤ê»ÈÍѤµ¤ì¤ë com.werken.xpath.impl ¤Î¥¯¥é¥¹
Context
           
 

com.werken.xpath.impl ¤Ë¤è¤ê»ÈÍѤµ¤ì¤ë com.werken.xpath.impl ¤Î¥¯¥é¥¹
AbbrStep
           
Context
           
Expr
           
LocationPath
           
NodeTypeStep
           
Op
           
PathExpr
           
Predicate
           
Step
           
UnAbbrStep
           
 

com.werken.xpath.parser ¤Ë¤è¤ê»ÈÍѤµ¤ì¤ë com.werken.xpath.impl ¤Î¥¯¥é¥¹
Expr
           
FilterExpr
           
FunctionExpr
           
LocationPath
           
PathExpr
           
Predicate
           
Step
           
VariableExpr
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/NegativeExpr.html0100644000175000017500000002221007330705437026432 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ NegativeExpr

com.werken.xpath.impl
¥¯¥é¥¹ NegativeExpr

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.NegativeExpr

public class NegativeExpr
extends Expr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
NegativeExpr(Expr expr)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

NegativeExpr

public NegativeExpr(Expr expr)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

evaluate

public java.lang.Object evaluate(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Expr Æâ¤Î evaluate


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/package-frame.html0100644000175000017500000000402407330705437026517 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.impl com.werken.xpath.impl
¥¯¥é¥¹ 
AbbrStep
BinaryExpr
Context
Expr
FilterExpr
FunctionExpr
LocationPath
NameTestStep
NegativeExpr
NodeTypeStep
NumberExpr
Op
ParentStep
PathExpr
PIStep
Predicate
SelfStep
Step
StringExpr
UnAbbrStep
VariableExpr
werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/UnAbbrStep.html0100644000175000017500000006056207330705437026052 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ UnAbbrStep

com.werken.xpath.impl
¥¯¥é¥¹ UnAbbrStep

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.Step
              |
              +--com.werken.xpath.impl.UnAbbrStep
ľ·Ï¤Î´ûÃΤΥµ¥Ö¥¯¥é¥¹:
NameTestStep, NodeTypeStep

public abstract class UnAbbrStep
extends Step


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
UnAbbrStep(java.lang.String axis)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 Step addPredicate(Predicate pred)
           
 Context applyTo(Context context)
           
 java.util.List applyTo(java.util.List nodeSet, ContextSupport support, java.lang.String axis)
           
 java.util.List applyTo(java.util.List nodeSet, ContextSupport support, java.lang.String axis, boolean doPreds)
           
 java.util.List applyToAncestor(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToAncestorOrSelf(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToAttribute(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToChild(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToDescendant(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToDescendantOrSelf(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToFollowing(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToFollowingSibling(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToParent(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToPreceeding(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToPreceedingSibling(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToSelf(java.lang.Object node, ContextSupport support)
           
 java.lang.String getAxis()
           
 java.util.List getPredicates()
           
 
¥¯¥é¥¹ com.werken.xpath.impl.Step ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
evaluate, isAbsolute, setIsAbsolute
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

UnAbbrStep

public UnAbbrStep(java.lang.String axis)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

getAxis

public java.lang.String getAxis()

addPredicate

public Step addPredicate(Predicate pred)

getPredicates

public java.util.List getPredicates()

applyTo

public Context applyTo(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Step Æâ¤Î applyTo

applyTo

public java.util.List applyTo(java.util.List nodeSet,
                              ContextSupport support,
                              java.lang.String axis)

applyTo

public java.util.List applyTo(java.util.List nodeSet,
                              ContextSupport support,
                              java.lang.String axis,
                              boolean doPreds)

applyToSelf

public java.util.List applyToSelf(java.lang.Object node,
                                  ContextSupport support)

applyToChild

public java.util.List applyToChild(java.lang.Object node,
                                   ContextSupport support)

applyToDescendant

public java.util.List applyToDescendant(java.lang.Object node,
                                        ContextSupport support)

applyToDescendantOrSelf

public java.util.List applyToDescendantOrSelf(java.lang.Object node,
                                              ContextSupport support)

applyToParent

public java.util.List applyToParent(java.lang.Object node,
                                    ContextSupport support)

applyToAncestor

public java.util.List applyToAncestor(java.lang.Object node,
                                      ContextSupport support)

applyToAncestorOrSelf

public java.util.List applyToAncestorOrSelf(java.lang.Object node,
                                            ContextSupport support)

applyToAttribute

public java.util.List applyToAttribute(java.lang.Object node,
                                       ContextSupport support)

applyToPreceeding

public java.util.List applyToPreceeding(java.lang.Object node,
                                        ContextSupport support)

applyToFollowing

public java.util.List applyToFollowing(java.lang.Object node,
                                       ContextSupport support)

applyToPreceedingSibling

public java.util.List applyToPreceedingSibling(java.lang.Object node,
                                               ContextSupport support)

applyToFollowingSibling

public java.util.List applyToFollowingSibling(java.lang.Object node,
                                              ContextSupport support)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/NodeTypeStep.html0100644000175000017500000004064307330705437026426 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ NodeTypeStep

com.werken.xpath.impl
¥¯¥é¥¹ NodeTypeStep

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.Step
              |
              +--com.werken.xpath.impl.UnAbbrStep
                    |
                    +--com.werken.xpath.impl.NodeTypeStep
ľ·Ï¤Î´ûÃΤΥµ¥Ö¥¯¥é¥¹:
PIStep

public class NodeTypeStep
extends UnAbbrStep


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
NodeTypeStep(java.lang.String axis, java.lang.String nodeType)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.util.List applyToChild(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToNode(java.lang.Object node)
           
 java.util.List applyToNodes(java.util.List nodeSet)
           
 java.util.List applyToSelf(java.lang.Object node, ContextSupport support)
           
protected  boolean matches(java.lang.Object node)
           
 java.lang.String toString()
           
 
¥¯¥é¥¹ com.werken.xpath.impl.UnAbbrStep ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
addPredicate, applyTo, applyTo, applyTo, applyToAncestor, applyToAncestorOrSelf, applyToAttribute, applyToDescendant, applyToDescendantOrSelf, applyToFollowing, applyToFollowingSibling, applyToParent, applyToPreceeding, applyToPreceedingSibling, getAxis, getPredicates
 
¥¯¥é¥¹ com.werken.xpath.impl.Step ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
evaluate, isAbsolute, setIsAbsolute
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

NodeTypeStep

public NodeTypeStep(java.lang.String axis,
                    java.lang.String nodeType)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

matches

protected boolean matches(java.lang.Object node)

applyToNode

public java.util.List applyToNode(java.lang.Object node)

applyToNodes

public java.util.List applyToNodes(java.util.List nodeSet)

applyToChild

public java.util.List applyToChild(java.lang.Object node,
                                   ContextSupport support)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ UnAbbrStep Æâ¤Î applyToChild

applyToSelf

public java.util.List applyToSelf(java.lang.Object node,
                                  ContextSupport support)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ UnAbbrStep Æâ¤Î applyToSelf

toString

public java.lang.String toString()
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ java.lang.Object Æâ¤Î toString


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/NumberExpr.html0100644000175000017500000002304607330705437026130 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ NumberExpr

com.werken.xpath.impl
¥¯¥é¥¹ NumberExpr

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.NumberExpr

public class NumberExpr
extends Expr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
NumberExpr(java.lang.String number)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object evaluate(Context context)
           
 java.lang.String toString()
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

NumberExpr

public NumberExpr(java.lang.String number)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

toString

public java.lang.String toString()
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ java.lang.Object Æâ¤Î toString

evaluate

public java.lang.Object evaluate(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Expr Æâ¤Î evaluate


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/VariableExpr.html0100644000175000017500000002160207330705437026421 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ VariableExpr

com.werken.xpath.impl
¥¯¥é¥¹ VariableExpr

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.VariableExpr

public class VariableExpr
extends Expr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
VariableExpr(java.lang.String name)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

VariableExpr

public VariableExpr(java.lang.String name)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

evaluate

public java.lang.Object evaluate(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Expr Æâ¤Î evaluate


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/PIStep.html0100644000175000017500000003322607330705437025206 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ PIStep

com.werken.xpath.impl
¥¯¥é¥¹ PIStep

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.Step
              |
              +--com.werken.xpath.impl.UnAbbrStep
                    |
                    +--com.werken.xpath.impl.NodeTypeStep
                          |
                          +--com.werken.xpath.impl.PIStep

public class PIStep
extends NodeTypeStep


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
PIStep(java.lang.String axis, java.lang.String target)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
protected  boolean matches(java.lang.Object node)
           
 
¥¯¥é¥¹ com.werken.xpath.impl.NodeTypeStep ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
applyToChild, applyToNode, applyToNodes, applyToSelf, toString
 
¥¯¥é¥¹ com.werken.xpath.impl.UnAbbrStep ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
addPredicate, applyTo, applyTo, applyTo, applyToAncestor, applyToAncestorOrSelf, applyToAttribute, applyToDescendant, applyToDescendantOrSelf, applyToFollowing, applyToFollowingSibling, applyToParent, applyToPreceeding, applyToPreceedingSibling, getAxis, getPredicates
 
¥¯¥é¥¹ com.werken.xpath.impl.Step ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
evaluate, isAbsolute, setIsAbsolute
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

PIStep

public PIStep(java.lang.String axis,
              java.lang.String target)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

matches

protected boolean matches(java.lang.Object node)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ NodeTypeStep Æâ¤Î matches


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/ParentStep.html0100644000175000017500000002605407330705437026130 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ ParentStep

com.werken.xpath.impl
¥¯¥é¥¹ ParentStep

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.Step
              |
              +--com.werken.xpath.impl.AbbrStep
                    |
                    +--com.werken.xpath.impl.ParentStep

public class ParentStep
extends AbbrStep


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
ParentStep()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 Context applyTo(Context context)
           
static java.lang.Object findParent(java.lang.Object node)
           
static java.util.List findParents(java.util.List nodeSet)
           
 
¥¯¥é¥¹ com.werken.xpath.impl.Step ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
evaluate, isAbsolute, setIsAbsolute
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

ParentStep

public ParentStep()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

applyTo

public Context applyTo(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Step Æâ¤Î applyTo

findParent

public static java.lang.Object findParent(java.lang.Object node)

findParents

public static java.util.List findParents(java.util.List nodeSet)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/package-tree.html0100644000175000017500000001657007330705437026375 0ustar tokamototokamoto werken.xpath API: com.werken.xpath.impl ¥¯¥é¥¹³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.impl ¤Î³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸³¬ÁØ:
¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸

¥¯¥é¥¹³¬ÁØ



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/NameTestStep.html0100644000175000017500000003753107330705437026421 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ NameTestStep

com.werken.xpath.impl
¥¯¥é¥¹ NameTestStep

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.Step
              |
              +--com.werken.xpath.impl.UnAbbrStep
                    |
                    +--com.werken.xpath.impl.NameTestStep

public class NameTestStep
extends UnAbbrStep


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
NameTestStep(java.lang.String axis, java.lang.String namespacePrefix, java.lang.String localName)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.util.List applyToAttribute(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToChild(java.lang.Object node, ContextSupport support)
           
 java.util.List applyToSelf(java.lang.Object node, ContextSupport support)
           
 java.lang.String toString()
           
 
¥¯¥é¥¹ com.werken.xpath.impl.UnAbbrStep ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
addPredicate, applyTo, applyTo, applyTo, applyToAncestor, applyToAncestorOrSelf, applyToDescendant, applyToDescendantOrSelf, applyToFollowing, applyToFollowingSibling, applyToParent, applyToPreceeding, applyToPreceedingSibling, getAxis, getPredicates
 
¥¯¥é¥¹ com.werken.xpath.impl.Step ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
evaluate, isAbsolute, setIsAbsolute
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

NameTestStep

public NameTestStep(java.lang.String axis,
                    java.lang.String namespacePrefix,
                    java.lang.String localName)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

applyToSelf

public java.util.List applyToSelf(java.lang.Object node,
                                  ContextSupport support)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ UnAbbrStep Æâ¤Î applyToSelf

applyToAttribute

public java.util.List applyToAttribute(java.lang.Object node,
                                       ContextSupport support)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ UnAbbrStep Æâ¤Î applyToAttribute

applyToChild

public java.util.List applyToChild(java.lang.Object node,
                                   ContextSupport support)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ UnAbbrStep Æâ¤Î applyToChild

toString

public java.lang.String toString()
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ java.lang.Object Æâ¤Î toString


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/0042755000175000017500000000000007330705437025052 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/Op.html0100644000175000017500000002762707330705437026327 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.Op ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.Op ¤Î»ÈÍÑ

Op ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
 

com.werken.xpath.impl ¤Ç¤Î Op ¤Î»ÈÍÑ
 

Op ¤È¤·¤ÆÀë¸À¤µ¤ì¤Æ¤¤¤ë com.werken.xpath.impl ¤Î¥Õ¥£¡¼¥ë¥É
static Op Op.UNION
           
static Op Op.OR
           
static Op Op.AND
           
static Op Op.EQUAL
           
static Op Op.NOT_EQUAL
           
static Op Op.LT
           
static Op Op.GT
           
static Op Op.LT_EQUAL
           
static Op Op.GT_EQUAL
           
static Op Op.MOD
           
static Op Op.DIV
           
static Op Op.PLUS
           
static Op Op.MINUS
           
static Op Op.MULTIPLY
           
 

Op ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.impl ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
BinaryExpr(Op op, Expr lhs, Expr rhs)
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/StringExpr.html0100644000175000017500000001112007330705437030033 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.StringExpr ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.StringExpr ¤Î»ÈÍÑ

com.werken.xpath.impl.StringExpr ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/FunctionExpr.html0100644000175000017500000001437507330705437030371 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.FunctionExpr ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.FunctionExpr ¤Î»ÈÍÑ

FunctionExpr ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.parser ¤Ç¤Î FunctionExpr ¤Î»ÈÍÑ
 

FunctionExpr ¤òÊÖ¤¹ com.werken.xpath.parser ¤Î¥á¥½¥Ã¥É
 FunctionExpr XPathRecognizer.function_call()
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/Predicate.html0100644000175000017500000002113107330705437027631 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.Predicate ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.Predicate ¤Î»ÈÍÑ

Predicate ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.impl ¤Ç¤Î Predicate ¤Î»ÈÍÑ
 

Predicate ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
 void FilterExpr.addPredicate(Predicate pred)
           
 Step UnAbbrStep.addPredicate(Predicate pred)
           
 

com.werken.xpath.parser ¤Ç¤Î Predicate ¤Î»ÈÍÑ
 

Predicate ¤òÊÖ¤¹ com.werken.xpath.parser ¤Î¥á¥½¥Ã¥É
 Predicate XPathRecognizer.predicate()
           
 Predicate XPathRecognizer.predicate_expr()
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/BinaryExpr.html0100644000175000017500000001112007330705437030011 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.BinaryExpr ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.BinaryExpr ¤Î»ÈÍÑ

com.werken.xpath.impl.BinaryExpr ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/NegativeExpr.html0100644000175000017500000001113607330705437030336 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.NegativeExpr ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.NegativeExpr ¤Î»ÈÍÑ

com.werken.xpath.impl.NegativeExpr ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/UnAbbrStep.html0100644000175000017500000001530607330705437027745 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.UnAbbrStep ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.UnAbbrStep ¤Î»ÈÍÑ

UnAbbrStep ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
 

com.werken.xpath.impl ¤Ç¤Î UnAbbrStep ¤Î»ÈÍÑ
 

com.werken.xpath.impl ¤Ç¤Î UnAbbrStep ¤Î¥µ¥Ö¥¯¥é¥¹
 class NameTestStep
           
 class NodeTypeStep
           
 class PIStep
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/NodeTypeStep.html0100644000175000017500000001411407330705437030317 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.NodeTypeStep ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.NodeTypeStep ¤Î»ÈÍÑ

NodeTypeStep ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
 

com.werken.xpath.impl ¤Ç¤Î NodeTypeStep ¤Î»ÈÍÑ
 

com.werken.xpath.impl ¤Ç¤Î NodeTypeStep ¤Î¥µ¥Ö¥¯¥é¥¹
 class PIStep
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/NumberExpr.html0100644000175000017500000001112007330705437030015 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.NumberExpr ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.NumberExpr ¤Î»ÈÍÑ

com.werken.xpath.impl.NumberExpr ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/VariableExpr.html0100644000175000017500000001440707330705437030325 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.VariableExpr ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.VariableExpr ¤Î»ÈÍÑ

VariableExpr ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.parser ¤Ç¤Î VariableExpr ¤Î»ÈÍÑ
 

VariableExpr ¤òÊÖ¤¹ com.werken.xpath.parser ¤Î¥á¥½¥Ã¥É
 VariableExpr XPathRecognizer.variable_reference()
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/PIStep.html0100644000175000017500000001106407330705437027101 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.PIStep ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.PIStep ¤Î»ÈÍÑ

com.werken.xpath.impl.PIStep ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/ParentStep.html0100644000175000017500000001112007330705437030013 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.ParentStep ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.ParentStep ¤Î»ÈÍÑ

com.werken.xpath.impl.ParentStep ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/NameTestStep.html0100644000175000017500000001113607330705437030311 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.NameTestStep ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.NameTestStep ¤Î»ÈÍÑ

com.werken.xpath.impl.NameTestStep ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/AbbrStep.html0100644000175000017500000001454507330705437027446 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.AbbrStep ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.AbbrStep ¤Î»ÈÍÑ

AbbrStep ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
 

com.werken.xpath.impl ¤Ç¤Î AbbrStep ¤Î»ÈÍÑ
 

com.werken.xpath.impl ¤Ç¤Î AbbrStep ¤Î¥µ¥Ö¥¯¥é¥¹
 class ParentStep
           
 class SelfStep
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/SelfStep.html0100644000175000017500000001110207330705437027453 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.SelfStep ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.SelfStep ¤Î»ÈÍÑ

com.werken.xpath.impl.SelfStep ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/FilterExpr.html0100644000175000017500000001433507330705437030025 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.FilterExpr ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.FilterExpr ¤Î»ÈÍÑ

FilterExpr ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.parser ¤Ç¤Î FilterExpr ¤Î»ÈÍÑ
 

FilterExpr ¤òÊÖ¤¹ com.werken.xpath.parser ¤Î¥á¥½¥Ã¥É
 FilterExpr XPathRecognizer.filter_expr()
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/Context.html0100644000175000017500000007734107330705437027373 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.Context ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.Context ¤Î»ÈÍÑ

Context ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.function Provides implementations for the core XPath Function Library From The W3C XPath Specification Section 4.1 -- Node Set Function Section 4.2 -- String Functions Section 4.3 -- Boolean Functions Section 4.4 -- Number Functions  
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
 

com.werken.xpath.function ¤Ç¤Î Context ¤Î»ÈÍÑ
 

Context ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.function ¤Î¥á¥½¥Ã¥É
 java.lang.Object PositionFunction.call(Context context, java.util.List args)
           
static java.lang.Double PositionFunction.evaluate(Context context)
           
 java.lang.Object NameFunction.call(Context context, java.util.List args)
           
static java.lang.String NameFunction.evaluate(Context context)
           
 java.lang.Object StartsWithFunction.call(Context context, java.util.List args)
           
 java.lang.Object NumberFunction.call(Context context, java.util.List args)
           
 java.lang.Object StringFunction.call(Context context, java.util.List args)
           
 java.lang.Object FalseFunction.call(Context context, java.util.List args)
           
 java.lang.Object FloorFunction.call(Context context, java.util.List args)
           
 java.lang.Object ConcatFunction.call(Context context, java.util.List args)
           
 java.lang.Object RoundFunction.call(Context context, java.util.List args)
           
 java.lang.Object CeilingFunction.call(Context context, java.util.List args)
           
 java.lang.Object TrueFunction.call(Context context, java.util.List args)
           
 java.lang.Object BooleanFunction.call(Context context, java.util.List args)
           
 java.lang.Object NamespaceUriFunction.call(Context context, java.util.List args)
           
static java.lang.String NamespaceUriFunction.evaluate(Context context)
           
 java.lang.Object ContainsFunction.call(Context context, java.util.List args)
           
 java.lang.Object SubstringFunction.call(Context context, java.util.List args)
           
 java.lang.Object SumFunction.call(Context context, java.util.List args)
           
 java.lang.Object LastFunction.call(Context context, java.util.List args)
           
static java.lang.Double LastFunction.evaluate(Context context)
           
 java.lang.Object Function.call(Context context, java.util.List args)
          Call the function object.
 java.lang.Object NotFunction.call(Context context, java.util.List args)
           
 java.lang.Object CountFunction.call(Context context, java.util.List args)
           
 java.lang.Object SubstringBeforeFunction.call(Context context, java.util.List args)
           
 java.lang.Object StringLengthFunction.call(Context context, java.util.List args)
           
 java.lang.Object SubstringAfterFunction.call(Context context, java.util.List args)
           
 java.lang.Object LocalNameFunction.call(Context context, java.util.List args)
           
static java.lang.String LocalNameFunction.evaluate(Context context)
           
 

com.werken.xpath.impl ¤Ç¤Î Context ¤Î»ÈÍÑ
 

Context ¤òÊÖ¤¹ com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
 Context Step.applyTo(Context context)
           
 Context UnAbbrStep.applyTo(Context context)
           
 Context ParentStep.applyTo(Context context)
           
 Context Context.duplicate()
           
 

Context ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
abstract  java.lang.Object Expr.evaluate(Context context)
           
 java.lang.Object FilterExpr.evaluate(Context context)
           
 java.lang.Object Step.evaluate(Context context)
           
 Context Step.applyTo(Context context)
           
 Context UnAbbrStep.applyTo(Context context)
           
 java.lang.Object StringExpr.evaluate(Context context)
           
 Context ParentStep.applyTo(Context context)
           
 java.lang.Object VariableExpr.evaluate(Context context)
           
 java.lang.Object LocationPath.evaluate(Context context)
           
 java.lang.Object LocationPath.applyTo(Context context)
           
 java.lang.Object FunctionExpr.evaluate(Context context)
           
 java.lang.Object NumberExpr.evaluate(Context context)
           
 java.lang.Object BinaryExpr.evaluate(Context context)
           
 java.lang.Object NegativeExpr.evaluate(Context context)
           
 boolean Predicate.evaluateOnNode(Context context, java.lang.String axis)
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/PathExpr.html0100644000175000017500000001742007330705437027472 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.PathExpr ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.PathExpr ¤Î»ÈÍÑ

PathExpr ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.impl ¤Ç¤Î PathExpr ¤Î»ÈÍÑ
 

com.werken.xpath.impl ¤Ç¤Î PathExpr ¤Î¥µ¥Ö¥¯¥é¥¹
 class FilterExpr
           
 class LocationPath
           
 

com.werken.xpath.parser ¤Ç¤Î PathExpr ¤Î»ÈÍÑ
 

PathExpr ¤òÊÖ¤¹ com.werken.xpath.parser ¤Î¥á¥½¥Ã¥É
 PathExpr XPathRecognizer.path_expr()
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/Expr.html0100644000175000017500000004747107330705437026666 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.Expr ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.Expr ¤Î»ÈÍÑ

Expr ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.impl ¤Ç¤Î Expr ¤Î»ÈÍÑ
 

com.werken.xpath.impl ¤Ç¤Î Expr ¤Î¥µ¥Ö¥¯¥é¥¹
 class AbbrStep
           
 class BinaryExpr
           
 class FilterExpr
           
 class FunctionExpr
           
 class LocationPath
           
 class NameTestStep
           
 class NegativeExpr
           
 class NodeTypeStep
           
 class NumberExpr
           
 class ParentStep
           
 class PathExpr
           
 class PIStep
           
 class SelfStep
           
 class Step
           
 class StringExpr
           
 class UnAbbrStep
           
 class VariableExpr
           
 

Expr ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.impl ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
FilterExpr(Expr expr)
           
BinaryExpr(Op op, Expr lhs, Expr rhs)
           
NegativeExpr(Expr expr)
           
Predicate(Expr expr)
           
 

com.werken.xpath.parser ¤Ç¤Î Expr ¤Î»ÈÍÑ
 

Expr ¤òÊÖ¤¹ com.werken.xpath.parser ¤Î¥á¥½¥Ã¥É
 Expr XPathRecognizer.xpath()
           
 Expr XPathRecognizer.union_expr()
           
 Expr XPathRecognizer.expr()
           
 Expr XPathRecognizer.or_expr()
           
 Expr XPathRecognizer.primary_expr()
           
 Expr XPathRecognizer.literal()
           
 Expr XPathRecognizer.number()
           
 Expr XPathRecognizer.argument()
           
 Expr XPathRecognizer.and_expr()
           
 Expr XPathRecognizer.equality_expr()
           
 Expr XPathRecognizer.relational_expr()
           
 Expr XPathRecognizer.additive_expr()
           
 Expr XPathRecognizer.mult_expr()
           
 Expr XPathRecognizer.unary_expr()
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/Step.html0100644000175000017500000002760607330705437026661 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.Step ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.Step ¤Î»ÈÍÑ

Step ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.impl ¤Ç¤Î Step ¤Î»ÈÍÑ
 

com.werken.xpath.impl ¤Ç¤Î Step ¤Î¥µ¥Ö¥¯¥é¥¹
 class AbbrStep
           
 class NameTestStep
           
 class NodeTypeStep
           
 class ParentStep
           
 class PIStep
           
 class SelfStep
           
 class UnAbbrStep
           
 

Step ¤òÊÖ¤¹ com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
 Step UnAbbrStep.addPredicate(Predicate pred)
           
 

Step ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
 LocationPath LocationPath.addStep(Step step)
           
 

com.werken.xpath.parser ¤Ç¤Î Step ¤Î»ÈÍÑ
 

Step ¤òÊÖ¤¹ com.werken.xpath.parser ¤Î¥á¥½¥Ã¥É
 Step XPathRecognizer.step()
           
 Step XPathRecognizer.special_step(java.lang.String axis)
           
 Step XPathRecognizer.abbr_step()
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/class-use/LocationPath.html0100644000175000017500000002605107330705437030324 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.impl.LocationPath ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.impl.LocationPath ¤Î»ÈÍÑ

LocationPath ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.impl ¤Ç¤Î LocationPath ¤Î»ÈÍÑ
 

LocationPath ¤òÊÖ¤¹ com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
 LocationPath LocationPath.addStep(Step step)
           
 

LocationPath ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
 void FilterExpr.setLocationPath(LocationPath path)
           
 

com.werken.xpath.parser ¤Ç¤Î LocationPath ¤Î»ÈÍÑ
 

LocationPath ¤òÊÖ¤¹ com.werken.xpath.parser ¤Î¥á¥½¥Ã¥É
 LocationPath XPathRecognizer.location_path()
           
 LocationPath XPathRecognizer.absolute_location_path()
           
 LocationPath XPathRecognizer.relative_location_path()
           
 LocationPath XPathRecognizer.i_relative_location_path(LocationPath in_path)
           
 

LocationPath ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.parser ¤Î¥á¥½¥Ã¥É
 LocationPath XPathRecognizer.i_relative_location_path(LocationPath in_path)
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/AbbrStep.html0100644000175000017500000002077607330705437025552 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ AbbrStep

com.werken.xpath.impl
¥¯¥é¥¹ AbbrStep

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.Step
              |
              +--com.werken.xpath.impl.AbbrStep
ľ·Ï¤Î´ûÃΤΥµ¥Ö¥¯¥é¥¹:
ParentStep, SelfStep

public abstract class AbbrStep
extends Step


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
AbbrStep()
           
 
¥¯¥é¥¹ com.werken.xpath.impl.Step ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
applyTo, evaluate, isAbsolute, setIsAbsolute
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

AbbrStep

public AbbrStep()


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/SelfStep.html0100644000175000017500000002351207330705437025564 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ SelfStep

com.werken.xpath.impl
¥¯¥é¥¹ SelfStep

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.Step
              |
              +--com.werken.xpath.impl.AbbrStep
                    |
                    +--com.werken.xpath.impl.SelfStep

public class SelfStep
extends AbbrStep


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
SelfStep()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.util.List applyToSelf(java.lang.Object node, ContextSupport support)
           
 
¥¯¥é¥¹ com.werken.xpath.impl.Step ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
applyTo, evaluate, isAbsolute, setIsAbsolute
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

SelfStep

public SelfStep()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

applyToSelf

public java.util.List applyToSelf(java.lang.Object node,
                                  ContextSupport support)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/FilterExpr.html0100644000175000017500000002514307330705437026125 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ FilterExpr

com.werken.xpath.impl
¥¯¥é¥¹ FilterExpr

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.PathExpr
              |
              +--com.werken.xpath.impl.FilterExpr

public class FilterExpr
extends PathExpr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
FilterExpr(Expr expr)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 void addPredicate(Predicate pred)
           
 java.lang.Object evaluate(Context context)
           
 void setLocationPath(LocationPath path)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

FilterExpr

public FilterExpr(Expr expr)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

addPredicate

public void addPredicate(Predicate pred)

setLocationPath

public void setLocationPath(LocationPath path)

evaluate

public java.lang.Object evaluate(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Expr Æâ¤Î evaluate


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/Context.html0100644000175000017500000004331307330705437025464 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ Context

com.werken.xpath.impl
¥¯¥é¥¹ Context

java.lang.Object
  |
  +--com.werken.xpath.impl.Context
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
java.lang.Cloneable

public class Context
extends java.lang.Object
implements java.lang.Cloneable


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
Context(org.jdom.Document doc, ContextSupport contextSupport)
           
Context(org.jdom.Element elem, ContextSupport contextSupport)
           
Context(java.util.List nodeSet, ContextSupport contextSupport)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 Context duplicate()
           
 java.lang.Object getContextNode()
           
 ContextSupport getContextSupport()
           
 Function getFunction(java.lang.String name)
           
 java.lang.Object getNode(int index)
           
 java.util.List getNodeSet()
           
 int getPosition()
           
 int getSize()
           
 java.lang.Object getVariableValue(java.lang.String variableName)
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 void setNodeSet(java.util.List nodeSet)
           
 void setPosition(int position)
           
 java.lang.String toString()
           
 java.lang.String translateNamespacePrefix(java.lang.String prefix)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

Context

public Context(org.jdom.Document doc,
               ContextSupport contextSupport)

Context

public Context(org.jdom.Element elem,
               ContextSupport contextSupport)

Context

public Context(java.util.List nodeSet,
               ContextSupport contextSupport)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

getNodeSet

public java.util.List getNodeSet()

getSize

public int getSize()

isEmpty

public boolean isEmpty()

getPosition

public int getPosition()

setPosition

public void setPosition(int position)

getContextNode

public java.lang.Object getContextNode()

getNode

public java.lang.Object getNode(int index)

setNodeSet

public void setNodeSet(java.util.List nodeSet)

getContextSupport

public ContextSupport getContextSupport()

iterator

public java.util.Iterator iterator()

translateNamespacePrefix

public java.lang.String translateNamespacePrefix(java.lang.String prefix)

getVariableValue

public java.lang.Object getVariableValue(java.lang.String variableName)

getFunction

public Function getFunction(java.lang.String name)

duplicate

public Context duplicate()

toString

public java.lang.String toString()
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ java.lang.Object Æâ¤Î toString


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/PathExpr.html0100644000175000017500000002037107330705437025572 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ PathExpr

com.werken.xpath.impl
¥¯¥é¥¹ PathExpr

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.PathExpr
ľ·Ï¤Î´ûÃΤΥµ¥Ö¥¯¥é¥¹:
FilterExpr, LocationPath

public abstract class PathExpr
extends Expr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
PathExpr()
           
 
¥¯¥é¥¹ com.werken.xpath.impl.Expr ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
evaluate
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

PathExpr

public PathExpr()


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/Expr.html0100644000175000017500000002212107330705437024750 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ Expr

com.werken.xpath.impl
¥¯¥é¥¹ Expr

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
ľ·Ï¤Î´ûÃΤΥµ¥Ö¥¯¥é¥¹:
BinaryExpr, FunctionExpr, NegativeExpr, NumberExpr, PathExpr, Step, StringExpr, VariableExpr

public abstract class Expr
extends java.lang.Object


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
Expr()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
abstract  java.lang.Object evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

Expr

public Expr()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

evaluate

public abstract java.lang.Object evaluate(Context context)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/package-summary.html0100644000175000017500000001761607330705437027135 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.impl

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.impl

Contains implementation classes for evaluating XPath components

»²¾È:
          ÀâÌÀ

¥¯¥é¥¹¤Î³µÍ×
AbbrStep  
BinaryExpr  
Context  
Expr  
FilterExpr  
FunctionExpr  
LocationPath  
NameTestStep  
NegativeExpr  
NodeTypeStep  
NumberExpr  
Op  
ParentStep  
PathExpr  
PIStep  
Predicate  
SelfStep  
Step  
StringExpr  
UnAbbrStep  
VariableExpr  
 

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.impl ¤ÎÀâÌÀ

Contains implementation classes for evaluating XPath components



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/Step.html0100644000175000017500000002535707330705437024763 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ Step

com.werken.xpath.impl
¥¯¥é¥¹ Step

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.Step
ľ·Ï¤Î´ûÃΤΥµ¥Ö¥¯¥é¥¹:
AbbrStep, UnAbbrStep

public abstract class Step
extends Expr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
Step()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 Context applyTo(Context context)
           
 java.lang.Object evaluate(Context context)
           
 boolean isAbsolute()
           
 void setIsAbsolute(boolean isAbsolute)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

Step

public Step()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

setIsAbsolute

public void setIsAbsolute(boolean isAbsolute)

isAbsolute

public boolean isAbsolute()

evaluate

public java.lang.Object evaluate(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Expr Æâ¤Î evaluate

applyTo

public Context applyTo(Context context)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/impl/LocationPath.html0100644000175000017500000002766607330705437026442 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ LocationPath

com.werken.xpath.impl
¥¯¥é¥¹ LocationPath

java.lang.Object
  |
  +--com.werken.xpath.impl.Expr
        |
        +--com.werken.xpath.impl.PathExpr
              |
              +--com.werken.xpath.impl.LocationPath

public class LocationPath
extends PathExpr


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
LocationPath()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 LocationPath addStep(Step step)
           
 java.lang.Object applyTo(Context context)
           
 java.lang.Object evaluate(Context context)
           
 java.util.List getSteps()
           
 boolean isAbsolute()
           
 void setIsAbsolute(boolean isAbsolute)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

LocationPath

public LocationPath()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

setIsAbsolute

public void setIsAbsolute(boolean isAbsolute)

isAbsolute

public boolean isAbsolute()

addStep

public LocationPath addStep(Step step)

getSteps

public java.util.List getSteps()

evaluate

public java.lang.Object evaluate(Context context)
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ Expr Æâ¤Î evaluate

applyTo

public java.lang.Object applyTo(Context context)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/0042755000175000017500000000000007330705437023167 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/package-use.html0100644000175000017500000001057007330705437026240 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.util ¤Î»ÈÍÑ

¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.util ¤Î»ÈÍÑ

com.werken.xpath.util ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/package-frame.html0100644000175000017500000000173407330705437026540 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.util com.werken.xpath.util
¥¯¥é¥¹ 
DocumentOrderComparator
Partition
ReverseDocumentOrderComparator
werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/DocumentOrderComparator.html0100644000175000017500000002166307330705437030662 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ DocumentOrderComparator

com.werken.xpath.util
¥¯¥é¥¹ DocumentOrderComparator

java.lang.Object
  |
  +--com.werken.xpath.util.DocumentOrderComparator
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
java.io.Serializable

public class DocumentOrderComparator
extends java.lang.Object
implements java.io.Serializable

´ØÏ¢¹àÌÜ:
ľÎ󲽤µ¤ì¤¿·Á¼°

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
DocumentOrderComparator(org.jdom.Document document)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 int compare(java.lang.Object lhsIn, java.lang.Object rhsIn)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

DocumentOrderComparator

public DocumentOrderComparator(org.jdom.Document document)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

compare

public int compare(java.lang.Object lhsIn,
                   java.lang.Object rhsIn)
            throws java.lang.ClassCastException


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/Partition.html0100644000175000017500000002655707330705437026040 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ Partition

com.werken.xpath.util
¥¯¥é¥¹ Partition

java.lang.Object
  |
  +--com.werken.xpath.util.Partition

public class Partition
extends java.lang.Object


¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
Partition()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
static java.util.List descendants(org.jdom.Element node)
           
static java.util.List documentOrderDescendants(org.jdom.Element node)
           
static java.util.List following(org.jdom.Element node)
           
static java.util.List followingSiblings(org.jdom.Element node)
           
static java.util.List preceeding(org.jdom.Element node)
           
static java.util.List preceedingSiblings(org.jdom.Element node)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

Partition

public Partition()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

descendants

public static java.util.List descendants(org.jdom.Element node)

documentOrderDescendants

public static java.util.List documentOrderDescendants(org.jdom.Element node)

followingSiblings

public static java.util.List followingSiblings(org.jdom.Element node)

preceedingSiblings

public static java.util.List preceedingSiblings(org.jdom.Element node)

following

public static java.util.List following(org.jdom.Element node)

preceeding

public static java.util.List preceeding(org.jdom.Element node)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/package-tree.html0100644000175000017500000001207607330705437026406 0ustar tokamototokamoto werken.xpath API: com.werken.xpath.util ¥¯¥é¥¹³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.util ¤Î³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸³¬ÁØ:
¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸

¥¯¥é¥¹³¬ÁØ



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/class-use/0042755000175000017500000000000007330705437025066 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/class-use/DocumentOrderComparator.html0100644000175000017500000001125307330705437032553 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.util.DocumentOrderComparator ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.util.DocumentOrderComparator ¤Î»ÈÍÑ

com.werken.xpath.util.DocumentOrderComparator ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/class-use/Partition.html0100644000175000017500000001111107330705437027713 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.util.Partition ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.util.Partition ¤Î»ÈÍÑ

com.werken.xpath.util.Partition ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/class-use/ReverseDocumentOrderComparator.html0100644000175000017500000001133407330705437034107 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.util.ReverseDocumentOrderComparator ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.util.ReverseDocumentOrderComparator ¤Î»ÈÍÑ

com.werken.xpath.util.ReverseDocumentOrderComparator ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/ReverseDocumentOrderComparator.html0100644000175000017500000002204307330705437032207 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ ReverseDocumentOrderComparator

com.werken.xpath.util
¥¯¥é¥¹ ReverseDocumentOrderComparator

java.lang.Object
  |
  +--com.werken.xpath.util.ReverseDocumentOrderComparator
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
java.io.Serializable

public class ReverseDocumentOrderComparator
extends java.lang.Object
implements java.io.Serializable

´ØÏ¢¹àÌÜ:
ľÎ󲽤µ¤ì¤¿·Á¼°

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
ReverseDocumentOrderComparator(org.jdom.Document document)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 int compare(java.lang.Object lhsIn, java.lang.Object rhsIn)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

ReverseDocumentOrderComparator

public ReverseDocumentOrderComparator(org.jdom.Document document)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

compare

public int compare(java.lang.Object lhsIn,
                   java.lang.Object rhsIn)
            throws java.lang.ClassCastException


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/util/package-summary.html0100644000175000017500000001217707330705437027146 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.util

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.util

¥¯¥é¥¹¤Î³µÍ×
DocumentOrderComparator  
Partition  
ReverseDocumentOrderComparator  
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/XPath.html0100644000175000017500000003531507330705437024126 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ XPath

com.werken.xpath
¥¯¥é¥¹ XPath

java.lang.Object
  |
  +--com.werken.xpath.XPath

public class XPath
extends java.lang.Object

Main run-time interface into the XPath functionality

The XPath object embodies a textual XPath as described by the W3C XPath specification. It can be applied against a context node (or nodeset) along with context-helpers to produce the result of walking the XPath.

Example usage:

  

      // Create a new XPath
      XPath xpath = new XPath("a/b/c/../d/.[@name="foo"]);

      // Create the ContextSupport
      ContextSupport helper = new ContextSupport();

      // Use the XPathFunctionContext instance as the implement
      // for function resolution.
      helper.setFunctionContext( XPathFunctionContext.getInstance() );

      // Apply the XPath to your root context.
      Object results = xpath.applyTo(helper, myContext);

  
  

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)
´ØÏ¢¹àÌÜ:
ContextSupport, NamespaceContext, VariableContext, FunctionContext, XPathFunctionContext

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
XPath(java.lang.String xpath)
          Construct an XPath
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.util.List applyTo(ContextSupport contextSupport, org.jdom.Document doc)
           
 java.util.List applyTo(ContextSupport contextSupport, org.jdom.Element node)
          Apply this XPath to a single root node
 java.util.List applyTo(ContextSupport contextSupport, java.util.List nodes)
          Apply this XPath to a list of nodes
 java.util.List applyTo(org.jdom.Document doc)
           
 java.util.List applyTo(org.jdom.Element node)
           
 java.util.List applyTo(java.util.List nodes)
           
 java.lang.String getString()
          Retrieve the textual XPath string used to initialize this Object
 java.lang.String toString()
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

XPath

public XPath(java.lang.String xpath)
Construct an XPath
¥á¥½¥Ã¥É¤Î¾ÜºÙ

toString

public java.lang.String toString()
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ java.lang.Object Æâ¤Î toString

getString

public java.lang.String getString()
Retrieve the textual XPath string used to initialize this Object
Ìá¤êÃÍ:
The XPath string

applyTo

public java.util.List applyTo(org.jdom.Document doc)

applyTo

public java.util.List applyTo(java.util.List nodes)

applyTo

public java.util.List applyTo(org.jdom.Element node)

applyTo

public java.util.List applyTo(ContextSupport contextSupport,
                              org.jdom.Document doc)

applyTo

public java.util.List applyTo(ContextSupport contextSupport,
                              java.util.List nodes)
Apply this XPath to a list of nodes
¥Ñ¥é¥á¡¼¥¿:
contextSupport - Walk-assisting state
nodes - Root NodeSet context

applyTo

public java.util.List applyTo(ContextSupport contextSupport,
                              org.jdom.Element node)
Apply this XPath to a single root node
¥Ñ¥é¥á¡¼¥¿:
contextSupport - Walk-assisting state
node - The root context node


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/0042755000175000017500000000000007330705437024037 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/NamespaceUriFunction.html0100644000175000017500000002521207330705437031004 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ NamespaceUriFunction

com.werken.xpath.function
¥¯¥é¥¹ NamespaceUriFunction

java.lang.Object
  |
  +--com.werken.xpath.function.NamespaceUriFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class NamespaceUriFunction
extends java.lang.Object
implements Function

4.1 string namespace-uri(node-set?)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
NamespaceUriFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.String evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

NamespaceUriFunction

public NamespaceUriFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.String evaluate(Context context)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/SubstringFunction.html0100644000175000017500000002702507330705437030414 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ SubstringFunction

com.werken.xpath.function
¥¯¥é¥¹ SubstringFunction

java.lang.Object
  |
  +--com.werken.xpath.function.SubstringFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class SubstringFunction
extends java.lang.Object
implements Function

4.2 string substring(string,number,number?)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
SubstringFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.String evaluate(java.lang.Object strArg, java.lang.Object startArg)
           
static java.lang.String evaluate(java.lang.Object strArg, java.lang.Object startArg, java.lang.Object lenArg)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

SubstringFunction

public SubstringFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.String evaluate(java.lang.Object strArg,
                                        java.lang.Object startArg)

evaluate

public static java.lang.String evaluate(java.lang.Object strArg,
                                        java.lang.Object startArg,
                                        java.lang.Object lenArg)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/StartsWithFunction.html0100644000175000017500000002522007330705437030543 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ StartsWithFunction

com.werken.xpath.function
¥¯¥é¥¹ StartsWithFunction

java.lang.Object
  |
  +--com.werken.xpath.function.StartsWithFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class StartsWithFunction
extends java.lang.Object
implements Function

4.2 boolean starts-with(string,string)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
StartsWithFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Boolean evaluate(java.lang.Object strArg, java.lang.Object matchArg)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

StartsWithFunction

public StartsWithFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Boolean evaluate(java.lang.Object strArg,
                                         java.lang.Object matchArg)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/package-use.html0100644000175000017500000001616607330705437027117 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.function ¤Î»ÈÍÑ

¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.function ¤Î»ÈÍÑ

com.werken.xpath.function ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath 
com.werken.xpath.function Provides implementations for the core XPath Function Library From The W3C XPath Specification Section 4.1 -- Node Set Function Section 4.2 -- String Functions Section 4.3 -- Boolean Functions Section 4.4 -- Number Functions  
 

com.werken.xpath ¤Ë¤è¤ê»ÈÍѤµ¤ì¤ë com.werken.xpath.function ¤Î¥¯¥é¥¹
Function
          Interface for Function objects to conform to, for extensible function libraries.
 

com.werken.xpath.function ¤Ë¤è¤ê»ÈÍѤµ¤ì¤ë com.werken.xpath.function ¤Î¥¯¥é¥¹
Function
          Interface for Function objects to conform to, for extensible function libraries.
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/CeilingFunction.html0100644000175000017500000002466307330705437030013 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ CeilingFunction

com.werken.xpath.function
¥¯¥é¥¹ CeilingFunction

java.lang.Object
  |
  +--com.werken.xpath.function.CeilingFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class CeilingFunction
extends java.lang.Object
implements Function

4.4 number ceiling(number)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
CeilingFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

CeilingFunction

public CeilingFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/BooleanFunction.html0100644000175000017500000002443007330705437030010 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ BooleanFunction

com.werken.xpath.function
¥¯¥é¥¹ BooleanFunction

java.lang.Object
  |
  +--com.werken.xpath.function.BooleanFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class BooleanFunction
extends java.lang.Object
implements Function

4.3 boolean boolean(object)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
BooleanFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Boolean evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

BooleanFunction

public BooleanFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Boolean evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/Function.html0100644000175000017500000002247407330705437026516 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function

com.werken.xpath.function
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function

´ûÃΤμÂÁõ¥¯¥é¥¹¤Î°ìÍ÷:
BooleanFunction, CeilingFunction, ConcatFunction, ContainsFunction, FalseFunction, FloorFunction, LastFunction, NameFunction, NamespaceUriFunction, NumberFunction, PositionFunction, RoundFunction, StartsWithFunction, StringFunction, SubstringFunction, SumFunction, TrueFunction, NotFunction, CountFunction, SubstringBeforeFunction, StringLengthFunction, SubstringAfterFunction, LocalNameFunction

public interface Function

Interface for Function objects to conform to, for extensible function libraries.


¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
 

¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
Call the function object.
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/RoundFunction.html0100644000175000017500000002463307330705437027525 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ RoundFunction

com.werken.xpath.function
¥¯¥é¥¹ RoundFunction

java.lang.Object
  |
  +--com.werken.xpath.function.RoundFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class RoundFunction
extends java.lang.Object
implements Function

4.4 number round(number)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
RoundFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

RoundFunction

public RoundFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/ConcatFunction.html0100644000175000017500000002467607330705437027654 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ ConcatFunction

com.werken.xpath.function
¥¯¥é¥¹ ConcatFunction

java.lang.Object
  |
  +--com.werken.xpath.function.ConcatFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class ConcatFunction
extends java.lang.Object
implements Function

4.2 boolean concat(string,string,string*)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
ConcatFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.String evaluate(java.util.List list)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

ConcatFunction

public ConcatFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.String evaluate(java.util.List list)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/package-frame.html0100644000175000017500000000526707330705437027415 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.function com.werken.xpath.function
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ 
Function
¥¯¥é¥¹ 
BooleanFunction
CeilingFunction
ConcatFunction
ContainsFunction
CountFunction
FalseFunction
FloorFunction
LastFunction
LocalNameFunction
NameFunction
NamespaceUriFunction
NotFunction
NumberFunction
PositionFunction
RoundFunction
StartsWithFunction
StringFunction
StringLengthFunction
SubstringAfterFunction
SubstringBeforeFunction
SubstringFunction
SumFunction
TrueFunction
werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/CountFunction.html0100644000175000017500000002462307330705437027525 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ CountFunction

com.werken.xpath.function
¥¯¥é¥¹ CountFunction

java.lang.Object
  |
  +--com.werken.xpath.function.CountFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class CountFunction
extends java.lang.Object
implements Function

4.1 number count(node-set)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
CountFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

CountFunction

public CountFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/NameFunction.html0100644000175000017500000002503507330705437027313 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ NameFunction

com.werken.xpath.function
¥¯¥é¥¹ NameFunction

java.lang.Object
  |
  +--com.werken.xpath.function.NameFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class NameFunction
extends java.lang.Object
implements Function

4.1 string name(node-set?)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
NameFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.String evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

NameFunction

public NameFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.String evaluate(Context context)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/LastFunction.html0100644000175000017500000002477707330705437027352 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ LastFunction

com.werken.xpath.function
¥¯¥é¥¹ LastFunction

java.lang.Object
  |
  +--com.werken.xpath.function.LastFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class LastFunction
extends java.lang.Object
implements Function

4.1 number last()

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
LastFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

LastFunction

public LastFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(Context context)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/TrueFunction.html0100644000175000017500000002417607330705437027357 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ TrueFunction

com.werken.xpath.function
¥¯¥é¥¹ TrueFunction

java.lang.Object
  |
  +--com.werken.xpath.function.TrueFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class TrueFunction
extends java.lang.Object
implements Function

4.3 boolean true()

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
TrueFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Boolean evaluate()
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

TrueFunction

public TrueFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Boolean evaluate()


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/SumFunction.html0100644000175000017500000002456107330705437027202 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ SumFunction

com.werken.xpath.function
¥¯¥é¥¹ SumFunction

java.lang.Object
  |
  +--com.werken.xpath.function.SumFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class SumFunction
extends java.lang.Object
implements Function

4.4 number sum(node-set)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
SumFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

SumFunction

public SumFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/FloorFunction.html0100644000175000017500000002461107330705437027513 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ FloorFunction

com.werken.xpath.function
¥¯¥é¥¹ FloorFunction

java.lang.Object
  |
  +--com.werken.xpath.function.FloorFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class FloorFunction
extends java.lang.Object
implements Function

4.4 number floor(number)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
FloorFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

FloorFunction

public FloorFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/StringFunction.html0100644000175000017500000002600507330705437027677 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ StringFunction

com.werken.xpath.function
¥¯¥é¥¹ StringFunction

java.lang.Object
  |
  +--com.werken.xpath.function.StringFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class StringFunction
extends java.lang.Object
implements Function

4.2 string string(object)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
StringFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.String evaluate(org.jdom.Element elem)
           
static java.lang.String evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

StringFunction

public StringFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.String evaluate(java.lang.Object obj)

evaluate

public static java.lang.String evaluate(org.jdom.Element elem)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/NumberFunction.html0100644000175000017500000002463607330705437027671 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ NumberFunction

com.werken.xpath.function
¥¯¥é¥¹ NumberFunction

java.lang.Object
  |
  +--com.werken.xpath.function.NumberFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class NumberFunction
extends java.lang.Object
implements Function

4.4 number number(object)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
NumberFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

NumberFunction

public NumberFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/NotFunction.html0100644000175000017500000002457507330705437027203 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ NotFunction

com.werken.xpath.function
¥¯¥é¥¹ NotFunction

java.lang.Object
  |
  +--com.werken.xpath.function.NotFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class NotFunction
extends java.lang.Object
implements Function

4.3 boolean not(boolean)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
NotFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Boolean evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

NotFunction

public NotFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Boolean evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/SubstringBeforeFunction.html0100644000175000017500000002537107330705437031541 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ SubstringBeforeFunction

com.werken.xpath.function
¥¯¥é¥¹ SubstringBeforeFunction

java.lang.Object
  |
  +--com.werken.xpath.function.SubstringBeforeFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class SubstringBeforeFunction
extends java.lang.Object
implements Function

4.2 string substring-before(string,string)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
SubstringBeforeFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.String evaluate(java.lang.Object strArg, java.lang.Object matchArg)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

SubstringBeforeFunction

public SubstringBeforeFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.String evaluate(java.lang.Object strArg,
                                        java.lang.Object matchArg)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/LocalNameFunction.html0100644000175000017500000002513107330705437030263 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ LocalNameFunction

com.werken.xpath.function
¥¯¥é¥¹ LocalNameFunction

java.lang.Object
  |
  +--com.werken.xpath.function.LocalNameFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class LocalNameFunction
extends java.lang.Object
implements Function

4.1 string local-name(node-set?)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
LocalNameFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.String evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

LocalNameFunction

public LocalNameFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.String evaluate(Context context)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/package-tree.html0100644000175000017500000002533707330705437027262 0ustar tokamototokamoto werken.xpath API: com.werken.xpath.function ¥¯¥é¥¹³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.function ¤Î³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸³¬ÁØ:
¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸

¥¯¥é¥¹³¬ÁØ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹³¬ÁØ



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/ContainsFunction.html0100644000175000017500000002515507330705437030214 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ ContainsFunction

com.werken.xpath.function
¥¯¥é¥¹ ContainsFunction

java.lang.Object
  |
  +--com.werken.xpath.function.ContainsFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class ContainsFunction
extends java.lang.Object
implements Function

4.2 boolean contains(string,string)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
ContainsFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Boolean evaluate(java.lang.Object strArg, java.lang.Object matchArg)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

ContainsFunction

public ContainsFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Boolean evaluate(java.lang.Object strArg,
                                         java.lang.Object matchArg)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/0042755000175000017500000000000007330705437025736 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/NamespaceUriFunction.html0100644000175000017500000001125207330705437032702 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.NamespaceUriFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.NamespaceUriFunction ¤Î»ÈÍÑ

com.werken.xpath.function.NamespaceUriFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/SubstringFunction.html0100644000175000017500000001122507330705437032306 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.SubstringFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.SubstringFunction ¤Î»ÈÍÑ

com.werken.xpath.function.SubstringFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/StartsWithFunction.html0100644000175000017500000001123407330705437032442 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.StartsWithFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.StartsWithFunction ¤Î»ÈÍÑ

com.werken.xpath.function.StartsWithFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/CeilingFunction.html0100644000175000017500000001120707330705437031700 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.CeilingFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.CeilingFunction ¤Î»ÈÍÑ

com.werken.xpath.function.CeilingFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/BooleanFunction.html0100644000175000017500000001120707330705437031705 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.BooleanFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.BooleanFunction ¤Î»ÈÍÑ

com.werken.xpath.function.BooleanFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/Function.html0100644000175000017500000005127407330705437030415 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤Î»ÈÍÑ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹
com.werken.xpath.function.Function ¤Î»ÈÍÑ

Function ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath 
com.werken.xpath.function Provides implementations for the core XPath Function Library From The W3C XPath Specification Section 4.1 -- Node Set Function Section 4.2 -- String Functions Section 4.3 -- Boolean Functions Section 4.4 -- Number Functions  
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
 

com.werken.xpath ¤Ç¤Î Function ¤Î»ÈÍÑ
 

Function ¤òÊÖ¤¹ com.werken.xpath ¤Î¥á¥½¥Ã¥É
 Function Context.getFunction(java.lang.String name)
           
 Function FunctionContext.getFunction(java.lang.String name)
          Retrieve a named function Retrieve the named function object, or null if no such function exists.
 Function ContextSupport.getFunction(java.lang.String name)
          Retrieve a named function Retrieve the named function object, or null if no such function exists.
 Function XPathFunctionContext.getFunction(java.lang.String name)
          Retrieve a named function Retrieve the named function object, or null if no such function exists.
 

Function ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath ¤Î¥á¥½¥Ã¥É
protected  void XPathFunctionContext.addFunction(java.lang.String name, Function func)
          Add a function to this FunctionContext
 

com.werken.xpath.function ¤Ç¤Î Function ¤Î»ÈÍÑ
 

Function ¤ò¼ÂÁõ¤·¤Æ¤¤¤ë com.werken.xpath.function ¤Î¥¯¥é¥¹
 class BooleanFunction
          4.3 boolean boolean(object)
 class CeilingFunction
          4.4 number ceiling(number)
 class ConcatFunction
          4.2 boolean concat(string,string,string*)
 class ContainsFunction
          4.2 boolean contains(string,string)
 class CountFunction
          4.1 number count(node-set)
 class FalseFunction
          4.3 boolean false()
 class FloorFunction
          4.4 number floor(number)
 class LastFunction
          4.1 number last()
 class LocalNameFunction
          4.1 string local-name(node-set?
 class NameFunction
          4.1 string name(node-set?
 class NamespaceUriFunction
          4.1 string namespace-uri(node-set?
 class NotFunction
          4.3 boolean not(boolean)
 class NumberFunction
          4.4 number number(object)
 class PositionFunction
          4.1 number position()
 class RoundFunction
          4.4 number round(number)
 class StartsWithFunction
          4.2 boolean starts-with(string,string)
 class StringFunction
          4.2 string string(object)
 class StringLengthFunction
          4.2 number string-length(string)
 class SubstringAfterFunction
          4.2 string substring-after(string,string)
 class SubstringBeforeFunction
          4.2 string substring-before(string,string)
 class SubstringFunction
          4.2 string substring(string,number,number?
 class SumFunction
          4.4 number sum(node-set)
 class TrueFunction
          4.3 boolean true()
 

com.werken.xpath.impl ¤Ç¤Î Function ¤Î»ÈÍÑ
 

Function ¤òÊÖ¤¹ com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
 Function Context.getFunction(java.lang.String name)
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/RoundFunction.html0100644000175000017500000001117107330705437031415 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.RoundFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.RoundFunction ¤Î»ÈÍÑ

com.werken.xpath.function.RoundFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/ConcatFunction.html0100644000175000017500000001120007330705437031526 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.ConcatFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.ConcatFunction ¤Î»ÈÍÑ

com.werken.xpath.function.ConcatFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/CountFunction.html0100644000175000017500000001117107330705437031416 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.CountFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.CountFunction ¤Î»ÈÍÑ

com.werken.xpath.function.CountFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/NameFunction.html0100644000175000017500000001116207330705437031206 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.NameFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.NameFunction ¤Î»ÈÍÑ

com.werken.xpath.function.NameFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/LastFunction.html0100644000175000017500000001116207330705437031231 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.LastFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.LastFunction ¤Î»ÈÍÑ

com.werken.xpath.function.LastFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/TrueFunction.html0100644000175000017500000001116207330705437031245 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.TrueFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.TrueFunction ¤Î»ÈÍÑ

com.werken.xpath.function.TrueFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/SumFunction.html0100644000175000017500000001115307330705437031072 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.SumFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.SumFunction ¤Î»ÈÍÑ

com.werken.xpath.function.SumFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/FloorFunction.html0100644000175000017500000001117107330705437031407 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.FloorFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.FloorFunction ¤Î»ÈÍÑ

com.werken.xpath.function.FloorFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/StringFunction.html0100644000175000017500000001120007330705437031565 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.StringFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.StringFunction ¤Î»ÈÍÑ

com.werken.xpath.function.StringFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/NumberFunction.html0100644000175000017500000001120007330705437031547 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.NumberFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.NumberFunction ¤Î»ÈÍÑ

com.werken.xpath.function.NumberFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/NotFunction.html0100644000175000017500000001115307330705437031066 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.NotFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.NotFunction ¤Î»ÈÍÑ

com.werken.xpath.function.NotFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/SubstringBeforeFunction.html0100644000175000017500000001127707330705437033440 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.SubstringBeforeFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.SubstringBeforeFunction ¤Î»ÈÍÑ

com.werken.xpath.function.SubstringBeforeFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/LocalNameFunction.html0100644000175000017500000001122507330705437032161 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.LocalNameFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.LocalNameFunction ¤Î»ÈÍÑ

com.werken.xpath.function.LocalNameFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/ContainsFunction.html0100644000175000017500000001121607330705437032104 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.ContainsFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.ContainsFunction ¤Î»ÈÍÑ

com.werken.xpath.function.ContainsFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/StringLengthFunction.html0100644000175000017500000001125207330705437032736 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.StringLengthFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.StringLengthFunction ¤Î»ÈÍÑ

com.werken.xpath.function.StringLengthFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/SubstringAfterFunction.html0100644000175000017500000001127007330705437033270 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.SubstringAfterFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.SubstringAfterFunction ¤Î»ÈÍÑ

com.werken.xpath.function.SubstringAfterFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/FalseFunction.html0100644000175000017500000001117107330705437031360 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.FalseFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.FalseFunction ¤Î»ÈÍÑ

com.werken.xpath.function.FalseFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/class-use/PositionFunction.html0100644000175000017500000001121607330705437032132 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.function.PositionFunction ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.function.PositionFunction ¤Î»ÈÍÑ

com.werken.xpath.function.PositionFunction ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/StringLengthFunction.html0100644000175000017500000002502707330705437031044 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ StringLengthFunction

com.werken.xpath.function
¥¯¥é¥¹ StringLengthFunction

java.lang.Object
  |
  +--com.werken.xpath.function.StringLengthFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class StringLengthFunction
extends java.lang.Object
implements Function

4.2 number string-length(string)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
StringLengthFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(java.lang.Object obj)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

StringLengthFunction

public StringLengthFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(java.lang.Object obj)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/SubstringAfterFunction.html0100644000175000017500000002536007330705437031376 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ SubstringAfterFunction

com.werken.xpath.function
¥¯¥é¥¹ SubstringAfterFunction

java.lang.Object
  |
  +--com.werken.xpath.function.SubstringAfterFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class SubstringAfterFunction
extends java.lang.Object
implements Function

4.2 string substring-after(string,string)

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
SubstringAfterFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.String evaluate(java.lang.Object strArg, java.lang.Object matchArg)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

SubstringAfterFunction

public SubstringAfterFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.String evaluate(java.lang.Object strArg,
                                        java.lang.Object matchArg)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/FalseFunction.html0100644000175000017500000002445707330705437027474 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ FalseFunction

com.werken.xpath.function
¥¯¥é¥¹ FalseFunction

java.lang.Object
  |
  +--com.werken.xpath.function.FalseFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class FalseFunction
extends java.lang.Object
implements Function

4.3 boolean false()

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
FalseFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Boolean evaluate()
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

FalseFunction

public FalseFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Boolean evaluate()


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/package-summary.html0100644000175000017500000002660707330705437030021 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.function

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.function

Provides implementations for the core XPath Function Library From The W3C XPath Specification Section 4.1 -- Node Set Function Section 4.2 -- String Functions Section 4.3 -- Boolean Functions Section 4.4 -- Number Functions

»²¾È:
          ÀâÌÀ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î³µÍ×
Function Interface for Function objects to conform to, for extensible function libraries.
 

¥¯¥é¥¹¤Î³µÍ×
BooleanFunction 4.3 boolean boolean(object)
CeilingFunction 4.4 number ceiling(number)
ConcatFunction 4.2 boolean concat(string,string,string*)
ContainsFunction 4.2 boolean contains(string,string)
CountFunction 4.1 number count(node-set)
FalseFunction 4.3 boolean false()
FloorFunction 4.4 number floor(number)
LastFunction 4.1 number last()
LocalNameFunction 4.1 string local-name(node-set?
NameFunction 4.1 string name(node-set?
NamespaceUriFunction 4.1 string namespace-uri(node-set?
NotFunction 4.3 boolean not(boolean)
NumberFunction 4.4 number number(object)
PositionFunction 4.1 number position()
RoundFunction 4.4 number round(number)
StartsWithFunction 4.2 boolean starts-with(string,string)
StringFunction 4.2 string string(object)
StringLengthFunction 4.2 number string-length(string)
SubstringAfterFunction 4.2 string substring-after(string,string)
SubstringBeforeFunction 4.2 string substring-before(string,string)
SubstringFunction 4.2 string substring(string,number,number?
SumFunction 4.4 number sum(node-set)
TrueFunction 4.3 boolean true()
 

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.function ¤ÎÀâÌÀ

Provides implementations for the core XPath Function Library

From The W3C XPath Specification



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/function/PositionFunction.html0100644000175000017500000002507507330705437030243 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ PositionFunction

com.werken.xpath.function
¥¯¥é¥¹ PositionFunction

java.lang.Object
  |
  +--com.werken.xpath.function.PositionFunction
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
Function

public class PositionFunction
extends java.lang.Object
implements Function

4.1 number position()

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
PositionFunction()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object call(Context context, java.util.List args)
          Call the function object.
static java.lang.Double evaluate(Context context)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

PositionFunction

public PositionFunction()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

call

public java.lang.Object call(Context context,
                             java.util.List args)
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function ¤Îµ­½Ò:
Call the function object.
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Function Æâ¤Î call
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.function.Function ¤«¤é¥³¥Ô¡¼¤µ¤ì¤¿¥¿¥°:
¥Ñ¥é¥á¡¼¥¿:
context - The current context the function operates upon
args - The argument list to the function.
Ìá¤êÃÍ:
The result from calling the function.

evaluate

public static java.lang.Double evaluate(Context context)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/FunctionContext.html0100644000175000017500000002006607330705437026231 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ FunctionContext

com.werken.xpath
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ FunctionContext

´ûÃΤμÂÁõ¥¯¥é¥¹¤Î°ìÍ÷:
XPathFunctionContext

public interface FunctionContext

Specification of the interface required by ContextSupport for delegation of function resolution.

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥á¥½¥Ã¥É¤Î³µÍ×
 Function getFunction(java.lang.String name)
          Retrieve a named function Retrieve the named function object, or null if no such function exists.
 

¥á¥½¥Ã¥É¤Î¾ÜºÙ

getFunction

public Function getFunction(java.lang.String name)
Retrieve a named function

Retrieve the named function object, or null if no such function exists.

¥Ñ¥é¥á¡¼¥¿:
name - The name of the function sought.
Ìá¤êÃÍ:
The Function matching the specified name.
´ØÏ¢¹àÌÜ:
ContextSupport.setFunctionContext(com.werken.xpath.FunctionContext)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/package-use.html0100644000175000017500000002110707330705437025261 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath ¤Î»ÈÍÑ

¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath ¤Î»ÈÍÑ

com.werken.xpath ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath 
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
 

com.werken.xpath ¤Ë¤è¤ê»ÈÍѤµ¤ì¤ë com.werken.xpath ¤Î¥¯¥é¥¹
Context
           
ContextSupport
          ContextSupport maintains information to aid in the execution of the XPath against a context node. It separates the knowledge of functions, variables and namespace-bindings from the context node to be walked.
FunctionContext
          Specification of the interface required by ContextSupport for delegation of function resolution.
NamespaceContext
          Specification of the interface required by ContextSupport for delegation of namespace prefix binding resolution.
VariableContext
          Specification of the interface required by ContextSupport for delegation of variable resolution.
XPathFunctionContext
          Implementation of FunctionContext which matches the core function library as described by the W3C XPath Specification. May be directly instantiated or subclassed.
 

com.werken.xpath.impl ¤Ë¤è¤ê»ÈÍѤµ¤ì¤ë com.werken.xpath ¤Î¥¯¥é¥¹
ContextSupport
          ContextSupport maintains information to aid in the execution of the XPath against a context node. It separates the knowledge of functions, variables and namespace-bindings from the context node to be walked.
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/package-frame.html0100644000175000017500000000316307330705437025561 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath com.werken.xpath
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ 
Context
FunctionContext
NamespaceContext
VariableContext
¥¯¥é¥¹ 
ContextSupport
DefaultVariableContext
ElementNamespaceContext
Test
XPath
XPathFunctionContext
werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/Test.html0100644000175000017500000002046007330705437024014 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ Test

com.werken.xpath
¥¯¥é¥¹ Test

java.lang.Object
  |
  +--com.werken.xpath.Test

public class Test
extends java.lang.Object

Example Test driver for werken.xpath

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
Test()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
static void main(java.lang.String[] args)
           
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

Test

public Test()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

main

public static void main(java.lang.String[] args)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/NamespaceContext.html0100644000175000017500000001767707330705437026356 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ NamespaceContext

com.werken.xpath
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ NamespaceContext

´ûÃΤμÂÁõ¥¯¥é¥¹¤Î°ìÍ÷:
ElementNamespaceContext

public interface NamespaceContext

Specification of the interface required by ContextSupport for delegation of namespace prefix binding resolution.


¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.String translateNamespacePrefix(java.lang.String prefix)
          Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.
 

¥á¥½¥Ã¥É¤Î¾ÜºÙ

translateNamespacePrefix

public java.lang.String translateNamespacePrefix(java.lang.String prefix)
Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.

¥Ñ¥é¥á¡¼¥¿:
prefix - The namespace prefix
Ìá¤êÃÍ:
The URI matching the prefix
´ØÏ¢¹àÌÜ:
ContextSupport.setNamespaceContext(com.werken.xpath.NamespaceContext)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/ElementNamespaceContext.html0100644000175000017500000002441607330705437027655 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ ElementNamespaceContext

com.werken.xpath
¥¯¥é¥¹ ElementNamespaceContext

java.lang.Object
  |
  +--com.werken.xpath.ElementNamespaceContext
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
NamespaceContext

public class ElementNamespaceContext
extends java.lang.Object
implements NamespaceContext

A NamespaceContext which gets it's mappings from an Element in a JDOM tree.

It currently DOES NOT WORK

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
ElementNamespaceContext(org.jdom.Element element)
          Construct the NamespaceContext from a JDOM Element
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.String translateNamespacePrefix(java.lang.String prefix)
          Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

ElementNamespaceContext

public ElementNamespaceContext(org.jdom.Element element)
Construct the NamespaceContext from a JDOM Element
¥Ñ¥é¥á¡¼¥¿:
element - The JDOM element to use for prefix->nsURI mapping
¥á¥½¥Ã¥É¤Î¾ÜºÙ

translateNamespacePrefix

public java.lang.String translateNamespacePrefix(java.lang.String prefix)
Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.

ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ NamespaceContext Æâ¤Î translateNamespacePrefix
¥Ñ¥é¥á¡¼¥¿:
prefix - The namespace prefix
Ìá¤êÃÍ:
The URI matching the prefix
´ØÏ¢¹àÌÜ:
ContextSupport.setNamespaceContext(com.werken.xpath.NamespaceContext)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/VariableContext.html0100644000175000017500000001775507330705437026204 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ VariableContext

com.werken.xpath
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ VariableContext

´ûÃΤμÂÁõ¥¯¥é¥¹¤Î°ìÍ÷:
DefaultVariableContext

public interface VariableContext

Specification of the interface required by ContextSupport for delegation of variable resolution.

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object getVariableValue(java.lang.String name)
          Resolve a variable binding Retrieve the currently bound value of the named variable, or null if no such binding exists.
 

¥á¥½¥Ã¥É¤Î¾ÜºÙ

getVariableValue

public java.lang.Object getVariableValue(java.lang.String name)
Resolve a variable binding

Retrieve the currently bound value of the named variable, or null if no such binding exists.

¥Ñ¥é¥á¡¼¥¿:
name - The name of the variable sought.
Ìá¤êÃÍ:
The currently bound value of the variable, or null.
´ØÏ¢¹àÌÜ:
ContextSupport.getVariableValue(java.lang.String), ContextSupport.setVariableContext(com.werken.xpath.VariableContext)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/DefaultVariableContext.html0100644000175000017500000002607607330705437027505 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ DefaultVariableContext

com.werken.xpath
¥¯¥é¥¹ DefaultVariableContext

java.lang.Object
  |
  +--com.werken.xpath.DefaultVariableContext
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
VariableContext

public class DefaultVariableContext
extends java.lang.Object
implements VariableContext

A VariableContext implementation based upon a java.util.HashMap for simple name-value mappings.

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
DefaultVariableContext()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 java.lang.Object getVariableValue(java.lang.String name)
          Resolve a variable binding Retrieve the currently bound value of the named variable, or null if no such binding exists.
 void setVariableValue(java.lang.String name, java.lang.Object value)
          Set a variable finding Set the value of a named variable.
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

DefaultVariableContext

public DefaultVariableContext()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

getVariableValue

public java.lang.Object getVariableValue(java.lang.String name)
Resolve a variable binding

Retrieve the currently bound value of the named variable, or null if no such binding exists.

ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ VariableContext Æâ¤Î getVariableValue
¥Ñ¥é¥á¡¼¥¿:
name - The name of the variable sought.
Ìá¤êÃÍ:
The currently bound value of the variable, or null.
´ØÏ¢¹àÌÜ:
ContextSupport.getVariableValue(java.lang.String), ContextSupport.setVariableContext(com.werken.xpath.VariableContext)

setVariableValue

public void setVariableValue(java.lang.String name,
                             java.lang.Object value)
Set a variable finding

Set the value of a named variable.

¥Ñ¥é¥á¡¼¥¿:
name - The name of the variable to bind to the value
value - The value to bind to the variable name.


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/XPathFunctionContext.html0100644000175000017500000002741407330705437027202 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ XPathFunctionContext

com.werken.xpath
¥¯¥é¥¹ XPathFunctionContext

java.lang.Object
  |
  +--com.werken.xpath.XPathFunctionContext
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
FunctionContext

public class XPathFunctionContext
extends java.lang.Object
implements FunctionContext

Implementation of FunctionContext which matches the core function library as described by the W3C XPath Specification.

May be directly instantiated or subclassed. A Singleton is provided for ease-of-use in the default case of bare XPaths.

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
XPathFunctionContext()
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
protected  void addFunction(java.lang.String name, Function func)
          Add a function to this FunctionContext
 Function getFunction(java.lang.String name)
          Retrieve a named function Retrieve the named function object, or null if no such function exists.
static XPathFunctionContext getInstance()
          Get the XPathFunctionContext singleton.
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

XPathFunctionContext

public XPathFunctionContext()
¥á¥½¥Ã¥É¤Î¾ÜºÙ

getInstance

public static XPathFunctionContext getInstance()
Get the XPathFunctionContext singleton.
Ìá¤êÃÍ:
The global, immutable FunctionContext which matches the functions as described by the W3C XPath specification.

addFunction

protected void addFunction(java.lang.String name,
                           Function func)
Add a function to this FunctionContext
¥Ñ¥é¥á¡¼¥¿:
name - The name of the function.
func - The implementing Function Object.

getFunction

public Function getFunction(java.lang.String name)
Retrieve a named function

Retrieve the named function object, or null if no such function exists.

ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ FunctionContext Æâ¤Î getFunction
¥Ñ¥é¥á¡¼¥¿:
name - The name of the function sought.
Ìá¤êÃÍ:
The Function matching the specified name.
´ØÏ¢¹àÌÜ:
com.werken.xpath.ContextHelper#setFunctionContext


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/0042755000175000017500000000000007330705437023506 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/XPathLexerTokenTypes.html0100644000175000017500000005530207330705437030446 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ XPathLexerTokenTypes

com.werken.xpath.parser
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ XPathLexerTokenTypes

´ûÃΤμÂÁõ¥¯¥é¥¹¤Î°ìÍ÷:
XPathLexer

public interface XPathLexerTokenTypes

Generated by antlr parser-generator


¥Õ¥£¡¼¥ë¥É¤Î³µÍ×
static int AT
           
static int COLON
           
static int COMMA
           
static int DIGIT
           
static int DIV
           
static int DOLLAR_SIGN
           
static int DOT
           
static int DOT_DOT
           
static int DOUBLE_COLON
           
static int DOUBLE_QUOTE_STRING
           
static int DOUBLE_SLASH
           
static int EOF
           
static int EQUALS
           
static int GT
           
static int GTE
           
static int IDENTIFIER
           
static int KW_AND
           
static int KW_OR
           
static int LEFT_BRACKET
           
static int LEFT_PAREN
           
static int LITERAL
           
static int LT
           
static int LTE
           
static int MINUS
           
static int MOD
           
static int NOT_EQUALS
           
static int NULL_TREE_LOOKAHEAD
           
static int NUMBER
           
static int PIPE
           
static int PLUS
           
static int RIGHT_BRACKET
           
static int RIGHT_PAREN
           
static int SINGLE_QUOTE_STRING
           
static int SLASH
           
static int STAR
           
static int WS
           
 

¥Õ¥£¡¼¥ë¥É¤Î¾ÜºÙ

EOF

public static final int EOF

NULL_TREE_LOOKAHEAD

public static final int NULL_TREE_LOOKAHEAD

SLASH

public static final int SLASH

DOUBLE_SLASH

public static final int DOUBLE_SLASH

AT

public static final int AT

STAR

public static final int STAR

IDENTIFIER

public static final int IDENTIFIER

DOUBLE_COLON

public static final int DOUBLE_COLON

COLON

public static final int COLON

LEFT_PAREN

public static final int LEFT_PAREN

RIGHT_PAREN

public static final int RIGHT_PAREN

LEFT_BRACKET

public static final int LEFT_BRACKET

RIGHT_BRACKET

public static final int RIGHT_BRACKET

DOT

public static final int DOT

DOT_DOT

public static final int DOT_DOT

LITERAL

public static final int LITERAL

NUMBER

public static final int NUMBER

DOLLAR_SIGN

public static final int DOLLAR_SIGN

COMMA

public static final int COMMA

PIPE

public static final int PIPE

KW_OR

public static final int KW_OR

KW_AND

public static final int KW_AND

EQUALS

public static final int EQUALS

NOT_EQUALS

public static final int NOT_EQUALS

LT

public static final int LT

GT

public static final int GT

LTE

public static final int LTE

GTE

public static final int GTE

PLUS

public static final int PLUS

MINUS

public static final int MINUS

DIV

public static final int DIV

MOD

public static final int MOD

WS

public static final int WS

DIGIT

public static final int DIGIT

SINGLE_QUOTE_STRING

public static final int SINGLE_QUOTE_STRING

DOUBLE_QUOTE_STRING

public static final int DOUBLE_QUOTE_STRING


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/XPathTokenTypes.html0100644000175000017500000005122207330705437027443 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ XPathTokenTypes

com.werken.xpath.parser
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ XPathTokenTypes

´ûÃΤμÂÁõ¥¯¥é¥¹¤Î°ìÍ÷:
XPathRecognizer

public interface XPathTokenTypes

Generated by antlr parser-generator


¥Õ¥£¡¼¥ë¥É¤Î³µÍ×
static int AT
           
static int COLON
           
static int COMMA
           
static int DIV
           
static int DOLLAR_SIGN
           
static int DOT
           
static int DOT_DOT
           
static int DOUBLE_COLON
           
static int DOUBLE_SLASH
           
static int EOF
           
static int EQUALS
           
static int GT
           
static int GTE
           
static int IDENTIFIER
           
static int KW_AND
           
static int KW_OR
           
static int LEFT_BRACKET
           
static int LEFT_PAREN
           
static int LITERAL
           
static int LT
           
static int LTE
           
static int MINUS
           
static int MOD
           
static int NOT_EQUALS
           
static int NULL_TREE_LOOKAHEAD
           
static int NUMBER
           
static int PIPE
           
static int PLUS
           
static int RIGHT_BRACKET
           
static int RIGHT_PAREN
           
static int SLASH
           
static int STAR
           
 

¥Õ¥£¡¼¥ë¥É¤Î¾ÜºÙ

EOF

public static final int EOF

NULL_TREE_LOOKAHEAD

public static final int NULL_TREE_LOOKAHEAD

SLASH

public static final int SLASH

DOUBLE_SLASH

public static final int DOUBLE_SLASH

AT

public static final int AT

STAR

public static final int STAR

IDENTIFIER

public static final int IDENTIFIER

DOUBLE_COLON

public static final int DOUBLE_COLON

COLON

public static final int COLON

LEFT_PAREN

public static final int LEFT_PAREN

RIGHT_PAREN

public static final int RIGHT_PAREN

LEFT_BRACKET

public static final int LEFT_BRACKET

RIGHT_BRACKET

public static final int RIGHT_BRACKET

DOT

public static final int DOT

DOT_DOT

public static final int DOT_DOT

LITERAL

public static final int LITERAL

NUMBER

public static final int NUMBER

DOLLAR_SIGN

public static final int DOLLAR_SIGN

COMMA

public static final int COMMA

PIPE

public static final int PIPE

KW_OR

public static final int KW_OR

KW_AND

public static final int KW_AND

EQUALS

public static final int EQUALS

NOT_EQUALS

public static final int NOT_EQUALS

LT

public static final int LT

GT

public static final int GT

LTE

public static final int LTE

GTE

public static final int GTE

PLUS

public static final int PLUS

MINUS

public static final int MINUS

DIV

public static final int DIV

MOD

public static final int MOD


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/package-use.html0100644000175000017500000001367207330705437026565 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.parser ¤Î»ÈÍÑ

¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.parser ¤Î»ÈÍÑ

com.werken.xpath.parser ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.parser ¤Ë¤è¤ê»ÈÍѤµ¤ì¤ë com.werken.xpath.parser ¤Î¥¯¥é¥¹
XPathLexerTokenTypes
          Generated by antlr parser-generator
XPathTokenTypes
          Generated by antlr parser-generator
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/package-frame.html0100644000175000017500000000231207330705437027050 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.parser com.werken.xpath.parser
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ 
XPathLexerTokenTypes
XPathTokenTypes
¥¯¥é¥¹ 
XPathLexer
XPathRecognizer
werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/XPathLexer.html0100644000175000017500000011400007330705437026407 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ XPathLexer

com.werken.xpath.parser
¥¯¥é¥¹ XPathLexer

java.lang.Object
  |
  +--antlr.CharScanner
        |
        +--com.werken.xpath.parser.XPathLexer
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
antlr.TokenStream, XPathLexerTokenTypes

public class XPathLexer
extends antlr.CharScanner
implements XPathLexerTokenTypes, antlr.TokenStream


¥Õ¥£¡¼¥ë¥É¤Î³µÍ×
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_2
           
 
¥¯¥é¥¹ antlr.CharScanner ¤«¤é·Ñ¾µ¤·¤¿¥Õ¥£¡¼¥ë¥É
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, text, tokenObjectClass, traceDepth
 
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.parser.XPathLexerTokenTypes ¤«¤é·Ñ¾µ¤·¤¿¥Õ¥£¡¼¥ë¥É
AT, COLON, COMMA, DIGIT, DIV, DOLLAR_SIGN, DOT, DOT_DOT, DOUBLE_COLON, DOUBLE_QUOTE_STRING, DOUBLE_SLASH, EOF, EQUALS, GT, GTE, IDENTIFIER, KW_AND, KW_OR, LEFT_BRACKET, LEFT_PAREN, LITERAL, LT, LTE, MINUS, MOD, NOT_EQUALS, NULL_TREE_LOOKAHEAD, NUMBER, PIPE, PLUS, RIGHT_BRACKET, RIGHT_PAREN, SINGLE_QUOTE_STRING, SLASH, STAR, WS
 
¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
XPathLexer(antlr.InputBuffer ib)
           
XPathLexer(java.io.InputStream in)
           
XPathLexer(antlr.LexerSharedInputState state)
           
XPathLexer(java.io.Reader in)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 void mAT(boolean _createToken)
           
 void mCOLON(boolean _createToken)
           
 void mCOMMA(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
 void mDOLLAR_SIGN(boolean _createToken)
           
 void mDOT_DOT(boolean _createToken)
           
 void mDOT(boolean _createToken)
           
 void mDOUBLE_COLON(boolean _createToken)
           
protected  void mDOUBLE_QUOTE_STRING(boolean _createToken)
           
 void mDOUBLE_SLASH(boolean _createToken)
           
 void mEQUALS(boolean _createToken)
           
 void mGT(boolean _createToken)
           
 void mGTE(boolean _createToken)
           
 void mIDENTIFIER(boolean _createToken)
           
 void mLEFT_BRACKET(boolean _createToken)
           
 void mLEFT_PAREN(boolean _createToken)
           
 void mLITERAL(boolean _createToken)
           
 void mLT(boolean _createToken)
           
 void mLTE(boolean _createToken)
           
 void mMINUS(boolean _createToken)
           
 void mNOT_EQUALS(boolean _createToken)
           
 void mNUMBER(boolean _createToken)
           
 void mPIPE(boolean _createToken)
           
 void mPLUS(boolean _createToken)
           
 void mRIGHT_BRACKET(boolean _createToken)
           
 void mRIGHT_PAREN(boolean _createToken)
           
protected  void mSINGLE_QUOTE_STRING(boolean _createToken)
           
 void mSLASH(boolean _createToken)
           
 void mSTAR(boolean _createToken)
           
 void mWS(boolean _createToken)
           
 antlr.Token nextToken()
           
 
¥¯¥é¥¹ antlr.CharScanner ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOF
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥Õ¥£¡¼¥ë¥É¤Î¾ÜºÙ

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2
¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

XPathLexer

public XPathLexer(java.io.InputStream in)

XPathLexer

public XPathLexer(java.io.Reader in)

XPathLexer

public XPathLexer(antlr.InputBuffer ib)

XPathLexer

public XPathLexer(antlr.LexerSharedInputState state)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

nextToken

public antlr.Token nextToken()
                      throws antlr.TokenStreamException
ÄêµÁ:
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ antlr.TokenStream Æâ¤Î nextToken
¥ª¡¼¥Ð¡¼¥é¥¤¥É:
¥¯¥é¥¹ antlr.CharScanner Æâ¤Î nextToken

mWS

public final void mWS(boolean _createToken)
               throws antlr.RecognitionException,
                      antlr.CharStreamException,
                      antlr.TokenStreamException

mDIGIT

protected final void mDIGIT(boolean _createToken)
                     throws antlr.RecognitionException,
                            antlr.CharStreamException,
                            antlr.TokenStreamException

mSINGLE_QUOTE_STRING

protected final void mSINGLE_QUOTE_STRING(boolean _createToken)
                                   throws antlr.RecognitionException,
                                          antlr.CharStreamException,
                                          antlr.TokenStreamException

mDOUBLE_QUOTE_STRING

protected final void mDOUBLE_QUOTE_STRING(boolean _createToken)
                                   throws antlr.RecognitionException,
                                          antlr.CharStreamException,
                                          antlr.TokenStreamException

mLITERAL

public final void mLITERAL(boolean _createToken)
                    throws antlr.RecognitionException,
                           antlr.CharStreamException,
                           antlr.TokenStreamException

mNUMBER

public final void mNUMBER(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mIDENTIFIER

public final void mIDENTIFIER(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException

mLEFT_PAREN

public final void mLEFT_PAREN(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException

mRIGHT_PAREN

public final void mRIGHT_PAREN(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException

mLEFT_BRACKET

public final void mLEFT_BRACKET(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException

mRIGHT_BRACKET

public final void mRIGHT_BRACKET(boolean _createToken)
                          throws antlr.RecognitionException,
                                 antlr.CharStreamException,
                                 antlr.TokenStreamException

mPIPE

public final void mPIPE(boolean _createToken)
                 throws antlr.RecognitionException,
                        antlr.CharStreamException,
                        antlr.TokenStreamException

mDOT

public final void mDOT(boolean _createToken)
                throws antlr.RecognitionException,
                       antlr.CharStreamException,
                       antlr.TokenStreamException

mDOT_DOT

public final void mDOT_DOT(boolean _createToken)
                    throws antlr.RecognitionException,
                           antlr.CharStreamException,
                           antlr.TokenStreamException

mAT

public final void mAT(boolean _createToken)
               throws antlr.RecognitionException,
                      antlr.CharStreamException,
                      antlr.TokenStreamException

mCOMMA

public final void mCOMMA(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException

mDOUBLE_COLON

public final void mDOUBLE_COLON(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException

mCOLON

public final void mCOLON(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException

mSLASH

public final void mSLASH(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException

mDOUBLE_SLASH

public final void mDOUBLE_SLASH(boolean _createToken)
                         throws antlr.RecognitionException,
                                antlr.CharStreamException,
                                antlr.TokenStreamException

mDOLLAR_SIGN

public final void mDOLLAR_SIGN(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException

mPLUS

public final void mPLUS(boolean _createToken)
                 throws antlr.RecognitionException,
                        antlr.CharStreamException,
                        antlr.TokenStreamException

mMINUS

public final void mMINUS(boolean _createToken)
                  throws antlr.RecognitionException,
                         antlr.CharStreamException,
                         antlr.TokenStreamException

mEQUALS

public final void mEQUALS(boolean _createToken)
                   throws antlr.RecognitionException,
                          antlr.CharStreamException,
                          antlr.TokenStreamException

mNOT_EQUALS

public final void mNOT_EQUALS(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException

mLT

public final void mLT(boolean _createToken)
               throws antlr.RecognitionException,
                      antlr.CharStreamException,
                      antlr.TokenStreamException

mLTE

public final void mLTE(boolean _createToken)
                throws antlr.RecognitionException,
                       antlr.CharStreamException,
                       antlr.TokenStreamException

mGT

public final void mGT(boolean _createToken)
               throws antlr.RecognitionException,
                      antlr.CharStreamException,
                      antlr.TokenStreamException

mGTE

public final void mGTE(boolean _createToken)
                throws antlr.RecognitionException,
                       antlr.CharStreamException,
                       antlr.TokenStreamException

mSTAR

public final void mSTAR(boolean _createToken)
                 throws antlr.RecognitionException,
                        antlr.CharStreamException,
                        antlr.TokenStreamException


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/package-tree.html0100644000175000017500000001337607330705437026731 0ustar tokamototokamoto werken.xpath API: com.werken.xpath.parser ¥¯¥é¥¹³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.parser ¤Î³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸³¬ÁØ:
¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸

¥¯¥é¥¹³¬ÁØ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹³¬ÁØ



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/class-use/0042755000175000017500000000000007330705437025405 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/class-use/XPathLexerTokenTypes.html0100644000175000017500000001440407330705437032343 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.parser.XPathLexerTokenTypes ¤Î»ÈÍÑ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹
com.werken.xpath.parser.XPathLexerTokenTypes ¤Î»ÈÍÑ

XPathLexerTokenTypes ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.parser ¤Ç¤Î XPathLexerTokenTypes ¤Î»ÈÍÑ
 

XPathLexerTokenTypes ¤ò¼ÂÁõ¤·¤Æ¤¤¤ë com.werken.xpath.parser ¤Î¥¯¥é¥¹
 class XPathLexer
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/class-use/XPathTokenTypes.html0100644000175000017500000001432207330705437031342 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.parser.XPathTokenTypes ¤Î»ÈÍÑ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹
com.werken.xpath.parser.XPathTokenTypes ¤Î»ÈÍÑ

XPathTokenTypes ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath.parser Contains generated Java classes from the antlr grammar. 
 

com.werken.xpath.parser ¤Ç¤Î XPathTokenTypes ¤Î»ÈÍÑ
 

XPathTokenTypes ¤ò¼ÂÁõ¤·¤Æ¤¤¤ë com.werken.xpath.parser ¤Î¥¯¥é¥¹
 class XPathRecognizer
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/class-use/XPathLexer.html0100644000175000017500000001113207330705437030310 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.parser.XPathLexer ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.parser.XPathLexer ¤Î»ÈÍÑ

com.werken.xpath.parser.XPathLexer ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/class-use/XPathRecognizer.html0100644000175000017500000001117507330705437031347 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.parser.XPathRecognizer ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.parser.XPathRecognizer ¤Î»ÈÍÑ

com.werken.xpath.parser.XPathRecognizer ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/XPathRecognizer.html0100644000175000017500000014550207330705437027452 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ XPathRecognizer

com.werken.xpath.parser
¥¯¥é¥¹ XPathRecognizer

java.lang.Object
  |
  +--antlr.Parser
        |
        +--antlr.LLkParser
              |
              +--com.werken.xpath.parser.XPathRecognizer
¤¹¤Ù¤Æ¤Î¼ÂÁõ¥¤¥ó¥¿¥Õ¥§¡¼¥¹:
XPathTokenTypes

public class XPathRecognizer
extends antlr.LLkParser
implements XPathTokenTypes


¥Õ¥£¡¼¥ë¥É¤Î³µÍ×
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_10
           
static antlr.collections.impl.BitSet _tokenSet_11
           
static antlr.collections.impl.BitSet _tokenSet_12
           
static antlr.collections.impl.BitSet _tokenSet_13
           
static antlr.collections.impl.BitSet _tokenSet_14
           
static antlr.collections.impl.BitSet _tokenSet_15
           
static antlr.collections.impl.BitSet _tokenSet_16
           
static antlr.collections.impl.BitSet _tokenSet_17
           
static antlr.collections.impl.BitSet _tokenSet_18
           
static antlr.collections.impl.BitSet _tokenSet_19
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_20
           
static antlr.collections.impl.BitSet _tokenSet_21
           
static antlr.collections.impl.BitSet _tokenSet_22
           
static antlr.collections.impl.BitSet _tokenSet_23
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static antlr.collections.impl.BitSet _tokenSet_9
           
 
¥¯¥é¥¹ antlr.Parser ¤«¤é·Ñ¾µ¤·¤¿¥Õ¥£¡¼¥ë¥É
astFactory, inputState, returnAST, tokenNames, traceDepth
 
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.parser.XPathTokenTypes ¤«¤é·Ñ¾µ¤·¤¿¥Õ¥£¡¼¥ë¥É
AT, COLON, COMMA, DIV, DOLLAR_SIGN, DOT, DOT_DOT, DOUBLE_COLON, DOUBLE_SLASH, EOF, EQUALS, GT, GTE, IDENTIFIER, KW_AND, KW_OR, LEFT_BRACKET, LEFT_PAREN, LITERAL, LT, LTE, MINUS, MOD, NOT_EQUALS, NULL_TREE_LOOKAHEAD, NUMBER, PIPE, PLUS, RIGHT_BRACKET, RIGHT_PAREN, SLASH, STAR
 
¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
  XPathRecognizer(antlr.ParserSharedInputState state)
           
  XPathRecognizer(antlr.TokenBuffer tokenBuf)
           
protected XPathRecognizer(antlr.TokenBuffer tokenBuf, int k)
           
  XPathRecognizer(antlr.TokenStream lexer)
           
protected XPathRecognizer(antlr.TokenStream lexer, int k)
           
 
¥á¥½¥Ã¥É¤Î³µÍ×
 void abbr_axis_specifier()
           
 Step abbr_step()
           
 LocationPath absolute_location_path()
           
 Expr additive_expr()
           
 Expr and_expr()
           
 java.util.List arg_list()
           
 Expr argument()
           
 java.lang.String axis()
           
 Expr equality_expr()
           
 Expr expr()
           
 FilterExpr filter_expr()
           
 FunctionExpr function_call()
           
 LocationPath i_relative_location_path(LocationPath in_path)
           
 Expr literal()
           
 LocationPath location_path()
           
 Expr mult_expr()
           
 Expr number()
           
 Expr or_expr()
           
 PathExpr path_expr()
           
 Predicate predicate_expr()
           
 Predicate predicate()
           
 Expr primary_expr()
           
 Expr relational_expr()
           
 LocationPath relative_location_path()
           
 Step special_step(java.lang.String axis)
           
 Step step()
           
 Expr unary_expr()
           
 Expr union_expr()
           
 VariableExpr variable_reference()
           
 Expr xpath()
           
 
¥¯¥é¥¹ antlr.LLkParser ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
consume, LA, LT, traceIn, traceOut
 
¥¯¥é¥¹ antlr.Parser ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥Õ¥£¡¼¥ë¥É¤Î¾ÜºÙ

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8

_tokenSet_9

public static final antlr.collections.impl.BitSet _tokenSet_9

_tokenSet_10

public static final antlr.collections.impl.BitSet _tokenSet_10

_tokenSet_11

public static final antlr.collections.impl.BitSet _tokenSet_11

_tokenSet_12

public static final antlr.collections.impl.BitSet _tokenSet_12

_tokenSet_13

public static final antlr.collections.impl.BitSet _tokenSet_13

_tokenSet_14

public static final antlr.collections.impl.BitSet _tokenSet_14

_tokenSet_15

public static final antlr.collections.impl.BitSet _tokenSet_15

_tokenSet_16

public static final antlr.collections.impl.BitSet _tokenSet_16

_tokenSet_17

public static final antlr.collections.impl.BitSet _tokenSet_17

_tokenSet_18

public static final antlr.collections.impl.BitSet _tokenSet_18

_tokenSet_19

public static final antlr.collections.impl.BitSet _tokenSet_19

_tokenSet_20

public static final antlr.collections.impl.BitSet _tokenSet_20

_tokenSet_21

public static final antlr.collections.impl.BitSet _tokenSet_21

_tokenSet_22

public static final antlr.collections.impl.BitSet _tokenSet_22

_tokenSet_23

public static final antlr.collections.impl.BitSet _tokenSet_23
¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

XPathRecognizer

protected XPathRecognizer(antlr.TokenBuffer tokenBuf,
                          int k)

XPathRecognizer

public XPathRecognizer(antlr.TokenBuffer tokenBuf)

XPathRecognizer

protected XPathRecognizer(antlr.TokenStream lexer,
                          int k)

XPathRecognizer

public XPathRecognizer(antlr.TokenStream lexer)

XPathRecognizer

public XPathRecognizer(antlr.ParserSharedInputState state)
¥á¥½¥Ã¥É¤Î¾ÜºÙ

xpath

public final Expr xpath()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException

union_expr

public final Expr union_expr()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException

location_path

public final LocationPath location_path()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException

absolute_location_path

public final LocationPath absolute_location_path()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException

relative_location_path

public final LocationPath relative_location_path()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException

i_relative_location_path

public final LocationPath i_relative_location_path(LocationPath in_path)
                                            throws antlr.RecognitionException,
                                                   antlr.TokenStreamException

step

public final Step step()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException

axis

public final java.lang.String axis()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException

special_step

public final Step special_step(java.lang.String axis)
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException

predicate

public final Predicate predicate()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException

abbr_step

public final Step abbr_step()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException

predicate_expr

public final Predicate predicate_expr()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException

expr

public final Expr expr()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException

abbr_axis_specifier

public final void abbr_axis_specifier()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException

or_expr

public final Expr or_expr()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException

primary_expr

public final Expr primary_expr()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException

variable_reference

public final VariableExpr variable_reference()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException

literal

public final Expr literal()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException

number

public final Expr number()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException

function_call

public final FunctionExpr function_call()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException

arg_list

public final java.util.List arg_list()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException

argument

public final Expr argument()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException

path_expr

public final PathExpr path_expr()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException

filter_expr

public final FilterExpr filter_expr()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException

and_expr

public final Expr and_expr()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException

equality_expr

public final Expr equality_expr()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException

relational_expr

public final Expr relational_expr()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException

additive_expr

public final Expr additive_expr()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException

mult_expr

public final Expr mult_expr()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException

unary_expr

public final Expr unary_expr()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/parser/package-summary.html0100644000175000017500000001422207330705437027456 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.parser

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.parser

Contains generated Java classes from the antlr grammar.

»²¾È:
          ÀâÌÀ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î³µÍ×
XPathLexerTokenTypes Generated by antlr parser-generator
XPathTokenTypes Generated by antlr parser-generator
 

¥¯¥é¥¹¤Î³µÍ×
XPathLexer  
XPathRecognizer  
 

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.parser ¤ÎÀâÌÀ

Contains generated Java classes from the antlr grammar.



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/package-tree.html0100644000175000017500000001412007330705437025421 0ustar tokamototokamoto werken.xpath API: com.werken.xpath ¥¯¥é¥¹³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath ¤Î³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸³¬ÁØ:
¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸

¥¯¥é¥¹³¬ÁØ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹³¬ÁØ



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/0042755000175000017500000000000007330705437024111 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/XPath.html0100644000175000017500000001075507330705437026026 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.XPath ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.XPath ¤Î»ÈÍÑ

com.werken.xpath.XPath ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/FunctionContext.html0100644000175000017500000002030307330705437030122 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.FunctionContext ¤Î»ÈÍÑ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹
com.werken.xpath.FunctionContext ¤Î»ÈÍÑ

FunctionContext ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath 
 

com.werken.xpath ¤Ç¤Î FunctionContext ¤Î»ÈÍÑ
 

FunctionContext ¤ò¼ÂÁõ¤·¤Æ¤¤¤ë com.werken.xpath ¤Î¥¯¥é¥¹
 class XPathFunctionContext
          Implementation of FunctionContext which matches the core function library as described by the W3C XPath Specification. May be directly instantiated or subclassed.
 

FunctionContext ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath ¤Î¥á¥½¥Ã¥É
 void ContextSupport.setFunctionContext(FunctionContext functionContext)
          Set the FunctionContext implementation
 

FunctionContext ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
ContextSupport(NamespaceContext nsContext, FunctionContext functionContext, VariableContext variableContext)
          Construct a semantically initialized ContextSupport
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/Test.html0100644000175000017500000001074607330705437025721 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.Test ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.Test ¤Î»ÈÍÑ

com.werken.xpath.Test ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/NamespaceContext.html0100644000175000017500000002024107330705437030232 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.NamespaceContext ¤Î»ÈÍÑ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹
com.werken.xpath.NamespaceContext ¤Î»ÈÍÑ

NamespaceContext ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath 
 

com.werken.xpath ¤Ç¤Î NamespaceContext ¤Î»ÈÍÑ
 

NamespaceContext ¤ò¼ÂÁõ¤·¤Æ¤¤¤ë com.werken.xpath ¤Î¥¯¥é¥¹
 class ElementNamespaceContext
          A NamespaceContext which gets it's mappings from an Element in a JDOM tree. It currently DOES NOT WORK
 

NamespaceContext ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath ¤Î¥á¥½¥Ã¥É
 void ContextSupport.setNamespaceContext(NamespaceContext nsContext)
          Set the NamespaceContext implementation
 

NamespaceContext ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
ContextSupport(NamespaceContext nsContext, FunctionContext functionContext, VariableContext variableContext)
          Construct a semantically initialized ContextSupport
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/ElementNamespaceContext.html0100644000175000017500000001115307330705437031546 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.ElementNamespaceContext ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.ElementNamespaceContext ¤Î»ÈÍÑ

com.werken.xpath.ElementNamespaceContext ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/VariableContext.html0100644000175000017500000002017707330705437030073 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.VariableContext ¤Î»ÈÍÑ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹
com.werken.xpath.VariableContext ¤Î»ÈÍÑ

VariableContext ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath 
 

com.werken.xpath ¤Ç¤Î VariableContext ¤Î»ÈÍÑ
 

VariableContext ¤ò¼ÂÁõ¤·¤Æ¤¤¤ë com.werken.xpath ¤Î¥¯¥é¥¹
 class DefaultVariableContext
          A VariableContext implementation based upon a java.util.HashMap for simple name-value mappings.
 

VariableContext ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath ¤Î¥á¥½¥Ã¥É
 void ContextSupport.setVariableContext(VariableContext variableContext)
          Set the VariableContext implementation
 

VariableContext ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
ContextSupport(NamespaceContext nsContext, FunctionContext functionContext, VariableContext variableContext)
          Construct a semantically initialized ContextSupport
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/DefaultVariableContext.html0100644000175000017500000001114407330705437031372 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.DefaultVariableContext ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.DefaultVariableContext ¤Î»ÈÍÑ

com.werken.xpath.DefaultVariableContext ¤Ï¤É¤³¤«¤é¤â»ÈÍѤµ¤ì¤Æ¤¤¤Þ¤»¤ó



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/XPathFunctionContext.html0100644000175000017500000001431607330705437031076 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.XPathFunctionContext ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.XPathFunctionContext ¤Î»ÈÍÑ

XPathFunctionContext ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath 
 

com.werken.xpath ¤Ç¤Î XPathFunctionContext ¤Î»ÈÍÑ
 

XPathFunctionContext ¤òÊÖ¤¹ com.werken.xpath ¤Î¥á¥½¥Ã¥É
static XPathFunctionContext XPathFunctionContext.getInstance()
          Get the XPathFunctionContext singleton.
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/ContextSupport.html0100644000175000017500000005566707330705437030036 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ com.werken.xpath.ContextSupport ¤Î»ÈÍÑ

¥¯¥é¥¹
com.werken.xpath.ContextSupport ¤Î»ÈÍÑ

ContextSupport ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath 
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
 

com.werken.xpath ¤Ç¤Î ContextSupport ¤Î»ÈÍÑ
 

ContextSupport ¤òÊÖ¤¹ com.werken.xpath ¤Î¥á¥½¥Ã¥É
 ContextSupport Context.getContextSupport()
           
 

ContextSupport ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath ¤Î¥á¥½¥Ã¥É
 java.util.List XPath.applyTo(ContextSupport contextSupport, org.jdom.Document doc)
           
 java.util.List XPath.applyTo(ContextSupport contextSupport, java.util.List nodes)
          Apply this XPath to a list of nodes
 java.util.List XPath.applyTo(ContextSupport contextSupport, org.jdom.Element node)
          Apply this XPath to a single root node
 

com.werken.xpath.impl ¤Ç¤Î ContextSupport ¤Î»ÈÍÑ
 

ContextSupport ¤òÊÖ¤¹ com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
 ContextSupport Context.getContextSupport()
           
 

ContextSupport ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.impl ¤Î¥á¥½¥Ã¥É
 java.util.List UnAbbrStep.applyTo(java.util.List nodeSet, ContextSupport support, java.lang.String axis)
           
 java.util.List UnAbbrStep.applyTo(java.util.List nodeSet, ContextSupport support, java.lang.String axis, boolean doPreds)
           
 java.util.List UnAbbrStep.applyToSelf(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToChild(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToDescendant(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToDescendantOrSelf(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToParent(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToAncestor(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToAncestorOrSelf(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToAttribute(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToPreceeding(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToFollowing(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToPreceedingSibling(java.lang.Object node, ContextSupport support)
           
 java.util.List UnAbbrStep.applyToFollowingSibling(java.lang.Object node, ContextSupport support)
           
 java.util.List NodeTypeStep.applyToChild(java.lang.Object node, ContextSupport support)
           
 java.util.List NodeTypeStep.applyToSelf(java.lang.Object node, ContextSupport support)
           
 java.util.List SelfStep.applyToSelf(java.lang.Object node, ContextSupport support)
           
 java.util.List NameTestStep.applyToSelf(java.lang.Object node, ContextSupport support)
           
 java.util.List NameTestStep.applyToAttribute(java.lang.Object node, ContextSupport support)
           
 java.util.List NameTestStep.applyToChild(java.lang.Object node, ContextSupport support)
           
 java.util.List Predicate.evaluateOn(java.util.List nodeSet, ContextSupport support, java.lang.String axis)
           
 

ContextSupport ·¿¤Î¥Ñ¥é¥á¡¼¥¿¤ò»ý¤Ä com.werken.xpath.impl ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
Context(org.jdom.Document doc, ContextSupport contextSupport)
           
Context(org.jdom.Element elem, ContextSupport contextSupport)
           
Context(java.util.List nodeSet, ContextSupport contextSupport)
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/class-use/Context.html0100644000175000017500000001374307330705437026426 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ com.werken.xpath.Context ¤Î»ÈÍÑ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹
com.werken.xpath.Context ¤Î»ÈÍÑ

Context ¤ò»ÈÍѤ·¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath 
 

com.werken.xpath ¤Ç¤Î Context ¤Î»ÈÍÑ
 

Context ¤òÊÖ¤¹ com.werken.xpath ¤Î¥á¥½¥Ã¥É
 Context Context.duplicate()
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/ContextSupport.html0100644000175000017500000004112207330705437026114 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹ ContextSupport

com.werken.xpath
¥¯¥é¥¹ ContextSupport

java.lang.Object
  |
  +--com.werken.xpath.ContextSupport

public class ContextSupport
extends java.lang.Object

ContextSupport maintains information to aid in the execution of the XPath against a context node.

It separates the knowledge of functions, variables and namespace-bindings from the context node to be walked.

ºîÀ®¼Ô:
bob mcwhirter (bob @ werken.com)

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î³µÍ×
ContextSupport()
          Construct a semantically empty ContextSupport
ContextSupport(NamespaceContext nsContext, FunctionContext functionContext, VariableContext variableContext)
          Construct a semantically initialized ContextSupport
 
¥á¥½¥Ã¥É¤Î³µÍ×
 Function getFunction(java.lang.String name)
          Retrieve a named function Retrieve the named function object, or null if no such function exists.
 java.lang.Object getVariableValue(java.lang.String name)
          Resolve a variable binding Retrieve the currently bound value of the named variable, or null if no such binding exists.
 void setFunctionContext(FunctionContext functionContext)
          Set the FunctionContext implementation
 void setNamespaceContext(NamespaceContext nsContext)
          Set the NamespaceContext implementation
 void setVariableContext(VariableContext variableContext)
          Set the VariableContext implementation
 java.lang.String translateNamespacePrefix(java.lang.String prefix)
          Translate a namespace prefix into a URI Using the NamespaceContext implementation, translate the prefix used in a component of an XPath into its expanded namespace URI.
 
¥¯¥é¥¹ java.lang.Object ¤«¤é·Ñ¾µ¤·¤¿¥á¥½¥Ã¥É
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

¥³¥ó¥¹¥È¥é¥¯¥¿¤Î¾ÜºÙ

ContextSupport

public ContextSupport()
Construct a semantically empty ContextSupport

ContextSupport

public ContextSupport(NamespaceContext nsContext,
                      FunctionContext functionContext,
                      VariableContext variableContext)
Construct a semantically initialized ContextSupport
¥Ñ¥é¥á¡¼¥¿:
nsContext - The NamespaceContext implementation
functionContext - The FunctionContext implementation
variableContext - The VariableContext implementation
¥á¥½¥Ã¥É¤Î¾ÜºÙ

setNamespaceContext

public void setNamespaceContext(NamespaceContext nsContext)
Set the NamespaceContext implementation
¥Ñ¥é¥á¡¼¥¿:
nsContext - The NamespaceContext implementation

setFunctionContext

public void setFunctionContext(FunctionContext functionContext)
Set the FunctionContext implementation
¥Ñ¥é¥á¡¼¥¿:
functionContext - The FunctionContext implementation

setVariableContext

public void setVariableContext(VariableContext variableContext)
Set the VariableContext implementation
¥Ñ¥é¥á¡¼¥¿:
variableContext - The FunctionContext implementation

translateNamespacePrefix

public java.lang.String translateNamespacePrefix(java.lang.String prefix)
Translate a namespace prefix into a URI

Using the NamespaceContext implementation, translate the prefix used in a component of an XPath into its expanded namespace URI.

¥Ñ¥é¥á¡¼¥¿:
prefix - The namespace prefix
Ìá¤êÃÍ:
The URI matching the prefix
´ØÏ¢¹àÌÜ:
setNamespaceContext(com.werken.xpath.NamespaceContext)

getFunction

public Function getFunction(java.lang.String name)
Retrieve a named function

Retrieve the named function object, or null if no such function exists. Delegates to the FunctionContext implementation provided, if any.

¥Ñ¥é¥á¡¼¥¿:
name - The name of the function sought.
Ìá¤êÃÍ:
The Function matching the specified name.
´ØÏ¢¹àÌÜ:
setFunctionContext(com.werken.xpath.FunctionContext)

getVariableValue

public java.lang.Object getVariableValue(java.lang.String name)
Resolve a variable binding

Retrieve the currently bound value of the named variable, or null if no such binding exists. Delegates to the VariableContext implementation provided, if any.

¥Ñ¥é¥á¡¼¥¿:
name - The name of the variable sought.
Ìá¤êÃÍ:
The currently bound value of the variable, or null.
´ØÏ¢¹àÌÜ:
setVariableContext(com.werken.xpath.VariableContext)


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/Context.html0100644000175000017500000002754407330705437024533 0ustar tokamototokamoto werken.xpath API: ¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Context

com.werken.xpath
¥¤¥ó¥¿¥Õ¥§¡¼¥¹ Context


public interface Context


¥á¥½¥Ã¥É¤Î³µÍ×
 Context duplicate()
           
 java.lang.Object getContextNode()
           
 ContextSupport getContextSupport()
           
 Function getFunction(java.lang.String name)
           
 java.util.List getNodeSet()
           
 int getPosition()
           
 int getSize()
           
 java.lang.Object getVariableValue(java.lang.String name)
           
 boolean isEmpty()
           
 void setNodeSet(java.util.List nodeSet)
           
 java.lang.String translateNamespacePrefix(java.lang.String prefix)
           
 

¥á¥½¥Ã¥É¤Î¾ÜºÙ

getNodeSet

public java.util.List getNodeSet()

getContextNode

public java.lang.Object getContextNode()

getPosition

public int getPosition()

getSize

public int getSize()

isEmpty

public boolean isEmpty()

translateNamespacePrefix

public java.lang.String translateNamespacePrefix(java.lang.String prefix)

getVariableValue

public java.lang.Object getVariableValue(java.lang.String name)

getFunction

public Function getFunction(java.lang.String name)

getContextSupport

public ContextSupport getContextSupport()

setNodeSet

public void setNodeSet(java.util.List nodeSet)

duplicate

public Context duplicate()


Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/com/werken/xpath/package-summary.html0100644000175000017500000002002007330705437026153 0ustar tokamototokamoto werken.xpath API: ¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath

Provides the core tools needed to use XPath

»²¾È:
          ÀâÌÀ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î³µÍ×
Context  
FunctionContext Specification of the interface required by ContextSupport for delegation of function resolution.
NamespaceContext Specification of the interface required by ContextSupport for delegation of namespace prefix binding resolution.
VariableContext Specification of the interface required by ContextSupport for delegation of variable resolution.
 

¥¯¥é¥¹¤Î³µÍ×
ContextSupport ContextSupport maintains information to aid in the execution of the XPath against a context node. It separates the knowledge of functions, variables and namespace-bindings from the context node to be walked.
DefaultVariableContext A VariableContext implementation based upon a java.util.HashMap for simple name-value mappings.
ElementNamespaceContext A NamespaceContext which gets it's mappings from an Element in a JDOM tree. It currently DOES NOT WORK
Test Example Test driver for werken.xpath
XPath Main run-time interface into the XPath functionality The XPath object embodies a textual XPath as described by the W3C XPath specification.
XPathFunctionContext Implementation of FunctionContext which matches the core function library as described by the W3C XPath Specification. May be directly instantiated or subclassed.
 

¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath ¤ÎÀâÌÀ

Provides the core tools needed to use XPath



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/serialized-form.html0100644000175000017500000001330407330705437022773 0ustar tokamototokamoto ľÎ󲽤µ¤ì¤¿·Á¼°

ľÎ󲽤µ¤ì¤¿·Á¼°


¥Ñ¥Ã¥±¡¼¥¸ com.werken.xpath.util

¥¯¥é¥¹ com.werken.xpath.util.DocumentOrderComparator ¤Ï Serializable ¤ò¼ÂÁõ¤·¤Þ¤¹¡£

ľÎ󲽤µ¤ì¤¿¥Õ¥£¡¼¥ë¥É

_orderings

java.util.Map _orderings

¥¯¥é¥¹ com.werken.xpath.util.ReverseDocumentOrderComparator ¤Ï Serializable ¤ò¼ÂÁõ¤·¤Þ¤¹¡£

ľÎ󲽤µ¤ì¤¿¥Õ¥£¡¼¥ë¥É

_orderings

java.util.Map _orderings



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/packages.html0100644000175000017500000000125607330705437021460 0ustar tokamototokamoto werken.xpath API


¥Õ¥í¥ó¥È¥Ú¡¼¥¸¤¬Êѹ¹¤µ¤ì¤Þ¤·¤¿¡£¼¡¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤:
          ¥Õ¥ì¡¼¥à¤¢¤ê¤Î¥Ð¡¼¥¸¥ç¥ó
          ¥Õ¥ì¡¼¥à¤Ê¤·¤Î¥Ð¡¼¥¸¥ç¥ó
werken.xpath-0.9.4.orig/apidocs/stylesheet.css0100644000175000017500000000234407330705437021716 0ustar tokamototokamoto/* javadoc ¥¹¥¿¥¤¥ë¥·¡¼¥È */ /* ¿§¤ä¥Õ¥©¥ó¥È¤Ê¤É¤Î¥¹¥¿¥¤¥ë°À­¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò¾å½ñ¤­¤¹¤ë¤Ë¤Ï¡¢¤³¤³¤ÇÄêµÁ¤·¤Þ¤¹¡£ */ /* ¥Ú¡¼¥¸¤Î¥Ð¥Ã¥¯¥°¥é¥¦¥ó¥É¤Î¿§ */ body { background-color: #FFFFFF } /* ¥Æ¡¼¥Ö¥ë¤Î¿§ */ .TableHeadingColor { background: #CCCCFF } /* Ç»¤¤Æ£¿§ */ .TableSubHeadingColor { background: #EEEEFF } /* Çö¤¤Æ£¿§ */ .TableRowColor { background: #FFFFFF } /* Çò */ /* º¸Â¦¤Î¥Õ¥ì¡¼¥à¤Î¥ê¥¹¥È¤Ë»ÈÍѤ¹¤ë¥Õ¥©¥ó¥È */ .FrameTitleFont { font-size: normal; font-family: normal } .FrameHeadingFont { font-size: normal; font-family: normal } .FrameItemFont { font-size: normal; font-family: normal } /* ¥Õ¥ì¡¼¥à¤Ë¤ª¤±¤ë¡¢¤è¤ê¾®¤µ¤¤¡¢¥»¥ê¥Õ¤Ê¤·¥Õ¥©¥ó¥È¤ÎÎã */ /* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */ /* ¥Ê¥Ó¥²¡¼¥·¥ç¥ó¥Ð¡¼¤Î¥Õ¥©¥ó¥È¤È¿§ */ .NavBarCell1 { background-color:#EEEEFF;}/* Çö¤¤Æ£¿§ */ .NavBarCell1Rev { background-color:#00008B;}/* Ç»¤¤ÀÄ */ .NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} .NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} .NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} .NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} werken.xpath-0.9.4.orig/apidocs/help-doc.html0100644000175000017500000001770207330705437021400 0ustar tokamototokamoto werken.xpath API: API ¥Ø¥ë¥×

API ¥É¥­¥å¥á¥ó¥È¤Î¹½À®

¤³¤Î API (Application Programming Interface) ¥É¥­¥å¥á¥ó¥È¤Ë¤Ï¡¢¼¡¤ËÀâÌÀ¤¹¤ë¥Ê¥Ó¥²¡¼¥·¥ç¥ó¥Ð¡¼¤Ë¤¢¤ë¹àÌܤËÂбþ¤¹¤ë¥Ú¡¼¥¸¤¬´Þ¤Þ¤ì¤Þ¤¹¡£

³µÍ×

³µÍ× ¥Ú¡¼¥¸¤Ï API ¥É¥­¥å¥á¥ó¥È¤Î¥Õ¥í¥ó¥È¥Ú¡¼¥¸¤Ç¡¢³Æ¥Ñ¥Ã¥±¡¼¥¸¤Î³µÍפò´Þ¤àÁ´¥Ñ¥Ã¥±¡¼¥¸¤Î°ìÍ÷¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£°ìÏ¢¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î³µÍ×ÀâÌÀ¤âɽ¼¨¤µ¤ì¤Þ¤¹¡£

¥Ñ¥Ã¥±¡¼¥¸

³Æ¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î¥¯¥é¥¹¤È¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ø¤Î¥ê¥ó¥¯¤ò´Þ¤à¥Ú¡¼¥¸¤ò»ý¤Á¤Þ¤¹¡£¤³¤Î¥Ú¡¼¥¸¤Ï 4 ¤Ä¤Î¥«¥Æ¥´¥ê¤Ç¹½À®¤µ¤ì¤Þ¤¹:

¥¯¥é¥¹¤Þ¤¿¤Ï¥¤¥ó¥¿¥Õ¥§¡¼¥¹

³Æ¥¯¥é¥¹¡¢¥¤¥ó¥¿¥Õ¥§¡¼¥¹¡¢ÆâÉô¥¯¥é¥¹¡¢¤ª¤è¤ÓÆâÉô¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï¸ÄÊ̤Υڡ¼¥¸¤ò»ý¤Á¤Þ¤¹¡£³Æ¥Ú¡¼¥¸¤Ë¤Ï¼¡¤Î¤è¤¦¤Ë¡¢¥¯¥é¥¹¤Þ¤¿¤Ï¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ÎÀâÌÀ¤È¡¢³µÍץơ¼¥Ö¥ë¡¢¤ª¤è¤Ó¥á¥ó¥Ð¤Î¾ÜºÙÀâÌÀ¤¬´Þ¤Þ¤ì¤Þ¤¹:

³Æ³µÍ×¹àÌܤˤϡ¢¤½¤Î¹àÌܤξܺÙÀâÌÀ¤ÎÃæ¤«¤é 1 ¹ÔÌܤÎʸ¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¾ÜºÙÀâÌÀ¤Ï¥½¡¼¥¹¥³¡¼¥É¤Ë¸½¤ï¤ì¤ë½ç¤ËʤӤޤ¹¤¬¡¢³µÍ×¹àÌܤϥ¢¥ë¥Õ¥¡¥Ù¥Ã¥È½ç¤ËʤӤޤ¹¡£¤³¤ì¤Ë¤è¤Ã¤Æ¡¢¥×¥í¥°¥é¥Þ¤¬ÀßÄꤷ¤¿ÏÀÍýŪ¤Ê¥°¥ë¡¼¥×ʬ¤±¤¬ÊÝ»ý¤µ¤ì¤Þ¤¹¡£

»ÈÍÑ

³Æ¥É¥­¥å¥á¥ó¥È²½¤µ¤ì¤¿¥Ñ¥Ã¥±¡¼¥¸¡¢¥¯¥é¥¹¡¢¤ª¤è¤Ó¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï¤½¤ì¤¾¤ì [»ÈÍÑ] ¥Ú¡¼¥¸¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ú¡¼¥¸¤Ë¤Ï¡¢¤É¤Î¤è¤¦¤Ê¥Ñ¥Ã¥±¡¼¥¸¡¢¥¯¥é¥¹¡¢¥á¥½¥Ã¥É¡¢¥³¥ó¥¹¥È¥é¥¯¥¿¡¢¤ª¤è¤Ó¥Õ¥£¡¼¥ë¥É¤¬¡¢ÆÃÄê¤Î¥¯¥é¥¹¤Þ¤¿¤Ï¥Ñ¥Ã¥±¡¼¥¸¤Î°ìÉô¤ò»ÈÍѤ·¤Æ¤¤¤ë¤«¤¬µ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢¥¯¥é¥¹ A ¤Þ¤¿¤Ï¥¤¥ó¥¿¥Õ¥§¡¼¥¹ A ¤Î¾ì¹ç¡¢¤½¤Î [»ÈÍÑ] ¥Ú¡¼¥¸¤Ë¤Ï¡¢A ¤Î¥µ¥Ö¥¯¥é¥¹¡¢A ¤È¤·¤ÆÀë¸À¤µ¤ì¤ë¥Õ¥£¡¼¥ë¥É¡¢A ¤òÊÖ¤¹¥á¥½¥Ã¥É¡¢¤ª¤è¤Ó¡¢·¿ A ¤ò»ý¤Ä¥á¥½¥Ã¥É¤È¥³¥ó¥¹¥È¥é¥¯¥¿¤¬´Þ¤Þ¤ì¤Þ¤¹¡£¤³¤Î¥Ú¡¼¥¸¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Ë¤Ï¡¢¤Þ¤º¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¡¢¥¯¥é¥¹¡¢¤Þ¤¿¤Ï¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ë°Üư¤·¡¢¥Ê¥Ó¥²¡¼¥·¥ç¥ó¥Ð¡¼¤Î [»ÈÍÑ] ¥ê¥ó¥¯¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£

³¬Áإĥ꡼ (¥¯¥é¥¹³¬ÁØ)

¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï ¥¯¥é¥¹³¬ÁØ ¥Ú¡¼¥¸¤¬¤¢¤ê¡¢¤µ¤é¤Ë³Æ¥Ñ¥Ã¥±¡¼¥¸¤Î³¬Áؤ¬¤¢¤ê¤Þ¤¹¡£³Æ³¬ÁØ¥Ú¡¼¥¸¤Ï¡¢¥¯¥é¥¹¤Î¥ê¥¹¥È¤È¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¥ê¥¹¥È¤ò´Þ¤ß¤Þ¤¹¡£¥¯¥é¥¹¤Ï java.lang.Object ¤ò³«»ÏÅÀ¤È¤¹¤ë·Ñ¾µ¹½Â¤¤ÇÊÔÀ®¤µ¤ì¤Þ¤¹¡£¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï¡¢java.lang.Object ¤«¤é¤Ï·Ñ¾µ¤·¤Þ¤»¤ó¡£

¿ä¾©¤µ¤ì¤Æ¤¤¤Ê¤¤ API

¿ä¾©¤µ¤ì¤Æ¤¤¤Ê¤¤ API ¥Ú¡¼¥¸¤Ï¡¢¤¹¤Ù¤Æ¤Î¿ä¾©¤µ¤ì¤Æ¤¤¤Ê¤¤ API ¤Î¥ê¥¹¥È¤òɽ¼¨¤·¤Þ¤¹¡£Èó¿ä¾© API ¤È¤Ï¡¢µ¡Ç½²þÁ±¤Ê¤É¤Ë¤è¤Ã¤Æ»ÈÍѤò¤ª´«¤á¤Ç¤­¤Ê¤¯¤Ê¤Ã¤¿ API ¤Î¤³¤È¤Ç¡¢Ä̾ï¤Ï¤½¤ì¤ËÂå¤ï¤ë API ¤¬Ä󶡤µ¤ì¤Þ¤¹¡£Èó¿ä¾© API ¤Ïº£¸å¤Î¼ÂÁõ¤Çºï½ü¤µ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

º÷°ú

º÷°ú ¤Ë¤Ï¡¢¤¹¤Ù¤Æ¤Î¥¯¥é¥¹¡¢¥¤¥ó¥¿¥Õ¥§¡¼¥¹¡¢¥³¥ó¥¹¥È¥é¥¯¥¿¡¢¥á¥½¥Ã¥É¡¢¤ª¤è¤Ó¥Õ¥£¡¼¥ë¥É¤Î¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È½ç¤Î¥ê¥¹¥È¤¬´Þ¤Þ¤ì¤Þ¤¹¡£

Á°/¼¡

¤³¤ì¤é¤Î¥ê¥ó¥¯¤Ë¤è¤ê¡¢Á°¤Þ¤¿¤Ï¼¡¤Î¥¯¥é¥¹¡¢¥¤¥ó¥¿¥Õ¥§¡¼¥¹¡¢¥Ñ¥Ã¥±¡¼¥¸¡¢¤Þ¤¿¤Ï´ØÏ¢¥Ú¡¼¥¸¤Ø°Üư¤Ç¤­¤Þ¤¹¡£

¥Õ¥ì¡¼¥à¤¢¤ê/¥Õ¥ì¡¼¥à¤Ê¤·

¤³¤ì¤é¤Î¥ê¥ó¥¯¤Ï HTML ¥Õ¥ì¡¼¥à¤òɽ¼¨¤·¤¿¤ê±£¤·¤¿¤ê¤·¤Þ¤¹¡£¤¹¤Ù¤Æ¤Î¥Ú¡¼¥¸¤Ï¥Õ¥ì¡¼¥à¤¢¤ê¤Ç¤â¡¢¥Õ¥ì¡¼¥à¤Ê¤·¤Ç¤âɽ¼¨¤Ç¤­¤Þ¤¹¡£

ľÎ󲽤µ¤ì¤¿·Á¼°

ľÎó²½²Äǽ¡¢¤Þ¤¿¤Ï³°Éô²½²Äǽ¤Ê³Æ¥¯¥é¥¹¤Ï¡¢Ä¾Îó²½¥Õ¥£¡¼¥ë¥É¤È¥á¥½¥Ã¥É¤Îµ­½Ò¤ò´Þ¤ß¤Þ¤¹¡£¤³¤Î¾ðÊó¤Ï¡¢API ¤ò»ÈÍѤ¹¤ë³«È¯¼Ô¤Ç¤Ï¤Ê¤¯¡¢ºÆ¼ÂÁõ¤¹¤ëôÅö¼Ô¤ËÌòΩ¤Á¤Þ¤¹¡£¥Ê¥Ó¥²¡¼¥·¥ç¥ó¥Ð¡¼¤Ë¥ê¥ó¥¯¤¬¤Ê¤¤¾ì¹ç¡¢Ä¾Î󲽤µ¤ì¤¿¥¯¥é¥¹¤Ë°Üư¤·¤Æ¡¢¥¯¥é¥¹µ­½Ò¤Î [´ØÏ¢¹àÌÜ] ¥»¥¯¥·¥ç¥ó¤Ë¤¢¤ë [ľÎ󲽤µ¤ì¤¿·Á¼°] ¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢¤³¤Î¾ðÊó¤òɽ¼¨¤Ç¤­¤Þ¤¹¡£

¤³¤Î¥Ø¥ë¥×¥Õ¥¡¥¤¥ë¤Ï¡¢É¸½à¤Î doclet ¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤¿ API ¥É¥­¥å¥á¥ó¥È¤ËŬÍѤµ¤ì¤Þ¤¹¡£



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/overview-summary.html0100644000175000017500000001514107330705437023241 0ustar tokamototokamoto werken.xpath API: ³µÍ×

werken.xpath

The werken.xpath implementation is built upon JDOM, which is available at www.jdom.org.

»²¾È:
          ÀâÌÀ

¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath Provides the core tools needed to use XPath
com.werken.xpath.function Provides implementations for the core XPath Function Library From The W3C XPath Specification Section 4.1 -- Node Set Function Section 4.2 -- String Functions Section 4.3 -- Boolean Functions Section 4.4 -- Number Functions
com.werken.xpath.impl Contains implementation classes for evaluating XPath components
com.werken.xpath.parser Contains generated Java classes from the antlr grammar.
com.werken.xpath.util  

 

The werken.xpath implementation is built upon JDOM, which is available at www.jdom.org.

werken.xpath attempts to be a fully-compliant implementation of the W3C XPath specification.

Currently, it's not.

The homepage for the werken.xpath project is http://code.werken.com/xpath.



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index.html0100644000175000017500000000137507330705437021013 0ustar tokamototokamoto werken.xpath API <H2> ¥Õ¥ì¡¼¥à´ØÏ¢¤Î·Ù¹ð</H2> <P> ¤³¤Î¥É¥­¥å¥á¥ó¥È¤Ï¥Õ¥ì¡¼¥àµ¡Ç½¤ò»È¤Ã¤ÆÉ½¼¨¤¹¤ë¤è¤¦¤Ëºî¤é¤ì¤Æ¤¤¤Þ¤¹¡£¥Õ¥ì¡¼¥à¤òɽ¼¨¤Ç¤­¤Ê¤¤ Web ¥¯¥é¥¤¥¢¥ó¥È¤Î¾ì¹ç¤Ë¤³¤Î¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£ <BR> ¥ê¥ó¥¯Àè<A HREF="overview-summary.html">¥Õ¥ì¡¼¥à¤Ê¤·¤Î¥Ð¡¼¥¸¥ç¥ó</A> werken.xpath-0.9.4.orig/apidocs/allclasses-frame.html0100644000175000017500000001451107330705437023116 0ustar tokamototokamoto ¤¹¤Ù¤Æ¤Î¥¯¥é¥¹ ¤¹¤Ù¤Æ¤Î¥¯¥é¥¹
AbbrStep
BinaryExpr
BooleanFunction
CeilingFunction
ConcatFunction
ContainsFunction
Context
Context
ContextSupport
CountFunction
DefaultVariableContext
DocumentOrderComparator
ElementNamespaceContext
Expr
FalseFunction
FilterExpr
FloorFunction
Function
FunctionContext
FunctionExpr
LastFunction
LocalNameFunction
LocationPath
NameFunction
NamespaceContext
NamespaceUriFunction
NameTestStep
NegativeExpr
NodeTypeStep
NotFunction
NumberExpr
NumberFunction
Op
ParentStep
Partition
PathExpr
PIStep
PositionFunction
Predicate
ReverseDocumentOrderComparator
RoundFunction
SelfStep
StartsWithFunction
Step
StringExpr
StringFunction
StringLengthFunction
SubstringAfterFunction
SubstringBeforeFunction
SubstringFunction
SumFunction
Test
TrueFunction
UnAbbrStep
VariableContext
VariableExpr
XPath
XPathFunctionContext
XPathLexer
XPathLexerTokenTypes
XPathRecognizer
XPathTokenTypes
werken.xpath-0.9.4.orig/apidocs/deprecated-list.html0100644000175000017500000000777507330705437022767 0ustar tokamototokamoto werken.xpath API: ¿ä¾©¤µ¤ì¤Æ¤¤¤Ê¤¤ API ¤Î¥ê¥¹¥È

¿ä¾©¤µ¤ì¤Æ¤¤¤Ê¤¤ API



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/overview-frame.html0100644000175000017500000000264007330705437022636 0ustar tokamototokamoto werken.xpath API: ³µÍ×
¤¹¤Ù¤Æ¤Î¥¯¥é¥¹

¥Ñ¥Ã¥±¡¼¥¸
com.werken.xpath
com.werken.xpath.function
com.werken.xpath.impl
com.werken.xpath.parser
com.werken.xpath.util

  werken.xpath-0.9.4.orig/apidocs/overview-tree.html0100644000175000017500000003627407330705437022515 0ustar tokamototokamoto werken.xpath API: ¥¯¥é¥¹³¬ÁØ


¤¹¤Ù¤Æ¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î³¬ÁØ

¥Ñ¥Ã¥±¡¼¥¸³¬ÁØ:
com.werken.xpath, com.werken.xpath.function, com.werken.xpath.impl, com.werken.xpath.parser, com.werken.xpath.util

¥¯¥é¥¹³¬ÁØ

¥¤¥ó¥¿¥Õ¥§¡¼¥¹³¬ÁØ



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/package-list0100644000175000017500000000015707330705437021302 0ustar tokamototokamotocom.werken.xpath com.werken.xpath.function com.werken.xpath.impl com.werken.xpath.parser com.werken.xpath.util werken.xpath-0.9.4.orig/apidocs/index-files/0042755000175000017500000000000007330705437021224 5ustar tokamototokamotowerken.xpath-0.9.4.orig/apidocs/index-files/index-13.html0100644000175000017500000001372007330705437023440 0ustar tokamototokamoto werken.xpath API: O ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

O

Op - class com.werken.xpath.impl.Op.
 
OR - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
or_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-14.html0100644000175000017500000002455507330705437023451 0ustar tokamototokamoto werken.xpath API: P ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

P

ParentStep - class com.werken.xpath.impl.ParentStep.
 
ParentStep() - class com.werken.xpath.impl.ParentStep ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
Partition - class com.werken.xpath.util.Partition.
 
Partition() - class com.werken.xpath.util.Partition ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
path_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
PathExpr - class com.werken.xpath.impl.PathExpr.
 
PathExpr() - class com.werken.xpath.impl.PathExpr ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
PIPE - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
PIPE - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
PIStep - class com.werken.xpath.impl.PIStep.
 
PIStep(String, String) - class com.werken.xpath.impl.PIStep ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
PLUS - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
PLUS - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
PLUS - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
PositionFunction - class com.werken.xpath.function.PositionFunction.
4.1 number position()
PositionFunction() - class com.werken.xpath.function.PositionFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
preceeding(Element) - class com.werken.xpath.util.Partition ¤Î static ¥á¥½¥Ã¥É
 
preceedingSiblings(Element) - class com.werken.xpath.util.Partition ¤Î static ¥á¥½¥Ã¥É
 
Predicate - class com.werken.xpath.impl.Predicate.
 
predicate_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
predicate() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
Predicate(Expr) - class com.werken.xpath.impl.Predicate ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
primary_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-15.html0100644000175000017500000001772007330705437023446 0ustar tokamototokamoto werken.xpath API: R ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

R

relational_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
relative_location_path() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
ReverseDocumentOrderComparator - class com.werken.xpath.util.ReverseDocumentOrderComparator.
 
ReverseDocumentOrderComparator(Document) - class com.werken.xpath.util.ReverseDocumentOrderComparator ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
RIGHT_BRACKET - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
RIGHT_BRACKET - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
RIGHT_PAREN - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
RIGHT_PAREN - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
RoundFunction - class com.werken.xpath.function.RoundFunction.
4.4 number round(number)
RoundFunction() - class com.werken.xpath.function.RoundFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-16.html0100644000175000017500000003510607330705437023445 0ustar tokamototokamoto werken.xpath API: S ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

S

SelfStep - class com.werken.xpath.impl.SelfStep.
 
SelfStep() - class com.werken.xpath.impl.SelfStep ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
setFunctionContext(FunctionContext) - class com.werken.xpath.ContextSupport ¤Î¥á¥½¥Ã¥É
Set the FunctionContext implementation
setIsAbsolute(boolean) - class com.werken.xpath.impl.Step ¤Î¥á¥½¥Ã¥É
 
setIsAbsolute(boolean) - class com.werken.xpath.impl.LocationPath ¤Î¥á¥½¥Ã¥É
 
setLocationPath(LocationPath) - class com.werken.xpath.impl.FilterExpr ¤Î¥á¥½¥Ã¥É
 
setNamespaceContext(NamespaceContext) - class com.werken.xpath.ContextSupport ¤Î¥á¥½¥Ã¥É
Set the NamespaceContext implementation
setNodeSet(List) - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
setNodeSet(List) - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
setPosition(int) - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
setVariableContext(VariableContext) - class com.werken.xpath.ContextSupport ¤Î¥á¥½¥Ã¥É
Set the VariableContext implementation
setVariableValue(String, Object) - class com.werken.xpath.DefaultVariableContext ¤Î¥á¥½¥Ã¥É
Set a variable finding Set the value of a named variable.
SINGLE_QUOTE_STRING - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
SLASH - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
SLASH - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
special_step(String) - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
STAR - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
STAR - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
StartsWithFunction - class com.werken.xpath.function.StartsWithFunction.
4.2 boolean starts-with(string,string)
StartsWithFunction() - class com.werken.xpath.function.StartsWithFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
Step - class com.werken.xpath.impl.Step.
 
step() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
Step() - class com.werken.xpath.impl.Step ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
StringExpr - class com.werken.xpath.impl.StringExpr.
 
StringExpr(String) - class com.werken.xpath.impl.StringExpr ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
StringFunction - class com.werken.xpath.function.StringFunction.
4.2 string string(object)
StringFunction() - class com.werken.xpath.function.StringFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
StringLengthFunction - class com.werken.xpath.function.StringLengthFunction.
4.2 number string-length(string)
StringLengthFunction() - class com.werken.xpath.function.StringLengthFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
SubstringAfterFunction - class com.werken.xpath.function.SubstringAfterFunction.
4.2 string substring-after(string,string)
SubstringAfterFunction() - class com.werken.xpath.function.SubstringAfterFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
SubstringBeforeFunction - class com.werken.xpath.function.SubstringBeforeFunction.
4.2 string substring-before(string,string)
SubstringBeforeFunction() - class com.werken.xpath.function.SubstringBeforeFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
SubstringFunction - class com.werken.xpath.function.SubstringFunction.
4.2 string substring(string,number,number?
SubstringFunction() - class com.werken.xpath.function.SubstringFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
SumFunction - class com.werken.xpath.function.SumFunction.
4.4 number sum(node-set)
SumFunction() - class com.werken.xpath.function.SumFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-17.html0100644000175000017500000002253307330705437023446 0ustar tokamototokamoto werken.xpath API: T ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

T

Test - class com.werken.xpath.Test.
Example Test driver for werken.xpath
Test() - class com.werken.xpath.Test ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
toString() - class com.werken.xpath.XPath ¤Î¥á¥½¥Ã¥É
 
toString() - class com.werken.xpath.impl.NodeTypeStep ¤Î¥á¥½¥Ã¥É
 
toString() - class com.werken.xpath.impl.StringExpr ¤Î¥á¥½¥Ã¥É
 
toString() - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
toString() - class com.werken.xpath.impl.NumberExpr ¤Î¥á¥½¥Ã¥É
 
toString() - class com.werken.xpath.impl.NameTestStep ¤Î¥á¥½¥Ã¥É
 
toString() - class com.werken.xpath.impl.Op ¤Î¥á¥½¥Ã¥É
 
translateNamespacePrefix(String) - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
translateNamespacePrefix(String) - class com.werken.xpath.ElementNamespaceContext ¤Î¥á¥½¥Ã¥É
Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.
translateNamespacePrefix(String) - interface com.werken.xpath.NamespaceContext ¤Î¥á¥½¥Ã¥É
Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.
translateNamespacePrefix(String) - class com.werken.xpath.ContextSupport ¤Î¥á¥½¥Ã¥É
Translate a namespace prefix into a URI Using the NamespaceContext implementation, translate the prefix used in a component of an XPath into its expanded namespace URI.
translateNamespacePrefix(String) - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
TrueFunction - class com.werken.xpath.function.TrueFunction.
4.3 boolean true()
TrueFunction() - class com.werken.xpath.function.TrueFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-18.html0100644000175000017500000001472307330705437023451 0ustar tokamototokamoto werken.xpath API: U ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

U

UnAbbrStep - class com.werken.xpath.impl.UnAbbrStep.
 
UnAbbrStep(String) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
unary_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
UNION - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
union_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-19.html0100644000175000017500000001467507330705437023460 0ustar tokamototokamoto werken.xpath API: V ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

V

variable_reference() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
VariableContext - interface com.werken.xpath.VariableContext.
Specification of the interface required by ContextSupport for delegation of variable resolution.
VariableExpr - class com.werken.xpath.impl.VariableExpr.
 
VariableExpr(String) - class com.werken.xpath.impl.VariableExpr ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-20.html0100644000175000017500000001322707330705437023440 0ustar tokamototokamoto werken.xpath API: W ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

W

WS - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-21.html0100644000175000017500000002421107330705437023434 0ustar tokamototokamoto werken.xpath API: X ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

X

XPath - class com.werken.xpath.XPath.
Main run-time interface into the XPath functionality The XPath object embodies a textual XPath as described by the W3C XPath specification.
xpath() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
XPath(String) - class com.werken.xpath.XPath ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
Construct an XPath
XPathFunctionContext - class com.werken.xpath.XPathFunctionContext.
Implementation of FunctionContext which matches the core function library as described by the W3C XPath Specification. May be directly instantiated or subclassed.
XPathFunctionContext() - class com.werken.xpath.XPathFunctionContext ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathLexer - class com.werken.xpath.parser.XPathLexer.
 
XPathLexer(InputBuffer) - class com.werken.xpath.parser.XPathLexer ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathLexer(InputStream) - class com.werken.xpath.parser.XPathLexer ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathLexer(LexerSharedInputState) - class com.werken.xpath.parser.XPathLexer ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathLexer(Reader) - class com.werken.xpath.parser.XPathLexer ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathLexerTokenTypes - interface com.werken.xpath.parser.XPathLexerTokenTypes.
Generated by antlr parser-generator
XPathRecognizer - class com.werken.xpath.parser.XPathRecognizer.
 
XPathRecognizer(ParserSharedInputState) - class com.werken.xpath.parser.XPathRecognizer ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathRecognizer(TokenBuffer) - class com.werken.xpath.parser.XPathRecognizer ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathRecognizer(TokenBuffer, int) - class com.werken.xpath.parser.XPathRecognizer ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathRecognizer(TokenStream) - class com.werken.xpath.parser.XPathRecognizer ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathRecognizer(TokenStream, int) - class com.werken.xpath.parser.XPathRecognizer ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
XPathTokenTypes - interface com.werken.xpath.parser.XPathTokenTypes.
Generated by antlr parser-generator

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-22.html0100644000175000017500000002735507330705437023451 0ustar tokamototokamoto werken.xpath API: _ ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

_

_tokenNames - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_0 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_0 - class com.werken.xpath.parser.XPathLexer ¤Î static ÊÑ¿ô
 
_tokenSet_1 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_1 - class com.werken.xpath.parser.XPathLexer ¤Î static ÊÑ¿ô
 
_tokenSet_10 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_11 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_12 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_13 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_14 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_15 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_16 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_17 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_18 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_19 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_2 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_2 - class com.werken.xpath.parser.XPathLexer ¤Î static ÊÑ¿ô
 
_tokenSet_20 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_21 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_22 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_23 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_3 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_4 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_5 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_6 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_7 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_8 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 
_tokenSet_9 - class com.werken.xpath.parser.XPathRecognizer ¤Î static ÊÑ¿ô
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-1.html0100644000175000017500000004340307330705437023356 0ustar tokamototokamoto werken.xpath API: A ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

A

abbr_axis_specifier() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
abbr_step() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
AbbrStep - class com.werken.xpath.impl.AbbrStep.
 
AbbrStep() - class com.werken.xpath.impl.AbbrStep ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
absolute_location_path() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
addFunction(String, Function) - class com.werken.xpath.XPathFunctionContext ¤Î¥á¥½¥Ã¥É
Add a function to this FunctionContext
additive_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
addPredicate(Predicate) - class com.werken.xpath.impl.FilterExpr ¤Î¥á¥½¥Ã¥É
 
addPredicate(Predicate) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
addStep(Step) - class com.werken.xpath.impl.LocationPath ¤Î¥á¥½¥Ã¥É
 
AND - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
and_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
applyTo(Context) - class com.werken.xpath.impl.Step ¤Î¥á¥½¥Ã¥É
 
applyTo(Context) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyTo(Context) - class com.werken.xpath.impl.ParentStep ¤Î¥á¥½¥Ã¥É
 
applyTo(Context) - class com.werken.xpath.impl.LocationPath ¤Î¥á¥½¥Ã¥É
 
applyTo(ContextSupport, Document) - class com.werken.xpath.XPath ¤Î¥á¥½¥Ã¥É
 
applyTo(ContextSupport, Element) - class com.werken.xpath.XPath ¤Î¥á¥½¥Ã¥É
Apply this XPath to a single root node
applyTo(ContextSupport, List) - class com.werken.xpath.XPath ¤Î¥á¥½¥Ã¥É
Apply this XPath to a list of nodes
applyTo(Document) - class com.werken.xpath.XPath ¤Î¥á¥½¥Ã¥É
 
applyTo(Element) - class com.werken.xpath.XPath ¤Î¥á¥½¥Ã¥É
 
applyTo(List) - class com.werken.xpath.XPath ¤Î¥á¥½¥Ã¥É
 
applyTo(List, ContextSupport, String) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyTo(List, ContextSupport, String, boolean) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToAncestor(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToAncestorOrSelf(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToAttribute(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToAttribute(Object, ContextSupport) - class com.werken.xpath.impl.NameTestStep ¤Î¥á¥½¥Ã¥É
 
applyToChild(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToChild(Object, ContextSupport) - class com.werken.xpath.impl.NodeTypeStep ¤Î¥á¥½¥Ã¥É
 
applyToChild(Object, ContextSupport) - class com.werken.xpath.impl.NameTestStep ¤Î¥á¥½¥Ã¥É
 
applyToDescendant(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToDescendantOrSelf(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToFollowing(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToFollowingSibling(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToNode(Object) - class com.werken.xpath.impl.NodeTypeStep ¤Î¥á¥½¥Ã¥É
 
applyToNodes(List) - class com.werken.xpath.impl.NodeTypeStep ¤Î¥á¥½¥Ã¥É
 
applyToParent(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToPreceeding(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToPreceedingSibling(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToSelf(Object, ContextSupport) - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
applyToSelf(Object, ContextSupport) - class com.werken.xpath.impl.NodeTypeStep ¤Î¥á¥½¥Ã¥É
 
applyToSelf(Object, ContextSupport) - class com.werken.xpath.impl.SelfStep ¤Î¥á¥½¥Ã¥É
 
applyToSelf(Object, ContextSupport) - class com.werken.xpath.impl.NameTestStep ¤Î¥á¥½¥Ã¥É
 
arg_list() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
argument() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
AT - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
AT - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
axis() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-2.html0100644000175000017500000001464007330705437023360 0ustar tokamototokamoto werken.xpath API: B ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

B

BinaryExpr - class com.werken.xpath.impl.BinaryExpr.
 
BinaryExpr(Op, Expr, Expr) - class com.werken.xpath.impl.BinaryExpr ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
BooleanFunction - class com.werken.xpath.function.BooleanFunction.
4.3 boolean boolean(object)
BooleanFunction() - class com.werken.xpath.function.BooleanFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-3.html0100644000175000017500000004653307330705437023367 0ustar tokamototokamoto werken.xpath API: C ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

C

call(Context, List) - class com.werken.xpath.function.PositionFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.NameFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.StartsWithFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.NumberFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.StringFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.FalseFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.FloorFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.ConcatFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.RoundFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.CeilingFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.TrueFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.BooleanFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.NamespaceUriFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.ContainsFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.SubstringFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.SumFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.LastFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - interface com.werken.xpath.function.Function ¤Î¥á¥½¥Ã¥É
Call the function object.
call(Context, List) - class com.werken.xpath.function.NotFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.CountFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.SubstringBeforeFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.StringLengthFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.SubstringAfterFunction ¤Î¥á¥½¥Ã¥É
 
call(Context, List) - class com.werken.xpath.function.LocalNameFunction ¤Î¥á¥½¥Ã¥É
 
CeilingFunction - class com.werken.xpath.function.CeilingFunction.
4.4 number ceiling(number)
CeilingFunction() - class com.werken.xpath.function.CeilingFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
COLON - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
COLON - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
com.werken.xpath - package com.werken.xpath
Provides the core tools needed to use XPath
com.werken.xpath.function - package com.werken.xpath.function
Provides implementations for the core XPath Function Library From The W3C XPath Specification Section 4.1 -- Node Set Function Section 4.2 -- String Functions Section 4.3 -- Boolean Functions Section 4.4 -- Number Functions
com.werken.xpath.impl - package com.werken.xpath.impl
Contains implementation classes for evaluating XPath components
com.werken.xpath.parser - package com.werken.xpath.parser
Contains generated Java classes from the antlr grammar.
com.werken.xpath.util - package com.werken.xpath.util
 
COMMA - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
COMMA - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
compare(Object, Object) - class com.werken.xpath.util.DocumentOrderComparator ¤Î¥á¥½¥Ã¥É
 
compare(Object, Object) - class com.werken.xpath.util.ReverseDocumentOrderComparator ¤Î¥á¥½¥Ã¥É
 
ConcatFunction - class com.werken.xpath.function.ConcatFunction.
4.2 boolean concat(string,string,string*)
ConcatFunction() - class com.werken.xpath.function.ConcatFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
ContainsFunction - class com.werken.xpath.function.ContainsFunction.
4.2 boolean contains(string,string)
ContainsFunction() - class com.werken.xpath.function.ContainsFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
Context - interface com.werken.xpath.Context.
 
Context - class com.werken.xpath.impl.Context.
 
Context(Document, ContextSupport) - class com.werken.xpath.impl.Context ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
Context(Element, ContextSupport) - class com.werken.xpath.impl.Context ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
Context(List, ContextSupport) - class com.werken.xpath.impl.Context ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
ContextSupport - class com.werken.xpath.ContextSupport.
ContextSupport maintains information to aid in the execution of the XPath against a context node. It separates the knowledge of functions, variables and namespace-bindings from the context node to be walked.
ContextSupport() - class com.werken.xpath.ContextSupport ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
Construct a semantically empty ContextSupport
ContextSupport(NamespaceContext, FunctionContext, VariableContext) - class com.werken.xpath.ContextSupport ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
Construct a semantically initialized ContextSupport
CountFunction - class com.werken.xpath.function.CountFunction.
4.1 number count(node-set)
CountFunction() - class com.werken.xpath.function.CountFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-4.html0100644000175000017500000002565107330705437023366 0ustar tokamototokamoto werken.xpath API: D ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

D

DefaultVariableContext - class com.werken.xpath.DefaultVariableContext.
A VariableContext implementation based upon a java.util.HashMap for simple name-value mappings.
DefaultVariableContext() - class com.werken.xpath.DefaultVariableContext ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
descendants(Element) - class com.werken.xpath.util.Partition ¤Î static ¥á¥½¥Ã¥É
 
DIGIT - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
DIV - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
DIV - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
DIV - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
DocumentOrderComparator - class com.werken.xpath.util.DocumentOrderComparator.
 
DocumentOrderComparator(Document) - class com.werken.xpath.util.DocumentOrderComparator ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
documentOrderDescendants(Element) - class com.werken.xpath.util.Partition ¤Î static ¥á¥½¥Ã¥É
 
DOLLAR_SIGN - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
DOLLAR_SIGN - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
DOT - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
DOT - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
DOT_DOT - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
DOT_DOT - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
DOUBLE_COLON - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
DOUBLE_COLON - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
DOUBLE_QUOTE_STRING - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
DOUBLE_SLASH - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
DOUBLE_SLASH - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
duplicate() - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
duplicate() - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-5.html0100644000175000017500000004312707330705437023365 0ustar tokamototokamoto werken.xpath API: E ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

E

ElementNamespaceContext - class com.werken.xpath.ElementNamespaceContext.
A NamespaceContext which gets it's mappings from an Element in a JDOM tree. It currently DOES NOT WORK
ElementNamespaceContext(Element) - class com.werken.xpath.ElementNamespaceContext ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
Construct the NamespaceContext from a JDOM Element
EOF - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
EOF - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
EQUAL - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
equality_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
EQUALS - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
EQUALS - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
evaluate() - class com.werken.xpath.function.FalseFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate() - class com.werken.xpath.function.TrueFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.Expr ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.FilterExpr ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.Step ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.StringExpr ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.VariableExpr ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.LocationPath ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.FunctionExpr ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.NumberExpr ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.BinaryExpr ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.impl.NegativeExpr ¤Î¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.function.PositionFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.function.NameFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.function.NamespaceUriFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.function.LastFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Context) - class com.werken.xpath.function.LocalNameFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Element) - class com.werken.xpath.function.StringFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(List) - class com.werken.xpath.function.ConcatFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.NumberFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.StringFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.FloorFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.RoundFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.CeilingFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.BooleanFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.SumFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.NotFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.CountFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object) - class com.werken.xpath.function.StringLengthFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object, Object) - class com.werken.xpath.function.StartsWithFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object, Object) - class com.werken.xpath.function.ContainsFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object, Object) - class com.werken.xpath.function.SubstringFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object, Object) - class com.werken.xpath.function.SubstringBeforeFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object, Object) - class com.werken.xpath.function.SubstringAfterFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluate(Object, Object, Object) - class com.werken.xpath.function.SubstringFunction ¤Î static ¥á¥½¥Ã¥É
 
evaluateOn(List, ContextSupport, String) - class com.werken.xpath.impl.Predicate ¤Î¥á¥½¥Ã¥É
 
evaluateOnNode(Context, String) - class com.werken.xpath.impl.Predicate ¤Î¥á¥½¥Ã¥É
 
Expr - class com.werken.xpath.impl.Expr.
 
expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
Expr() - class com.werken.xpath.impl.Expr ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-6.html0100644000175000017500000002242207330705437023361 0ustar tokamototokamoto werken.xpath API: F ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

F

FalseFunction - class com.werken.xpath.function.FalseFunction.
4.3 boolean false()
FalseFunction() - class com.werken.xpath.function.FalseFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
filter_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
FilterExpr - class com.werken.xpath.impl.FilterExpr.
 
FilterExpr(Expr) - class com.werken.xpath.impl.FilterExpr ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
findParent(Object) - class com.werken.xpath.impl.ParentStep ¤Î static ¥á¥½¥Ã¥É
 
findParents(List) - class com.werken.xpath.impl.ParentStep ¤Î static ¥á¥½¥Ã¥É
 
FloorFunction - class com.werken.xpath.function.FloorFunction.
4.4 number floor(number)
FloorFunction() - class com.werken.xpath.function.FloorFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
following(Element) - class com.werken.xpath.util.Partition ¤Î static ¥á¥½¥Ã¥É
 
followingSiblings(Element) - class com.werken.xpath.util.Partition ¤Î static ¥á¥½¥Ã¥É
 
Function - interface com.werken.xpath.function.Function.
Interface for Function objects to conform to, for extensible function libraries.
function_call() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
FunctionContext - interface com.werken.xpath.FunctionContext.
Specification of the interface required by ContextSupport for delegation of function resolution.
FunctionExpr - class com.werken.xpath.impl.FunctionExpr.
 
FunctionExpr(String, List) - class com.werken.xpath.impl.FunctionExpr ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-7.html0100644000175000017500000003157407330705437023372 0ustar tokamototokamoto werken.xpath API: G ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

G

getAxis() - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
getContextNode() - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
getContextNode() - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
getContextSupport() - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
getContextSupport() - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
getFunction(String) - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
getFunction(String) - interface com.werken.xpath.FunctionContext ¤Î¥á¥½¥Ã¥É
Retrieve a named function Retrieve the named function object, or null if no such function exists.
getFunction(String) - class com.werken.xpath.ContextSupport ¤Î¥á¥½¥Ã¥É
Retrieve a named function Retrieve the named function object, or null if no such function exists.
getFunction(String) - class com.werken.xpath.XPathFunctionContext ¤Î¥á¥½¥Ã¥É
Retrieve a named function Retrieve the named function object, or null if no such function exists.
getFunction(String) - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
getInstance() - class com.werken.xpath.XPathFunctionContext ¤Î static ¥á¥½¥Ã¥É
Get the XPathFunctionContext singleton.
getNode(int) - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
getNodeSet() - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
getNodeSet() - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
getPosition() - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
getPosition() - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
getPredicates() - class com.werken.xpath.impl.UnAbbrStep ¤Î¥á¥½¥Ã¥É
 
getSize() - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
getSize() - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
getSteps() - class com.werken.xpath.impl.LocationPath ¤Î¥á¥½¥Ã¥É
 
getString() - class com.werken.xpath.XPath ¤Î¥á¥½¥Ã¥É
Retrieve the textual XPath string used to initialize this Object
getVariableValue(String) - interface com.werken.xpath.VariableContext ¤Î¥á¥½¥Ã¥É
Resolve a variable binding Retrieve the currently bound value of the named variable, or null if no such binding exists.
getVariableValue(String) - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
getVariableValue(String) - class com.werken.xpath.DefaultVariableContext ¤Î¥á¥½¥Ã¥É
Resolve a variable binding Retrieve the currently bound value of the named variable, or null if no such binding exists.
getVariableValue(String) - class com.werken.xpath.ContextSupport ¤Î¥á¥½¥Ã¥É
Resolve a variable binding Retrieve the currently bound value of the named variable, or null if no such binding exists.
getVariableValue(String) - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
GT - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
GT - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
GT - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
GT_EQUAL - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
GTE - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
GTE - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-8.html0100644000175000017500000001623407330705437023367 0ustar tokamototokamoto werken.xpath API: I ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

I

i_relative_location_path(LocationPath) - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
IDENTIFIER - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
IDENTIFIER - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
isAbsolute() - class com.werken.xpath.impl.Step ¤Î¥á¥½¥Ã¥É
 
isAbsolute() - class com.werken.xpath.impl.LocationPath ¤Î¥á¥½¥Ã¥É
 
isEmpty() - interface com.werken.xpath.Context ¤Î¥á¥½¥Ã¥É
 
isEmpty() - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 
iterator() - class com.werken.xpath.impl.Context ¤Î¥á¥½¥Ã¥É
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-9.html0100644000175000017500000001452207330705437023366 0ustar tokamototokamoto werken.xpath API: K ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

K

KW_AND - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
KW_AND - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
KW_OR - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
KW_OR - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-10.html0100644000175000017500000002367007330705437023442 0ustar tokamototokamoto werken.xpath API: L ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

L

LastFunction - class com.werken.xpath.function.LastFunction.
4.1 number last()
LastFunction() - class com.werken.xpath.function.LastFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
LEFT_BRACKET - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
LEFT_BRACKET - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
LEFT_PAREN - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
LEFT_PAREN - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
LITERAL - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
LITERAL - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
literal() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
LocalNameFunction - class com.werken.xpath.function.LocalNameFunction.
4.1 string local-name(node-set?
LocalNameFunction() - class com.werken.xpath.function.LocalNameFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
location_path() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
LocationPath - class com.werken.xpath.impl.LocationPath.
 
LocationPath() - class com.werken.xpath.impl.LocationPath ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
LT - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
LT - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
LT - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
LT_EQUAL - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
LTE - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
LTE - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-11.html0100644000175000017500000003457107330705437023445 0ustar tokamototokamoto werken.xpath API: M ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

M

main(String[]) - class com.werken.xpath.Test ¤Î static ¥á¥½¥Ã¥É
 
mAT(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
matches(Object) - class com.werken.xpath.impl.NodeTypeStep ¤Î¥á¥½¥Ã¥É
 
matches(Object) - class com.werken.xpath.impl.PIStep ¤Î¥á¥½¥Ã¥É
 
mCOLON(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mCOMMA(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mDIGIT(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mDOLLAR_SIGN(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mDOT_DOT(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mDOT(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mDOUBLE_COLON(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mDOUBLE_QUOTE_STRING(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mDOUBLE_SLASH(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mEQUALS(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mGT(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mGTE(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mIDENTIFIER(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
MINUS - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
MINUS - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
MINUS - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
mLEFT_BRACKET(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mLEFT_PAREN(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mLITERAL(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mLT(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mLTE(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mMINUS(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mNOT_EQUALS(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mNUMBER(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
MOD - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
MOD - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
MOD - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
mPIPE(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mPLUS(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mRIGHT_BRACKET(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mRIGHT_PAREN(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mSINGLE_QUOTE_STRING(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mSLASH(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mSTAR(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
mult_expr() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
MULTIPLY - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
mWS(boolean) - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/apidocs/index-files/index-12.html0100644000175000017500000002717507330705437023450 0ustar tokamototokamoto werken.xpath API: N ¤Îº÷°ú
A B C D E F G I K L M N O P R S T U V W X _

N

NameFunction - class com.werken.xpath.function.NameFunction.
4.1 string name(node-set?
NameFunction() - class com.werken.xpath.function.NameFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
NamespaceContext - interface com.werken.xpath.NamespaceContext.
Specification of the interface required by ContextSupport for delegation of namespace prefix binding resolution.
NamespaceUriFunction - class com.werken.xpath.function.NamespaceUriFunction.
4.1 string namespace-uri(node-set?
NamespaceUriFunction() - class com.werken.xpath.function.NamespaceUriFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
NameTestStep - class com.werken.xpath.impl.NameTestStep.
 
NameTestStep(String, String, String) - class com.werken.xpath.impl.NameTestStep ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
NegativeExpr - class com.werken.xpath.impl.NegativeExpr.
 
NegativeExpr(Expr) - class com.werken.xpath.impl.NegativeExpr ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
nextToken() - class com.werken.xpath.parser.XPathLexer ¤Î¥á¥½¥Ã¥É
 
NodeTypeStep - class com.werken.xpath.impl.NodeTypeStep.
 
NodeTypeStep(String, String) - class com.werken.xpath.impl.NodeTypeStep ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
NOT_EQUAL - class com.werken.xpath.impl.Op ¤Î static ÊÑ¿ô
 
NOT_EQUALS - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
NOT_EQUALS - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
NotFunction - class com.werken.xpath.function.NotFunction.
4.3 boolean not(boolean)
NotFunction() - class com.werken.xpath.function.NotFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
NULL_TREE_LOOKAHEAD - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
NULL_TREE_LOOKAHEAD - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
NUMBER - interface com.werken.xpath.parser.XPathTokenTypes ¤Î static ÊÑ¿ô
 
NUMBER - interface com.werken.xpath.parser.XPathLexerTokenTypes ¤Î static ÊÑ¿ô
 
number() - class com.werken.xpath.parser.XPathRecognizer ¤Î¥á¥½¥Ã¥É
 
NumberExpr - class com.werken.xpath.impl.NumberExpr.
 
NumberExpr(String) - class com.werken.xpath.impl.NumberExpr ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 
NumberFunction - class com.werken.xpath.function.NumberFunction.
4.4 number number(object)
NumberFunction() - class com.werken.xpath.function.NumberFunction ¤Î¥³¥ó¥¹¥È¥é¥¯¥¿
 

A B C D E F G I K L M N O P R S T U V W X _
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved. werken.xpath-0.9.4.orig/INSTALL0100644000175000017500000000024107156315565016421 0ustar tokamototokamoto To build werken.xpath, simply run build.sh from the command-line. For run-time use, you need lib/antlr.jar in your $CLASSPATH, along with normal JDOM classes.