/[classpath]/classpath/javax/xml/stream/XMLOutputFactory.java
ViewVC logotype

Diff of /classpath/javax/xml/stream/XMLOutputFactory.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dog, Sat Sep 3 10:04:19 2005 UTC revision 1.2 by dog, Sun Sep 4 09:44:29 2005 UTC
# Line 46  import java.io.IOException; Line 46  import java.io.IOException;
46  import java.io.OutputStream;  import java.io.OutputStream;
47  import java.io.Writer;  import java.io.Writer;
48  import java.util.Properties;  import java.util.Properties;
49  import javax.xml.transform.Result;  //import javax.xml.transform.Result;
50    
51  /**  /**
52   * Factory for obtaining XML stream and event writers for various kinds of   * Factory for obtaining XML stream and event writers for various kinds of
# Line 77  public abstract class XMLOutputFactory Line 77  public abstract class XMLOutputFactory
77     * If true, the writer will create a namespace declaration for any     * If true, the writer will create a namespace declaration for any
78     * attribute that doesn't have a namespace declaration in scope.     * attribute that doesn't have a namespace declaration in scope.
79     */     */
80    public static final java.lang.String IS_REPAIRING_NAMESPACES =    public static final java.lang.String IS_PREFIX_DEFAULTING =
81      "javax.xml.stream.isRepairingNamespaces";      "javax.xml.stream.isPrefixDefaulting";
82    
83    protected XMLOutputFactory()    protected XMLOutputFactory()
84    {    {
# Line 220  public abstract class XMLOutputFactory Line 220  public abstract class XMLOutputFactory
220     * @exception UnsupportedOperationException if this method is not     * @exception UnsupportedOperationException if this method is not
221     * supported     * supported
222     */     */
223    public abstract XMLStreamWriter createXMLStreamWriter(Result result)    //public abstract XMLStreamWriter createXMLStreamWriter(Result result)
224      throws XMLStreamException;    //  throws XMLStreamException;
225        
226    /**    /**
227     * Creates a new event writer.     * Creates a new event writer.
228     * @exception UnsupportedOperationException if this method is not     * @exception UnsupportedOperationException if this method is not
229     * supported     * supported
230     */     */
231    public abstract XMLEventWriter createXMLEventWriter(Result result)    //public abstract XMLEventWriter createXMLEventWriter(Result result)
232      throws XMLStreamException;    //  throws XMLStreamException;
233    
234    /**    /**
235     * Creates a new event writer.     * Creates a new event writer.
# Line 265  public abstract class XMLOutputFactory Line 265  public abstract class XMLOutputFactory
265      throws IllegalArgumentException;      throws IllegalArgumentException;
266    
267    /**    /**
268       * Indicates whether writers created by this factory will perform prefix
269       * defaulting.
270       * @see #IS_PREFIX_DEFAULTING
271       */
272      public abstract boolean isPrefixDefaulting();
273    
274      /**
275     * Indicates whether the specified property is supported.     * Indicates whether the specified property is supported.
276     */     */
277    public abstract boolean isPropertySupported(String name);    public abstract boolean isPropertySupported(String name);
278    
279      /**
280       * Sets whether writers created by this factory will perform prefix
281       * defaulting.
282       * @see #IS_PREFIX_DEFAULTING
283       */
284      public abstract void setPrefixDefaulting(boolean value);
285        
286  }  }
287    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26