geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r517986 - in /geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream: XMLOutputFactory.java events/XMLEvent.java
Date Wed, 14 Mar 2007 03:29:50 GMT
Author: hogstrom
Date: Tue Mar 13 20:29:49 2007
New Revision: 517986

URL: http://svn.apache.org/viewvc?view=rev&rev=517986
Log:
Updated changes to address incorrect method signatures in the specification.  Specifically
in XMLOutputFactory and XMLEvent

Modified:
    geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/XMLOutputFactory.java
    geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/events/XMLEvent.java

Modified: geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/XMLOutputFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/XMLOutputFactory.java?view=diff&rev=517986&r1=517985&r2=517986
==============================================================================
--- geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/XMLOutputFactory.java
(original)
+++ geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/XMLOutputFactory.java
Tue Mar 13 20:29:49 2007
@@ -22,6 +22,8 @@
 public abstract class XMLOutputFactory {
 	public static final String IS_REPAIRING_NAMESPACES = "javax.xml.stream.isRepairingNamespaces";
 
+	protected XMLOutputFactory() { }
+	
 	public static XMLOutputFactory newInstance()
 			throws FactoryConfigurationError {
 		return (XMLOutputFactory) FactoryLocator.locate(

Modified: geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/events/XMLEvent.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/events/XMLEvent.java?view=diff&rev=517986&r1=517985&r2=517986
==============================================================================
--- geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/events/XMLEvent.java
(original)
+++ geronimo/specs/trunk/geronimo-stax-api_1.0_spec/src/main/java/javax/xml/stream/events/XMLEvent.java
Tue Mar 13 20:29:49 2007
@@ -24,6 +24,7 @@
 import javax.xml.namespace.QName;
 import javax.xml.stream.Location;
 import javax.xml.stream.XMLStreamConstants;
+import javax.xml.stream.XMLStreamException;
 
 public interface XMLEvent extends XMLStreamConstants {
 	public Characters asCharacters();
@@ -56,5 +57,5 @@
 
 	public boolean isStartElement();
 
-	public void writeAsEncodedUnicode(Writer writer);
+	public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException;
 }



Mime
View raw message