xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dles...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/processor ProcessorOutputElem.java
Date Thu, 06 Jun 2002 14:20:25 GMT
dleslie     2002/06/06 07:20:25

  Modified:    java/src/org/apache/xalan/processor ProcessorOutputElem.java
  Log:
  Restored correct version for Xalan 2.
  
  Revision  Changes    Path
  1.14      +5 -19     xml-xalan/java/src/org/apache/xalan/processor/ProcessorOutputElem.java
  
  Index: ProcessorOutputElem.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/processor/ProcessorOutputElem.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ProcessorOutputElem.java	4 Jun 2002 19:11:04 -0000	1.13
  +++ ProcessorOutputElem.java	6 Jun 2002 14:20:25 -0000	1.14
  @@ -72,7 +72,6 @@
   
   import org.xml.sax.Attributes;
   
  -
   /**
    * TransformerFactory for xsl:output markup.
    * @see <a href="http://www.w3.org/TR/xslt#dtd">XSLT DTD</a>
  @@ -80,7 +79,7 @@
    */
   class ProcessorOutputElem extends XSLTElementProcessor
   {
  -  
  +
     /** The output properties, set temporarily while the properties are 
      *  being set from the attributes, and then nulled after that operation 
      *  is completed.  */
  @@ -91,7 +90,7 @@
      * @see javax.xml.transform.OutputKeys#CDATA_SECTION_ELEMENTS
      * @param newValue non-null reference to processed attribute value.
      */
  -  public void setCdataSectionElements(java.util.Vector newValue, QName qname)
  +  public void setCdataSectionElements(java.util.Vector newValue)
     {
       m_outputProperties.setQNameProperties(OutputKeys.CDATA_SECTION_ELEMENTS, newValue);
     }
  @@ -205,18 +204,6 @@
       QName key = new QName(attrUri, attrLocalName);
       m_outputProperties.setProperty(key, attrValue);
     }
  -  
  -  //XSLT 2.0
  - 
  -  public void setName(QName v)
  -  {
  -    m_outputProperties.setQNameProperty("name", v);
  -  }    
  -  
  -  public QName getName()
  -  {
  -    return m_outputProperties.getQNameProperty("name");
  -  }
   
     /**
      * Receive notification of the start of an xsl:output element.
  @@ -247,7 +234,7 @@
       m_outputProperties.setLocaterInfo(handler.getLocator());
       m_outputProperties.setUid(handler.nextUid());
       setPropertiesFromAttributes(handler, rawName, attributes, this);
  -
  +    
       // Access this only from the Hashtable level... we don't want to 
       // get default properties.
       String entitiesFileName =
  @@ -267,12 +254,11 @@
         }
       }
       
  -    // for 2.0, can have multiple output properties, identified by name.
  -    handler.getStylesheet().setOutput(m_outputProperties); 
  +    handler.getStylesheet().setOutput(m_outputProperties);
       
       ElemTemplateElement parent = handler.getElemTemplateElement();
       parent.appendChild(m_outputProperties);
       
       m_outputProperties = null;
     }
  -}
  +}
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message