gpt4 book ai didi

net.sf.saxon.expr.XPathContextMajor.newMinorContext()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 19:43:40 25 4
gpt4 key购买 nike

本文整理了Java中net.sf.saxon.expr.XPathContextMajor.newMinorContext()方法的一些代码示例,展示了XPathContextMajor.newMinorContext()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XPathContextMajor.newMinorContext()方法的具体详情如下:
包路径:net.sf.saxon.expr.XPathContextMajor
类名称:XPathContextMajor
方法名:newMinorContext

XPathContextMajor.newMinorContext介绍

暂无

代码示例

代码示例来源:origin: net.sf.saxon/Saxon-HE

/**
   * Construct a new minor context. A minor context can only hold new values of the focus
   * (currentIterator) and current output destination.
   */

  public XPathContextMinor newMinorContext() {
    return newContext().newMinorContext();
//        notAllowed();
//        return null;
  }

代码示例来源:origin: net.sourceforge.saxon/saxon

/**
   * Construct a new minor context. A minor context can only hold new values of the focus
   * (currentIterator) and current output destination.
   */

  public XPathContextMinor newMinorContext() {
    return newContext().newMinorContext();
//        notAllowed();
//        return null;
  }

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon

/**
   * Construct a new minor context. A minor context can only hold new values of the focus
   * (currentIterator) and current output destination.
   */

  public XPathContextMinor newMinorContext() {
    return newContext().newMinorContext();
//        notAllowed();
//        return null;
  }

代码示例来源:origin: net.sourceforge.saxon/saxon

state = BUSY;
Controller controller = context.getController();
XPathContext c2 = savedXPathContext.newMinorContext();

代码示例来源:origin: org.opengis.cite.saxon/saxon9

state = BUSY;
Controller controller = context.getController();
XPathContext c2 = savedXPathContext.newMinorContext();

代码示例来源:origin: net.sf.saxon/Saxon-B

state = BUSY;
Controller controller = context.getController();
XPathContext c2 = savedXPathContext.newMinorContext();

代码示例来源:origin: net.sf.saxon/Saxon-HE

public SequenceIterator<?> iterate(XPathContext context) throws XPathException {
  try {
    AtomicComparer[] comps = getComparators(context);
    GroupIterator mgi = context.getCurrentMergeGroupIterator();
    final XPathContextMajor c1 = context.newContext();
    c1.setCurrentMergeGroupIterator(mgi);
    SequenceIterator<?> inputIterator = getMergedInputIterator(context, comps, c1);
    // Now perform the merge into a grouped sequence
    inputIterator = new MergeGroupingIterator(inputIterator, getComparer(mergeSources[0].mergeKeyDefinitions, comps), getLastPositionFinder(context));
    // and apply the merging action to each group of duplicate items within this sequence
    c1.setCurrentMergeGroupIterator((GroupIterator) inputIterator);
    XPathContext c3 = c1.newMinorContext();
    c3.trackFocus(inputIterator);
    return new ContextMappingIterator<>(cxt -> getAction().iterate(cxt), c3);
  } catch (XPathException e) {
    e.maybeSetLocation(getLocation());
    throw e;
  }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon

public SequenceIterator<?> iterate(XPathContext context) throws XPathException {
  try {
    AtomicComparer[] comps = getComparators(context);
    GroupIterator mgi = context.getCurrentMergeGroupIterator();
    final XPathContextMajor c1 = context.newContext();
    c1.setCurrentMergeGroupIterator(mgi);
    SequenceIterator<?> inputIterator = getMergedInputIterator(context, comps, c1);
    // Now perform the merge into a grouped sequence
    inputIterator = new MergeGroupingIterator(inputIterator, getComparer(mergeSources[0].mergeKeyDefinitions, comps), getLastPositionFinder(context));
    // and apply the merging action to each group of duplicate items within this sequence
    c1.setCurrentMergeGroupIterator((GroupIterator) inputIterator);
    XPathContext c3 = c1.newMinorContext();
    c3.trackFocus(inputIterator);
    return new ContextMappingIterator<>(cxt -> getAction().iterate(cxt), c3);
  } catch (XPathException e) {
    e.maybeSetLocation(getLocation());
    throw e;
  }
}

代码示例来源:origin: net.sf.saxon/Saxon-HE

return node;
});
XPathContext c2 = c1.newMinorContext();
FocusIterator anchorsIterFocus = c2.trackFocus(anchorsIter);
while (anchorsIterFocus.next() != null) {
XPathContext c2 = c1.newMinorContext();
FocusIterator anchorsIterFocus = c2.trackFocus(anchorsIter);
while (anchorsIterFocus.next() != null) {

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon

return node;
});
XPathContext c2 = c1.newMinorContext();
FocusIterator anchorsIterFocus = c2.trackFocus(anchorsIter);
while (anchorsIterFocus.next() != null) {
XPathContext c2 = c1.newMinorContext();
FocusIterator anchorsIterFocus = c2.trackFocus(anchorsIter);
while (anchorsIterFocus.next() != null) {

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com