Examples of XPathParser

  • org.apache.xpath.compiler.XPathParser
    Tokenizes and parses XPath expressions. This should really be named XPathParserImpl, and may be renamed in the future.
  • org.eclipse.wst.xml.xpath2.processor.XPathParser
  • our.apache.commons.jxpath.ri.parser.XPathParser

  • Examples of org.apache.ibatis.parsing.XPathParser

        this(inputStream, configuration, resource, sqlFragments);
        this.builderAssistant.setCurrentNamespace(namespace);
      }

      public XMLMapperBuilder(InputStream inputStream, Configuration configuration, String resource, Map<String, XNode> sqlFragments) {
        this(new XPathParser(inputStream, true, configuration.getVariables(), new XMLMapperEntityResolver()),
            configuration, resource, sqlFragments);
      }
    View Full Code Here

    Examples of org.apache.ibatis.parsing.XPathParser

      public XMLConfigBuilder(Reader reader, String environment) {
        this(reader, environment, null);
      }

      public XMLConfigBuilder(Reader reader, String environment, Properties props) {
        this(new XPathParser(reader, true, props, new XMLMapperEntityResolver()), environment, props);
      }
    View Full Code Here

    Examples of org.apache.ibatis.parsing.XPathParser

      public XMLConfigBuilder(InputStream inputStream, String environment) {
        this(inputStream, environment, null);
      }

      public XMLConfigBuilder(InputStream inputStream, String environment, Properties props) {
        this(new XPathParser(inputStream, true, props, new XMLMapperEntityResolver()), environment, props);
      }
    View Full Code Here

    Examples of org.apache.ibatis.parsing.XPathParser

      @Override
      public SqlSource createSqlSource(Configuration configuration, String script, Class<?> parameterType) {
        // issue #3
        if (script.startsWith("<script>")) {
          XPathParser parser = new XPathParser(script, false, configuration.getVariables(), new XMLMapperEntityResolver());
          return createSqlSource(configuration, parser.evalNode("/script"), parameterType);
        } else {
          // issue #127
          script = PropertyParser.parse(script, configuration.getVariables());
          TextSqlNode textSqlNode = new TextSqlNode(script);
          if (textSqlNode.isDynamic()) {
    View Full Code Here

    Examples of org.apache.ibatis.parsing.XPathParser

        this.builderAssistant.setCurrentNamespace(namespace);
      }

      @Deprecated
      public XMLMapperBuilder(Reader reader, Configuration configuration, String resource, Map<String, XNode> sqlFragments) {
        this(new XPathParser(reader, true, configuration.getVariables(), new XMLMapperEntityResolver()),
            configuration, resource, sqlFragments);
      }
    View Full Code Here

    Examples of org.apache.ibatis.parsing.XPathParser

        this(inputStream, configuration, resource, sqlFragments);
        this.builderAssistant.setCurrentNamespace(namespace);
      }

      public XMLMapperBuilder(InputStream inputStream, Configuration configuration, String resource, Map<String, XNode> sqlFragments) {
        this(new XPathParser(inputStream, true, configuration.getVariables(), new XMLMapperEntityResolver()),
            configuration, resource, sqlFragments);
      }
    View Full Code Here

    Examples of org.apache.ibatis.parsing.XPathParser

      public XMLConfigBuilder(Reader reader, String environment) {
        this(reader, environment, null);
      }

      public XMLConfigBuilder(Reader reader, String environment, Properties props) {
        this(new XPathParser(reader, true, props, new XMLMapperEntityResolver()), environment, props);
      }
    View Full Code Here

    Examples of org.apache.ibatis.parsing.XPathParser

      public XMLConfigBuilder(InputStream inputStream, String environment) {
        this(inputStream, environment, null);
      }

      public XMLConfigBuilder(InputStream inputStream, String environment, Properties props) {
        this(new XPathParser(inputStream, true, props, new XMLMapperEntityResolver()), environment, props);
      }
    View Full Code Here

    Examples of org.apache.tika.sax.xpath.XPathParser

            stream = new CloseShieldInputStream(stream);

            // Prepare the HTML content handler that generates proper
            // XHTML events to records relevant document metadata
            XHTMLContentHandler xhtml = new XHTMLContentHandler(handler, metadata);
            XPathParser xpath = new XPathParser(null, "");
            Matcher body = xpath.parse("/HTML/BODY//node()");
            Matcher title = xpath.parse("/HTML/HEAD/TITLE//node()");
            Matcher meta = xpath.parse("/HTML/HEAD/META//node()");
            handler = new TeeContentHandler(
                    new MatchingContentHandler(getBodyHandler(xhtml), body),
                    new MatchingContentHandler(getTitleHandler(metadata), title),
                    new MatchingContentHandler(getMetaHandler(metadata), meta));
    View Full Code Here

    Examples of org.apache.tika.sax.xpath.XPathParser

            stream = new CloseShieldInputStream(stream);

            // Prepare the HTML content handler that generates proper
            // XHTML events to records relevant document metadata
            XHTMLContentHandler xhtml = new XHTMLContentHandler(handler, metadata);
            XPathParser xpath = new XPathParser(null, "");
            Matcher body = xpath.parse("/HTML/BODY//node()");
            Matcher title = xpath.parse("/HTML/HEAD/TITLE//node()");
            Matcher meta = xpath.parse("/HTML/HEAD/META//node()");
            handler = new TeeContentHandler(
                    new MatchingContentHandler(getBodyHandler(xhtml), body),
                    new MatchingContentHandler(getTitleHandler(metadata), title),
                    new MatchingContentHandler(getMetaHandler(metadata), meta));
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.