/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
H A D | SubContextList.java | 38 * @param xctxt The XPath runtime context. 42 public int getLastPos(XPathContext xctxt); argument 47 * @param xctxt The XPath runtime context. 51 public int getProximityPosition(XPathContext xctxt); argument
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
H A D | FuncKey.java | 51 * @param xctxt The current execution context. 56 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 59 // TransformerImpl transformer = (TransformerImpl)xctxt; 60 TransformerImpl transformer = (TransformerImpl) xctxt.getOwnerObject(); 62 int context = xctxt.getCurrentNode(); 63 DTM dtm = xctxt.getDTM(context); 72 String xkeyname = getArg0().execute(xctxt).str(); 73 QName keyname = new QName(xkeyname, xctxt.getNamespaceContext()); 74 XObject arg = getArg1().execute(xctxt); 98 dtm = xctxt [all...] |
H A D | FuncDocument.java | 68 * @param xctxt The current execution context. 73 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 75 int context = xctxt.getCurrentNode(); 76 DTM dtm = xctxt.getDTM(context); 79 XObject arg = (XObject) this.getArg0().execute(xctxt); 91 XObject arg2 = arg1Expr.execute(xctxt); 102 warn(xctxt, XSLTErrorResources.WG_EMPTY_SECOND_ARG, null); 103 XNodeSet nodes = new XNodeSet(xctxt.getDTMManager()); 106 DTM baseDTM = xctxt.getDTM(baseNode); 117 // base = xctxt 226 getDoc(XPathContext xctxt, int context, String uri, String base) argument 389 error(XPathContext xctxt, String msg, Object args[]) argument 415 warn(XPathContext xctxt, String msg, Object args[]) argument [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/operations/ |
H A D | And.java | 38 * @param xctxt The runtime execution context. 45 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 48 XObject expr1 = m_left.execute(xctxt); 52 XObject expr2 = m_right.execute(xctxt); 63 * @param xctxt The runtime execution context. 69 public boolean bool(XPathContext xctxt) argument 72 return (m_left.bool(xctxt) && m_right.bool(xctxt));
|
H A D | Or.java | 38 * @param xctxt The runtime execution context. 45 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 48 XObject expr1 = m_left.execute(xctxt); 52 XObject expr2 = m_right.execute(xctxt); 63 * @param xctxt The runtime execution context. 69 public boolean bool(XPathContext xctxt) argument 72 return (m_left.bool(xctxt) || m_right.bool(xctxt));
|
H A D | VariableSafeAbsRef.java | 52 * @param xctxt The runtime execution context. 58 public XObject execute(XPathContext xctxt, boolean destructiveOK) argument 61 XNodeSet xns = (XNodeSet)super.execute(xctxt, destructiveOK); 62 DTMManager dtmMgr = xctxt.getDTMManager(); 63 int context = xctxt.getContextNode(); 68 xns = (XNodeSet)expr.asIterator(xctxt, context);
|
H A D | Div.java | 54 * @param xctxt The runtime execution context. 60 public double num(XPathContext xctxt) argument 64 return (m_left.num(xctxt) / m_right.num(xctxt));
|
H A D | Minus.java | 55 * @param xctxt The runtime execution context. 61 public double num(XPathContext xctxt) argument 65 return (m_left.num(xctxt) - m_right.num(xctxt));
|
H A D | Mod.java | 54 * @param xctxt The runtime execution context. 60 public double num(XPathContext xctxt) argument 64 return (m_left.num(xctxt) % m_right.num(xctxt));
|
H A D | Mult.java | 54 * @param xctxt The runtime execution context. 60 public double num(XPathContext xctxt) argument 63 return (m_left.num(xctxt) * m_right.num(xctxt));
|
H A D | Plus.java | 54 * @param xctxt The runtime execution context. 60 public double num(XPathContext xctxt) argument 64 return (m_right.num(xctxt) + m_left.num(xctxt));
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
H A D | ContextMatchStepPattern.java | 50 * @param xctxt XPath runtime context. 60 public XObject execute(XPathContext xctxt) argument 64 if (xctxt.getIteratorRoot() == xctxt.getCurrentNode()) 74 * @param xctxt The XPath runtime context. 86 XPathContext xctxt, StepPattern prevStep) 91 int context = xctxt.getCurrentNode(); 92 DTM dtm = xctxt.getDTM(context); 96 int predContext = xctxt.getCurrentNode(); 102 boolean iterRootIsAttr = (dtm.getNodeType(xctxt 85 executeRelativePathPattern( XPathContext xctxt, StepPattern prevStep) argument [all...] |
H A D | StepPattern.java | 319 * @param xctxt XPath runtime context. 330 public XObject execute(XPathContext xctxt, int currentNode) argument 334 DTM dtm = xctxt.getDTM(currentNode); 340 return execute(xctxt, currentNode, dtm, expType); 350 * @param xctxt XPath runtime context. 360 public XObject execute(XPathContext xctxt) argument 363 return execute(xctxt, xctxt.getCurrentNode()); 371 * @param xctxt The XPath runtime context. 382 XPathContext xctxt, in 381 execute( XPathContext xctxt, int currentNode, DTM dtm, int expType) argument 428 checkProximityPosition(XPathContext xctxt, int predPos, DTM dtm, int context, int pos) argument 523 getProximityPosition(XPathContext xctxt, int predPos, boolean findLast) argument 627 getProximityPosition(XPathContext xctxt) argument 643 getLastPos(XPathContext xctxt) argument 664 executeRelativePathPattern( XPathContext xctxt, DTM dtm, int currentNode) argument 708 executePredicates( XPathContext xctxt, DTM dtm, int currentNode) argument 892 getMatchScore(XPathContext xctxt, int context) argument [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
H A D | FunctionDef1Arg.java | 43 * @param xctxt Runtime XPath context. 51 protected int getArg0AsNode(XPathContext xctxt) argument 56 ? xctxt.getCurrentNode() : m_arg0.asNode(xctxt); 73 * @param xctxt Runtime XPath context. 81 protected XMLString getArg0AsString(XPathContext xctxt) argument 86 int currentNode = xctxt.getCurrentNode(); 91 DTM dtm = xctxt.getDTM(currentNode); 97 return m_arg0.execute(xctxt).xstr(); 105 * @param xctxt Runtim 113 getArg0AsNumber(XPathContext xctxt) argument [all...] |
H A D | FuncPosition.java | 52 * @param xctxt Runtime XPath context. 57 public int getPositionInContextNodeList(XPathContext xctxt) argument 62 SubContextList iter = m_isTopLevel ? null : xctxt.getSubContextList(); 66 int prox = iter.getProximityPosition(xctxt); 72 DTMIterator cnl = xctxt.getContextNodeList(); 95 int currentNode = xctxt.getContextNode(); 115 * @param xctxt The current execution context. 120 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 122 double pos = (double) getPositionInContextNodeList(xctxt);
|
H A D | FuncCount.java | 39 * @param xctxt The current execution context. 44 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 47 // DTMIterator nl = m_arg0.asIterator(xctxt, xctxt.getCurrentNode()); 58 DTMIterator nl = m_arg0.asIterator(xctxt, xctxt.getCurrentNode());
|
H A D | FuncStartsWith.java | 38 * @param xctxt The current execution context. 43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 45 return m_arg0.execute(xctxt).xstr().startsWith(m_arg1.execute(xctxt).xstr())
|
H A D | FuncSubstringBefore.java | 38 * @param xctxt The current execution context. 43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 46 String s1 = m_arg0.execute(xctxt).str(); 47 String s2 = m_arg1.execute(xctxt).str();
|
H A D | FuncUnparsedEntityURI.java | 38 * @param xctxt The current execution context. 43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 46 String name = m_arg0.execute(xctxt).str(); 47 int context = xctxt.getCurrentNode(); 48 DTM dtm = xctxt.getDTM(context);
|
H A D | FuncId.java | 46 * @param xctxt The runtime XPath context. 55 private StringVector getNodesByID(XPathContext xctxt, int docContext, argument 63 // DOMHelper dh = xctxt.getDOMHelper(); 66 DTM dtm = xctxt.getDTM(docContext); 83 nodeSet.addNodeInDocOrder(node, xctxt); 101 * @param xctxt The current execution context. 106 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 109 int context = xctxt.getCurrentNode(); 110 DTM dtm = xctxt.getDTM(context); 114 error(xctxt, XPATHErrorResource [all...] |
H A D | FuncBoolean.java | 38 * @param xctxt The current execution context. 43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 45 return m_arg0.execute(xctxt).bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
|
H A D | FuncCeiling.java | 38 * @param xctxt The current execution context. 43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 45 return new XNumber(Math.ceil(m_arg0.execute(xctxt).num()));
|
H A D | FuncFloor.java | 38 * @param xctxt The current execution context. 43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException argument 45 return new XNumber(java.lang.Math.floor(m_arg0.execute(xctxt).num()));
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
H A D | Expression.java | 83 * @param xctxt The XPath runtime context. 91 public XObject execute(XPathContext xctxt, int currentNode) argument 96 return execute(xctxt); 104 * @param xctxt The XPath runtime context. 115 XPathContext xctxt, int currentNode, DTM dtm, int expType) 120 return execute(xctxt); 128 * @param xctxt The XPath runtime context. 135 public abstract XObject execute(XPathContext xctxt) argument 141 * to be returned. The default implementation just calls execute(xctxt). 144 * @param xctxt Th 114 execute( XPathContext xctxt, int currentNode, DTM dtm, int expType) argument 152 execute(XPathContext xctxt, boolean destructiveOK) argument 168 num(XPathContext xctxt) argument 183 bool(XPathContext xctxt) argument 198 xstr(XPathContext xctxt) argument 222 asNode(XPathContext xctxt) argument 244 asIterator(XPathContext xctxt, int contextNode) argument 275 asIteratorRaw(XPathContext xctxt, int contextNode) argument 307 executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) argument 388 warn(XPathContext xctxt, String msg, Object[] args) argument 443 error(XPathContext xctxt, String msg, Object[] args) argument [all...] |
H A D | XPath.java | 286 * @param xctxt The execution context. 299 XPathContext xctxt, org.w3c.dom.Node contextNode, 304 xctxt, xctxt.getDTMHandleFromNode(contextNode), 313 * @param xctxt The execution context. 325 XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) 329 xctxt.pushNamespaceContext(namespaceContext); 331 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode); 337 xobj = m_mainExp.execute(xctxt); 342 ErrorListener el = xctxt 298 execute( XPathContext xctxt, org.w3c.dom.Node contextNode, PrefixResolver namespaceContext) argument 324 execute( XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) argument 401 bool( XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) argument 478 getMatchScore(XPathContext xctxt, int context) argument 523 warn( XPathContext xctxt, int sourceNode, String msg, Object[] args) argument 576 error( XPathContext xctxt, int sourceNode, String msg, Object[] args) argument [all...] |