Package org.apache.xalan.xpath

Examples of org.apache.xalan.xpath.XPathSupport


   */
  public KeyTable(Node doc, Node startNode, org.apache.xalan.xpath.xml.PrefixResolver nscontext,
           Vector keyDeclarations, XMLParserLiaison xmlLiaison)
  {   
    m_docKey = doc;
    XPathSupport execContext = xmlLiaison;
   
    try
    {
      DTMProxy docp = (DTMProxy)doc;
     
View Full Code Here


    {
      int nAttrs = m_avts.size();
      for(int i = (nAttrs-1); i >= 0; i--)
      {
        AVT avt = (AVT)m_avts.elementAt(i);
        XPathSupport execContext = processor.getXMLProcessorLiaison();
        String stringedValue = avt.evaluate(execContext, sourceNode, this,
                                            new StringBuffer());

        if(null != stringedValue)
        {
View Full Code Here

    // Since we don't have a XML Parser involved here, install some default support
    // for things like namespaces, etc.
    // (Changed from: XPathSupportDefault xpathSupport = new XPathSupportDefault();
    //    because XPathSupportDefault is weak in a number of areas... perhaps
    //    XPathSupportDefault should be done away with.)
    XPathSupport xpathSupport = new XMLParserLiaisonDefault();

    // Create an object to resolve namespace prefixes.
    // XPath namespaces are resolved from the input context node's document element
    // if it is a root node, or else the current context node (for lack of a better
    // resolution space, given the simplicity of this sample code).
View Full Code Here

    // Since we don't have a XML Parser involved here, install some default support
    // for things like namespaces, etc.
    // (Changed from: XPathSupportDefault xpathSupport = new XPathSupportDefault();
    //    because XPathSupportDefault is weak in a number of areas... perhaps
    //    XPathSupportDefault should be done away with.)
    XPathSupport xpathSupport = new XMLParserLiaisonDefault();

    // Create an object to resolve namespace prefixes.
    // XPath namespaces are resolved from the input context node's document element
    // if it is a root node, or else the current context node (for lack of a better
    // resolution space, given the simplicity of this sample code).
View Full Code Here

      for(int i = (nAttrs-1); i >= 0; i--)
      {
        AVT avt = (AVT)m_avts.elementAt(i);
        if(avt.m_name.equals(name))
        {
          XPathSupport execContext = processor.getXMLProcessorLiaison();
          return avt.evaluate(execContext, sourceNode, this,
                              new StringBuffer());       
        }
      } // end for
    }
View Full Code Here

  KeyTable(Node doc, Node startNode, org.apache.xalan.xpath.xml.PrefixResolver nscontext,
           String name, Vector keyDeclarations, XMLParserLiaison xmlLiaison)
   throws org.xml.sax.SAXException
  {   
    m_docKey = doc;
    XPathSupport execContext = xmlLiaison;
   
    try
    {
      org.apache.xalan.xpath.dtm.DTMProxy docp = (org.apache.xalan.xpath.dtm.DTMProxy)doc;
     
View Full Code Here

    {
      int nAttrs = m_avts.size();
      for(int i = (nAttrs-1); i >= 0; i--)
      {
        AVT avt = (AVT)m_avts.elementAt(i);
        XPathSupport execContext = processor.getXMLProcessorLiaison();
        String stringedValue = avt.evaluate(execContext, sourceNode, this,
                                            new StringBuffer());       
       
        if(null != stringedValue)
        {
View Full Code Here

TOP

Related Classes of org.apache.xalan.xpath.XPathSupport

Copyright © 2018 www.massapicom. 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.