/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
KeyTable.java | 96 int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) 105 m_keyNodes.setRoot(doc, xctxt); 135 XPathContext xctxt = ki.getXPathContext(); local 136 refNodes = new XNodeSet(xctxt.getDTMManager()) { 190 XPathContext xctxt = ki.getXPathContext(); local 205 keyDeclaration.getUse().execute(xctxt, 211 addValueInRefsTable(xctxt, exprResult, currentNode); 217 DTM dtm = xctxt.getDTM(currentNodeInUseClause); 220 addValueInRefsTable(xctxt, exprResult, currentNode); 235 * @param xctxt XPath contex [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncCurrent.java | 47 * @param xctxt The current execution context. 52 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException 55 SubContextList subContextList = xctxt.getCurrentNodeList(); 69 currentNode = xctxt.getContextNode(); 71 return new XNodeSet(currentNode, xctxt.getDTMManager());
|
FuncExtFunctionAvailable.java | 43 * @param xctxt The current execution context. 48 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException 55 String fullName = m_arg0.execute(xctxt).str(); 67 namespace = xctxt.getNamespaceContext().getNamespaceForPrefix(prefix); 88 ExtensionsProvider extProvider = (ExtensionsProvider)xctxt.getOwnerObject();
|
FuncLang.java | 39 * @param xctxt The current execution context. 44 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException 47 String lang = m_arg0.execute(xctxt).str(); 48 int parent = xctxt.getCurrentNode(); 50 DTM dtm = xctxt.getDTM(parent);
|
FuncSubstring.java | 41 * @param xctxt The current execution context. 46 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException 49 XMLString s1 = m_arg0.execute(xctxt).xstr(); 50 double start = m_arg1.execute(xctxt).num(); 76 double len = m_arg2.num(xctxt);
|
FuncTranslate.java | 38 * @param xctxt The current execution context. 43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException 46 String theFirstString = m_arg0.execute(xctxt).str(); 47 String theSecondString = m_arg1.execute(xctxt).str(); 48 String theThirdString = m_arg2.execute(xctxt).str();
|
FuncSystemProperty.java | 51 * @param xctxt The current execution context. 56 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException 59 String fullName = m_arg0.execute(xctxt).str(); 76 namespace = xctxt.getNamespaceContext().getNamespaceForPrefix(prefix); 87 warn(xctxt, XPATHErrorResources.WG_PROPERTY_NOT_SUPPORTED, 95 warn(xctxt, XPATHErrorResources.WG_DONT_DO_ANYTHING_WITH_NS, 112 warn(xctxt, XPATHErrorResources.WG_SECURITY_EXCEPTION, 134 warn(xctxt, XPATHErrorResources.WG_SECURITY_EXCEPTION,
|
FuncExtElementAvailable.java | 42 * @param xctxt The current execution context. 47 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException 54 String fullName = m_arg0.execute(xctxt).str(); 66 namespace = xctxt.getNamespaceContext().getNamespaceForPrefix(prefix); 77 TransformerImpl transformer = (TransformerImpl) xctxt.getOwnerObject(); 90 ExtensionsProvider extProvider = (ExtensionsProvider)xctxt.getOwnerObject();
|
FuncFalse.java | 38 * @param xctxt The current execution context. 43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
|
FuncTrue.java | 38 * @param xctxt The current execution context. 43 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemValueOf.java | 215 XPathContext xctxt = transformer.getXPathContext(); local 221 xctxt.pushNamespaceContext(this); 223 int current = xctxt.getCurrentNode(); 225 xctxt.pushCurrentNodeAndExpression(current, current); 235 expr.executeCharsToContentHandler(xctxt, rth); 243 xctxt.popNamespaceContext(); 244 xctxt.popCurrentNodeAndExpression();
|
FuncFormatNumb.java | 48 * @param xctxt The current execution context. 53 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException 58 (ElemTemplateElement) xctxt.getNamespaceContext(); 62 double num = getArg0().execute(xctxt).num(); 63 String patternStr = getArg1().execute(xctxt).str(); 77 String dfName = arg2Expr.execute(xctxt).str(); 78 QName qname = new QName(dfName, xctxt.getNamespaceContext()); 84 warn(xctxt, XSLTErrorResources.WG_NO_DECIMALFORMAT_DECLARATION, 146 * @param xctxt The XPath runtime state. 154 public void warn(XPathContext xctxt, String msg, Object args[] [all...] |
ElemCopy.java | 92 XPathContext xctxt = transformer.getXPathContext(); local 96 int sourceNode = xctxt.getCurrentNode(); 97 xctxt.pushCurrentNode(sourceNode); 98 DTM dtm = xctxt.getDTM(sourceNode); 133 xctxt.popCurrentNode();
|
ElemChoose.java | 95 XPathContext xctxt = transformer.getXPathContext(); local 96 int sourceNode = xctxt.getCurrentNode(); 103 if (when.getTest().bool(xctxt, sourceNode, when)) {
|
ElemIf.java | 130 XPathContext xctxt = transformer.getXPathContext(); local 131 int sourceNode = xctxt.getCurrentNode(); 133 if (m_test.bool(xctxt, sourceNode, this)) {
|
XUnresolvedVariable.java | 99 * @param xctxt The XPath execution context. 105 public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException 110 (xctxt.getSAXLocator(), XSLTErrorResources.ER_REFERENCING_ITSELF, 113 VariableStack vars = xctxt.getVarStack();
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
FunctionPattern.java | 92 * @param xctxt XPath runtime context. 102 public XObject execute(XPathContext xctxt, int context) 106 DTMIterator nl = m_functionExpr.asIterator(xctxt, context); 135 * @param xctxt XPath runtime context. 145 public XObject execute(XPathContext xctxt, int context, 150 DTMIterator nl = m_functionExpr.asIterator(xctxt, context); 178 * @param xctxt XPath runtime context. 188 public XObject execute(XPathContext xctxt) 192 int context = xctxt.getCurrentNode(); 193 DTMIterator nl = m_functionExpr.asIterator(xctxt, context) [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
UnionChildIterator.java | 115 XPathContext xctxt = getXPathContext(); local 118 xctxt.pushCurrentNode(n); 122 XObject score = pnt.execute(xctxt, n); 128 if (pnt.executePredicates(n, xctxt)) 145 xctxt.popCurrentNode();
|
LocPathIterator.java | 200 * @param xctxt The XPath execution context. 206 public XObject execute(XPathContext xctxt) 212 iter.setRoot(xctxt.getCurrentNode(), xctxt); local 222 * @param xctxt The XPath runtime context. 232 XPathContext xctxt, org.xml.sax.ContentHandler handler) 238 int current = xctxt.getCurrentNode(); 239 clone.setRoot(current, xctxt); 255 * @param xctxt The execution context. 264 XPathContext xctxt, int contextNode 362 XPathContext xctxt = (XPathContext)environment; local [all...] |
FilterExprIteratorSimple.java | 87 public static XNodeSet executeFilterExpr(int context, XPathContext xctxt, 94 PrefixResolver savedResolver = xctxt.getNamespaceContext(); 99 xctxt.pushCurrentNode(context); 100 xctxt.setNamespaceContext(prefixResolver); 110 VariableStack vars = xctxt.getVarStack(); 116 result = (org.apache.xpath.objects.XNodeSet) expr.execute(xctxt); 123 result = (org.apache.xpath.objects.XNodeSet) expr.execute(xctxt); 134 xctxt.popCurrentNode(); 135 xctxt.setNamespaceContext(savedResolver);
|
OneStepIterator.java | 201 XPathContext xctxt = getXPathContext(); local 207 xctxt.pushCurrentNode(root); 208 clone.setRoot(root, xctxt); 231 xctxt.popCurrentNode(); 263 XPathContext xctxt = getXPathContext(); local 269 xctxt.pushCurrentNode(root); 270 clone.setRoot(root, xctxt); 287 xctxt.popCurrentNode();
|
PredicatedNodeTest.java | 206 * @param xctxt The XPath runtime context. 210 public int getProximityPosition(XPathContext xctxt) 219 * @param xctxt XPath runtime context. 223 public abstract int getLastPos(XPathContext xctxt); 315 * @param xctxt The XPath runtime context. 321 boolean executePredicates(int context, XPathContext xctxt) 330 PrefixResolver savedResolver = xctxt.getNamespaceContext(); 335 xctxt.pushSubContextList(this); 336 xctxt.pushNamespaceContext(m_lpi.getPrefixResolver()); 337 xctxt.pushCurrentNode(context) 464 XPathContext xctxt = m_lpi.getXPathContext(); local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
VariableStack.java | 294 * @param xctxt The XPath context, which must be passed in order to 304 public XObject getLocalVariable(XPathContext xctxt, int index) 314 xctxt.getSAXLocator()); 315 // "Variable accessed before it is bound!", xctxt.getSAXLocator()); 319 return (_stackFrames[index] = val.execute(xctxt)); 351 * @param xctxt The XPath context, which must be passed in order to 361 public XObject getLocalVariable(XPathContext xctxt, int index, boolean destructiveOK) 371 xctxt.getSAXLocator()); 372 // "Variable accessed before it is bound!", xctxt.getSAXLocator()); 376 return (_stackFrames[index] = val.execute(xctxt)); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XObjectFactory.java | 78 * @param xctxt The XPath context. 82 static public XObject create(Object val, XPathContext xctxt) 112 iterator.setRoot(dtmRoot, xctxt); 126 iterator.setRoot(iter.getStartNode(), xctxt); local 142 result = new XNodeSetForDOM((org.w3c.dom.Node)val, xctxt); 148 result = new XNodeSetForDOM((org.w3c.dom.NodeList)val, xctxt); 152 result = new XNodeSetForDOM((org.w3c.dom.traversal.NodeIterator)val, xctxt);
|
XRTreeFrag.java | 50 public XRTreeFrag(int root, XPathContext xctxt, ExpressionNode parent) 54 initDTM(root, xctxt); 61 public XRTreeFrag(int root, XPathContext xctxt) 64 initDTM(root, xctxt); 67 private final void initDTM(int root, XPathContext xctxt){ 69 final DTM dtm = xctxt.getDTM(root); 71 m_DTMXRTreeFrag = xctxt.getDTMXRTreeFrag(xctxt.getDTMIdentity(dtm));
|