summaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/xml/stream/XMLOutputFactory.java
diff options
context:
space:
mode:
authorMark Wielaard <mark@gcc.gnu.org>2006-03-10 21:46:48 +0000
committerMark Wielaard <mark@gcc.gnu.org>2006-03-10 21:46:48 +0000
commit8aa540d2f783474d1d2e06f16744bf67b9c1facc (patch)
treeea38c56431c5d4528fb54254c3f8e50f517bede3 /libjava/classpath/javax/xml/stream/XMLOutputFactory.java
parent27079765d00123f8e53d0e1ef7f9d46559266e6d (diff)
Imported GNU Classpath 0.90
Imported GNU Classpath 0.90 * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore. * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant. * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5. * java/lang/Math.java: New override file. * java/lang/Character.java: Merged from Classpath. (start, end): Now 'int's. (canonicalName): New field. (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants. (UnicodeBlock): Added argument. (of): New overload. (forName): New method. Updated unicode blocks. (sets): Updated. * sources.am: Regenerated. * Makefile.in: Likewise. From-SVN: r111942
Diffstat (limited to 'libjava/classpath/javax/xml/stream/XMLOutputFactory.java')
-rw-r--r--libjava/classpath/javax/xml/stream/XMLOutputFactory.java30
1 files changed, 8 insertions, 22 deletions
diff --git a/libjava/classpath/javax/xml/stream/XMLOutputFactory.java b/libjava/classpath/javax/xml/stream/XMLOutputFactory.java
index cf31f02a591..e4c9dd40d46 100644
--- a/libjava/classpath/javax/xml/stream/XMLOutputFactory.java
+++ b/libjava/classpath/javax/xml/stream/XMLOutputFactory.java
@@ -1,5 +1,5 @@
/* XMLOutputFactory.java --
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005,2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -46,7 +46,7 @@ import java.io.IOException;
import java.io.OutputStream;
import java.io.Writer;
import java.util.Properties;
-//import javax.xml.transform.Result;
+import javax.xml.transform.Result;
/**
* Factory for obtaining XML stream and event writers for various kinds of
@@ -77,8 +77,8 @@ public abstract class XMLOutputFactory
* If true, the writer will create a namespace declaration for any
* attribute that doesn't have a namespace declaration in scope.
*/
- public static final java.lang.String IS_PREFIX_DEFAULTING =
- "javax.xml.stream.isPrefixDefaulting";
+ public static final java.lang.String IS_REPAIRING_NAMESPACES =
+ "javax.xml.stream.isRepairingNamespaces";
protected XMLOutputFactory()
{
@@ -219,16 +219,16 @@ public abstract class XMLOutputFactory
* @exception UnsupportedOperationException if this method is not
* supported
*/
- //public abstract XMLStreamWriter createXMLStreamWriter(Result result)
- // throws XMLStreamException;
+ public abstract XMLStreamWriter createXMLStreamWriter(Result result)
+ throws XMLStreamException;
/**
* Creates a new event writer.
* @exception UnsupportedOperationException if this method is not
* supported
*/
- //public abstract XMLEventWriter createXMLEventWriter(Result result)
- // throws XMLStreamException;
+ public abstract XMLEventWriter createXMLEventWriter(Result result)
+ throws XMLStreamException;
/**
* Creates a new event writer.
@@ -264,23 +264,9 @@ public abstract class XMLOutputFactory
throws IllegalArgumentException;
/**
- * Indicates whether writers created by this factory will perform prefix
- * defaulting.
- * @see #IS_PREFIX_DEFAULTING
- */
- public abstract boolean isPrefixDefaulting();
-
- /**
* Indicates whether the specified property is supported.
*/
public abstract boolean isPropertySupported(String name);
- /**
- * Sets whether writers created by this factory will perform prefix
- * defaulting.
- * @see #IS_PREFIX_DEFAULTING
- */
- public abstract void setPrefixDefaulting(boolean value);
-
}