jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r157950 - incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/NodeTypeFormatter.java
Date Thu, 17 Mar 2005 17:56:48 GMT
Author: jukka
Date: Thu Mar 17 09:56:47 2005
New Revision: 157950

URL: http://svn.apache.org/viewcvs?view=rev&rev=157950
Log:
Cleanups in nodetype XML handling (JCR-54)
 - Removed unused import statements
 - Added class Javadocs to NodeTypeFormatter

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/NodeTypeFormatter.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/NodeTypeFormatter.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/NodeTypeFormatter.java?view=diff&r1=157949&r2=157950
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/NodeTypeFormatter.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/NodeTypeFormatter.java
Thu Mar 17 09:56:47 2005
@@ -20,9 +20,7 @@
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.util.Collection;
-import java.util.HashSet;
 import java.util.Iterator;
-import java.util.Set;
 import java.util.Vector;
 
 import javax.jcr.NamespaceRegistry;
@@ -47,7 +45,15 @@
 import org.w3c.dom.NodeList;
 
 /**
- * TODO
+ * Facade class for reading and writing node type definition files.
+ * A NodeTypeFormatter instance uses a simple XML transformer instance
+ * to convert XML between DOM and stream representations. The task
+ * of actually interpreting the XML elements is delegated to the
+ * package-local Format classes.
+ * <p>
+ * This class (and through it the entire .xml subpackage) is used only by the
+ * {@link org.apache.jackrabbit.core.nodetype.NodeTypeDefStore NodeTypeDefStore}
+ * class. 
  */
 public class NodeTypeFormatter {
 



Mime
View raw message