Package de.elrebo

Klasse XPathHelper

java.lang.Object
de.elrebo.XPathHelper

public class XPathHelper extends Object
XPathHelper Class XPathHelper simplifies Access to XML documents from Java programs. It prepares any XML document to be inspected by any XPath2.0 instruction. It suppports Namespaces and Variables. Copyright 2025 Christoph Oberle Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
  • Konstruktordetails

    • XPathHelper

      public XPathHelper(net.sf.saxon.s9api.Processor processor, String[][] namespaces, String[][] variables, String xPath) throws net.sf.saxon.s9api.SaxonApiException
      Löst aus:
      net.sf.saxon.s9api.SaxonApiException
  • Methodendetails

    • loadXPath

      public void loadXPath()
    • setIntVariable

      public void setIntVariable(String name, int value) throws net.sf.saxon.s9api.SaxonApiException
      Löst aus:
      net.sf.saxon.s9api.SaxonApiException
    • setDoubleVariable

      public void setDoubleVariable(String name, double value) throws net.sf.saxon.s9api.SaxonApiException
      Löst aus:
      net.sf.saxon.s9api.SaxonApiException
    • setStringVariable

      public void setStringVariable(String name, String value) throws net.sf.saxon.s9api.SaxonApiException
      Löst aus:
      net.sf.saxon.s9api.SaxonApiException
    • setContextItem

      public net.sf.saxon.s9api.XPathSelector setContextItem(net.sf.saxon.s9api.XdmNode xdmNode) throws net.sf.saxon.s9api.SaxonApiException
      Löst aus:
      net.sf.saxon.s9api.SaxonApiException