org.dom4j.xpath.XPathPattern.getContextSupport()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(4.7k)|赞(0)|评价(0)|浏览(94)

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

XPathPattern.getContextSupport介绍

暂无

代码示例

代码示例来源:origin: org.dom4j/dom4j

public XPathPattern(Pattern pattern) {
  this.pattern = pattern;
  this.text = pattern.getText();
  this.context = new Context(getContextSupport());
}

代码示例来源:origin: org.dom4j/dom4j

public XPathPattern(String text) {
  this.text = text;
  this.context = new Context(getContextSupport());
  try {
    this.pattern = PatternParser.parse(text);
  } catch (SAXPathException e) {
    throw new InvalidXPathException(text, e.getMessage());
  } catch (RuntimeException e) {
    throw new InvalidXPathException(text);
  }
}

代码示例来源:origin: org.jenkins-ci.dom4j/dom4j

public XPathPattern(Pattern pattern) {
  this.pattern = pattern;
  this.text = pattern.getText();
  this.context = new Context(getContextSupport());
}

代码示例来源:origin: org.dom4j/com.springsource.org.dom4j

public XPathPattern(Pattern pattern) {
  this.pattern = pattern;
  this.text = pattern.getText();
  this.context = new Context(getContextSupport());
}

代码示例来源:origin: dom4j/dom4j

public XPathPattern(Pattern pattern) {
  this.pattern = pattern;
  this.text = pattern.getText();
  this.context = new Context(getContextSupport());
}

代码示例来源:origin: maven/dom4j

public XPathPattern(Pattern pattern) {
  this.pattern = pattern;
  this.text = pattern.getText();
  this.context = new Context(getContextSupport());
}

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

public XPathPattern(Pattern pattern) {
  this.pattern = pattern;
  this.text = pattern.getText();
  this.context = new Context(getContextSupport());
}

代码示例来源:origin: apache/servicemix-bundles

public XPathPattern(Pattern pattern) {
  this.pattern = pattern;
  this.text = pattern.getText();
  this.context = new Context(getContextSupport());
}

代码示例来源:origin: com.alibaba.citrus.tool/antx-autoexpand

public XPathPattern(Pattern pattern) {
  this.pattern = pattern;
  this.text = pattern.getText();
  this.context = new Context(getContextSupport());
}

代码示例来源:origin: org.dom4j/org.motechproject.org.dom4j

public XPathPattern(Pattern pattern) {
  this.pattern = pattern;
  this.text = pattern.getText();
  this.context = new Context(getContextSupport());
}

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

public XPathPattern(String text) {
  this.text = text;
  this.context = new Context(getContextSupport());
  try {
    this.pattern = PatternParser.parse(text);
  } catch (SAXPathException e) {
    throw new InvalidXPathException(text, e.getMessage());
  } catch (Throwable t) {
    throw new InvalidXPathException(text, t);
  }
}

代码示例来源:origin: maven/dom4j

public XPathPattern(String text) {
  this.text = text;
  this.context = new Context(getContextSupport());
  try {
    this.pattern = PatternParser.parse(text);
  } catch (SAXPathException e) {
    throw new InvalidXPathException(text, e.getMessage());
  } catch (Throwable t) {
    throw new InvalidXPathException(text, t);
  }
}

代码示例来源:origin: org.jenkins-ci.dom4j/dom4j

public XPathPattern(String text) {
  this.text = text;
  this.context = new Context(getContextSupport());
  try {
    this.pattern = PatternParser.parse(text);
  } catch (SAXPathException e) {
    throw new InvalidXPathException(text, e.getMessage());
  } catch (Throwable t) {
    throw new InvalidXPathException(text, t);
  }
}

代码示例来源:origin: org.dom4j/com.springsource.org.dom4j

public XPathPattern(String text) {
  this.text = text;
  this.context = new Context(getContextSupport());
  try {
    this.pattern = PatternParser.parse(text);
  } catch (SAXPathException e) {
    throw new InvalidXPathException(text, e.getMessage());
  } catch (Throwable t) {
    throw new InvalidXPathException(text, t);
  }
}

代码示例来源:origin: dom4j/dom4j

public XPathPattern(String text) {
  this.text = text;
  this.context = new Context(getContextSupport());
  try {
    this.pattern = PatternParser.parse(text);
  } catch (SAXPathException e) {
    throw new InvalidXPathException(text, e.getMessage());
  } catch (RuntimeException e) {
    throw new InvalidXPathException(text);
  }
}

代码示例来源:origin: com.alibaba.citrus.tool/antx-autoexpand

public XPathPattern(String text) {
  this.text = text;
  this.context = new Context(getContextSupport());
  try {
    this.pattern = PatternParser.parse(text);
  } catch (SAXPathException e) {
    throw new InvalidXPathException(text, e.getMessage());
  } catch (Throwable t) {
    throw new InvalidXPathException(text, t);
  }
}

代码示例来源:origin: org.dom4j/org.motechproject.org.dom4j

public XPathPattern(String text) {
  this.text = text;
  this.context = new Context(getContextSupport());
  try {
    this.pattern = PatternParser.parse(text);
  } catch (SAXPathException e) {
    throw new InvalidXPathException(text, e.getMessage());
  } catch (Throwable t) {
    throw new InvalidXPathException(text, t);
  }
}

代码示例来源:origin: apache/servicemix-bundles

public XPathPattern(String text) {
  this.text = text;
  this.context = new Context(getContextSupport());
  try {
    this.pattern = PatternParser.parse(text);
  } catch (SAXPathException e) {
    throw new InvalidXPathException(text, e.getMessage());
  } catch (RuntimeException e) {
    throw new InvalidXPathException(text);
  }
}

相关文章