abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r419345 - in /incubator/abdera/java/trunk: core/src/main/java/org/apache/abdera/parser/ core/src/main/java/org/apache/abdera/writer/ parser/src/main/java/org/apache/abdera/parser/stax/
Date Wed, 05 Jul 2006 21:16:58 GMT
Author: jmsnell
Date: Wed Jul  5 14:16:57 2006
New Revision: 419345

URL: http://svn.apache.org/viewvc?rev=419345&view=rev
Log:
change ParserFactory.INSTANCE.getInstance(...) to ParserFactory.INSTANCE.getParser(...)
change WriterFactory.INSTANCE.getInstance(...) to WriterFactory.INSTANCE.getWriter(...)

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/parser/ParserFactory.java
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/WriterFactory.java
    incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java
    incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMWriterFactory.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/parser/ParserFactory.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/parser/ParserFactory.java?rev=419345&r1=419344&r2=419345&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/parser/ParserFactory.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/parser/ParserFactory.java
Wed Jul  5 14:16:57 2006
@@ -26,8 +26,8 @@
     "org.apache.abdera.parser.ParserFactory",
     "org.apache.abdera.parser.stax.FOMParserFactory");
   
-  Parser getInstance();
+  Parser getParser();
   
-  Parser getInstance(String name); 
+  Parser getParser(String name); 
   
 }

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/WriterFactory.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/WriterFactory.java?rev=419345&r1=419344&r2=419345&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/WriterFactory.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/writer/WriterFactory.java
Wed Jul  5 14:16:57 2006
@@ -26,8 +26,8 @@
     "org.apache.abdera.writer.WriterFactory",
     "org.apache.abdera.parser.stax.FOMWriterFactory");
   
-  Writer getInstance();
+  Writer getWriter();
   
-  Writer getInstance(String name);
+  Writer getWriter(String name);
   
 }

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java?rev=419345&r1=419344&r2=419345&view=diff
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMParserFactory.java
Wed Jul  5 14:16:57 2006
@@ -29,13 +29,13 @@
 public class FOMParserFactory 
   implements ParserFactory {
 
-  public Parser getInstance() {
+  public Parser getParser() {
     return Parser.INSTANCE;
   }
 
-  public Parser getInstance(String name) {
+  public Parser getParser(String name) {
     return (name != null) ? 
-      loadParsers().get(name) : getInstance();
+      loadParsers().get(name) : getParser();
   }
 
   private static Map<String,NamedParser> parsers = null;

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMWriterFactory.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMWriterFactory.java?rev=419345&r1=419344&r2=419345&view=diff
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMWriterFactory.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMWriterFactory.java
Wed Jul  5 14:16:57 2006
@@ -29,13 +29,13 @@
 public class FOMWriterFactory 
   implements WriterFactory {
 
-  public Writer getInstance() {
+  public Writer getWriter() {
     return Writer.INSTANCE;
   }
 
-  public Writer getInstance(String name) {
+  public Writer getWriter(String name) {
     return (name != null) ? 
-      loadWriters().get(name) : getInstance();
+      loadWriters().get(name) : getWriter();
   }
 
   private static Map<String,NamedWriter> writers = null;



Mime
View raw message