summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/xml/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/xml/parsers')
-rw-r--r--libjava/classpath/javax/xml/parsers/DocumentBuilder.java16
-rw-r--r--libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java14
-rw-r--r--libjava/classpath/javax/xml/parsers/FactoryConfigurationError.java4
-rw-r--r--libjava/classpath/javax/xml/parsers/ParserConfigurationException.java4
-rw-r--r--libjava/classpath/javax/xml/parsers/SAXParser.java26
-rw-r--r--libjava/classpath/javax/xml/parsers/SAXParserFactory.java10
6 files changed, 37 insertions, 37 deletions
diff --git a/libjava/classpath/javax/xml/parsers/DocumentBuilder.java b/libjava/classpath/javax/xml/parsers/DocumentBuilder.java
index a574c98d410..8e4eccbb0c6 100644
--- a/libjava/classpath/javax/xml/parsers/DocumentBuilder.java
+++ b/libjava/classpath/javax/xml/parsers/DocumentBuilder.java
@@ -1,4 +1,4 @@
-/* DocumentBuilder.java --
+/* DocumentBuilder.java --
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -70,7 +70,7 @@ public abstract class DocumentBuilder
* @param is an XML input stream
* @exception IllegalArgumentException if the input stream is null
*/
- public Document parse(InputStream is)
+ public Document parse(InputStream is)
throws SAXException, IOException
{
if (is == null)
@@ -86,7 +86,7 @@ public abstract class DocumentBuilder
* @param systemId the system ID of the XML document
* @exception IllegalArgumentException if the input stream is null
*/
- public Document parse(InputStream is, String systemId)
+ public Document parse(InputStream is, String systemId)
throws SAXException, IOException
{
if (is == null)
@@ -103,7 +103,7 @@ public abstract class DocumentBuilder
* @param uri an XML system ID
* @exception IllegalArgumentException if the URI is null
*/
- public Document parse(String uri)
+ public Document parse(String uri)
throws SAXException, IOException
{
if (uri == null)
@@ -118,7 +118,7 @@ public abstract class DocumentBuilder
* @param f the XML file
* @exception IllegalArgumentException if the file is null
*/
- public Document parse(File f)
+ public Document parse(File f)
throws SAXException, IOException
{
if (f == null)
@@ -135,7 +135,7 @@ public abstract class DocumentBuilder
* @param source the input source
* @exception IllegalArgumentException if the input source is null
*/
- public abstract Document parse(InputSource source)
+ public abstract Document parse(InputSource source)
throws SAXException, IOException;
/**
@@ -175,7 +175,7 @@ public abstract class DocumentBuilder
public abstract DOMImplementation getDOMImplementation();
// -- JAXP 1.3 methods --
-
+
/**
* Reset this document builder to its original configuration.
* @since 1.3
@@ -199,5 +199,5 @@ public abstract class DocumentBuilder
{
return false;
}
-
+
}
diff --git a/libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java b/libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java
index a1350c54920..5f8b49d7c44 100644
--- a/libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java
+++ b/libjava/classpath/javax/xml/parsers/DocumentBuilderFactory.java
@@ -1,4 +1,4 @@
-/* DocumentBuilderFactory.java --
+/* DocumentBuilderFactory.java --
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -111,13 +111,13 @@ public abstract class DocumentBuilderFactory
{
throw new FactoryConfigurationError(e,
"error instantiating class " + className);
- }
+ }
}
}
while (className == null && count < 3);
return new gnu.xml.dom.DomDocumentBuilderFactory();
}
-
+
private static String getFactoryClassName(ClassLoader loader, int attempt)
{
final String propertyName = "javax.xml.parsers.DocumentBuilderFactory";
@@ -141,7 +141,7 @@ public abstract class DocumentBuilderFactory
{
return null;
}
- case 2:
+ case 2:
try
{
String serviceKey = "/META-INF/services/" + propertyName;
@@ -293,7 +293,7 @@ public abstract class DocumentBuilderFactory
* @param value the new value
* @exception IllegalArgumentException if the attribute is not recognized
*/
- public abstract void setAttribute(String name, Object value)
+ public abstract void setAttribute(String name, Object value)
throws IllegalArgumentException;
/**
@@ -301,7 +301,7 @@ public abstract class DocumentBuilderFactory
* @param name the name of the attribute
* @exception IllegalArgumentException if the attribute is not recognized
*/
- public abstract Object getAttribute(String name)
+ public abstract Object getAttribute(String name)
throws IllegalArgumentException;
// -- JAXP 1.3 methods --
@@ -365,5 +365,5 @@ public abstract class DocumentBuilderFactory
*/
public abstract boolean getFeature(String name)
throws ParserConfigurationException;
-
+
}
diff --git a/libjava/classpath/javax/xml/parsers/FactoryConfigurationError.java b/libjava/classpath/javax/xml/parsers/FactoryConfigurationError.java
index 96d0fc08289..6e2ebfadbb8 100644
--- a/libjava/classpath/javax/xml/parsers/FactoryConfigurationError.java
+++ b/libjava/classpath/javax/xml/parsers/FactoryConfigurationError.java
@@ -1,4 +1,4 @@
-/* FactoryConfigurationError.java --
+/* FactoryConfigurationError.java --
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,7 +39,7 @@ package javax.xml.parsers;
/**
* An error occurred during configuration of the parser factory.
- *
+ *
* @author (a href='mailto:dog@gnu.org'>Chris Burdess</a)
*/
public class FactoryConfigurationError
diff --git a/libjava/classpath/javax/xml/parsers/ParserConfigurationException.java b/libjava/classpath/javax/xml/parsers/ParserConfigurationException.java
index 412872f17de..a58decedbee 100644
--- a/libjava/classpath/javax/xml/parsers/ParserConfigurationException.java
+++ b/libjava/classpath/javax/xml/parsers/ParserConfigurationException.java
@@ -1,4 +1,4 @@
-/* ParserConfigurationException.java --
+/* ParserConfigurationException.java --
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,7 +39,7 @@ package javax.xml.parsers;
/**
* An exception occurred during configuration of the XML parser.
- *
+ *
* @author (a href='mailto:dog@gnu.org'>Chris Burdess</a)
*/
public class ParserConfigurationException
diff --git a/libjava/classpath/javax/xml/parsers/SAXParser.java b/libjava/classpath/javax/xml/parsers/SAXParser.java
index d38c6579e25..e53558760ee 100644
--- a/libjava/classpath/javax/xml/parsers/SAXParser.java
+++ b/libjava/classpath/javax/xml/parsers/SAXParser.java
@@ -1,4 +1,4 @@
-/* SAXParser.java --
+/* SAXParser.java --
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -59,7 +59,7 @@ import org.xml.sax.helpers.DefaultHandler;
*/
public abstract class SAXParser
{
-
+
protected SAXParser()
{
}
@@ -76,7 +76,7 @@ public abstract class SAXParser
* @exception IllegalArgumentException if the input stream is null
* @see #parse(java.io.InputStream,org.xml.sax.helpers.DefaultHandler)
*/
- public void parse(InputStream is, HandlerBase hb)
+ public void parse(InputStream is, HandlerBase hb)
throws SAXException, IOException
{
if (is == null)
@@ -118,7 +118,7 @@ public abstract class SAXParser
* @param dh the SAX2 handler
* @exception IllegalArgumentException if the input stream is null
*/
- public void parse(InputStream is, DefaultHandler dh)
+ public void parse(InputStream is, DefaultHandler dh)
throws SAXException, IOException
{
if (is == null)
@@ -158,7 +158,7 @@ public abstract class SAXParser
* @exception IllegalArgumentException if the URI is null
* @see #parse(java.lang.String,org.xml.sax.helpers.DefaultHandler)
*/
- public void parse(String uri, HandlerBase hb)
+ public void parse(String uri, HandlerBase hb)
throws SAXException, IOException
{
if (uri == null)
@@ -175,7 +175,7 @@ public abstract class SAXParser
* @param dh the SAX2 handler
* @exception IllegalArgumentException if the URI is null
*/
- public void parse(String uri, DefaultHandler dh)
+ public void parse(String uri, DefaultHandler dh)
throws SAXException, IOException
{
if (uri == null)
@@ -195,7 +195,7 @@ public abstract class SAXParser
* @exception IllegalArgumentException if the file is null
* @see #parse(java.io.File,org.xml.sax.helpers.DefaultHandler)
*/
- public void parse(File f, HandlerBase hb)
+ public void parse(File f, HandlerBase hb)
throws SAXException, IOException
{
if (f == null)
@@ -214,7 +214,7 @@ public abstract class SAXParser
* @param dh the SAX2 handler
* @exception IllegalArgumentException if the file is null
*/
- public void parse(File f, DefaultHandler dh)
+ public void parse(File f, DefaultHandler dh)
throws SAXException, IOException
{
if (f == null)
@@ -236,7 +236,7 @@ public abstract class SAXParser
* @exception IllegalArgumentException if the input source is null
* @see #parse(org.xml.sax.InputSource,org.xml.sax.helpers.DefaultHandler)
*/
- public void parse(InputSource is, HandlerBase hb)
+ public void parse(InputSource is, HandlerBase hb)
throws SAXException, IOException
{
if (is == null)
@@ -258,7 +258,7 @@ public abstract class SAXParser
* @param dh the SAX2 handler
* @exception IllegalArgumentException if the input source is null
*/
- public void parse(InputSource is, DefaultHandler dh)
+ public void parse(InputSource is, DefaultHandler dh)
throws SAXException, IOException
{
if (is == null)
@@ -299,14 +299,14 @@ public abstract class SAXParser
* @param name the name of the property
* @param value the value of the property
*/
- public abstract void setProperty(String name, Object value)
+ public abstract void setProperty(String name, Object value)
throws SAXNotRecognizedException, SAXNotSupportedException;
/**
* Returns the value of the specified SAX2 parser property.
* @param name the name of the property
*/
- public abstract Object getProperty(String name)
+ public abstract Object getProperty(String name)
throws SAXNotRecognizedException, SAXNotSupportedException;
// -- JAXP 1.3 methods --
@@ -336,5 +336,5 @@ public abstract class SAXParser
{
return false;
}
-
+
}
diff --git a/libjava/classpath/javax/xml/parsers/SAXParserFactory.java b/libjava/classpath/javax/xml/parsers/SAXParserFactory.java
index 9f8f7bafee9..13aca0f2b2c 100644
--- a/libjava/classpath/javax/xml/parsers/SAXParserFactory.java
+++ b/libjava/classpath/javax/xml/parsers/SAXParserFactory.java
@@ -1,4 +1,4 @@
-/* SAXParserFactory.java --
+/* SAXParserFactory.java --
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -216,8 +216,8 @@ public abstract class SAXParserFactory
* @param name the feature name
* @param value the featurevalue
*/
- public abstract void setFeature(String name, boolean value)
- throws ParserConfigurationException, SAXNotRecognizedException,
+ public abstract void setFeature(String name, boolean value)
+ throws ParserConfigurationException, SAXNotRecognizedException,
SAXNotSupportedException;
/**
@@ -225,8 +225,8 @@ public abstract class SAXParserFactory
* factory.
* @param name the feature name
*/
- public abstract boolean getFeature(String name)
- throws ParserConfigurationException, SAXNotRecognizedException,
+ public abstract boolean getFeature(String name)
+ throws ParserConfigurationException, SAXNotRecognizedException,
SAXNotSupportedException;
// -- JAXP 1.3 methods --
OpenPOWER on IntegriCloud