portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r377516 - /portals/jetspeed-2/trunk/components/rewriter/src/java/org/apache/jetspeed/rewriter/JetspeedRewriterController.java
Date Mon, 13 Feb 2006 22:37:28 GMT
Author: taylor
Date: Mon Feb 13 14:37:27 2006
New Revision: 377516

URL: http://svn.apache.org/viewcvs?rev=377516&view=rev
Log:
make this a little more extensible

Modified:
    portals/jetspeed-2/trunk/components/rewriter/src/java/org/apache/jetspeed/rewriter/JetspeedRewriterController.java

Modified: portals/jetspeed-2/trunk/components/rewriter/src/java/org/apache/jetspeed/rewriter/JetspeedRewriterController.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/rewriter/src/java/org/apache/jetspeed/rewriter/JetspeedRewriterController.java?rev=377516&r1=377515&r2=377516&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/rewriter/src/java/org/apache/jetspeed/rewriter/JetspeedRewriterController.java
(original)
+++ portals/jetspeed-2/trunk/components/rewriter/src/java/org/apache/jetspeed/rewriter/JetspeedRewriterController.java
Mon Feb 13 14:37:27 2006
@@ -53,23 +53,23 @@
     final static String CONFIG_ADAPTOR_XML = "adaptor.xml";
 
     // configuration parameters
-    private String mappingFile = null;
+    protected String mappingFile = null;
 
     /** the Castor mapping file name */
-    private Mapping mapper = null;
+    protected Mapping mapper = null;
 
     /** Collection of rulesets in the system */
-    private Map rulesets = new HashMap();
+    protected Map rulesets = new HashMap();
 
     /** configured basic rewriter class */
-    private Class basicRewriterClass = BasicRewriter.class;
+    protected Class basicRewriterClass = BasicRewriter.class;
 
     /** configured ruleset rewriter class */
-    private Class rulesetRewriterClass = RulesetRewriterImpl.class;
+    protected Class rulesetRewriterClass = RulesetRewriterImpl.class;
 
     /** Adaptors */
-    private Class adaptorHtmlClass = SwingParserAdaptor.class;
-    private Class adaptorXmlClass = SaxParserAdaptor.class;
+    protected Class adaptorHtmlClass = SwingParserAdaptor.class;
+    protected Class adaptorXmlClass = SaxParserAdaptor.class;
 
     public JetspeedRewriterController( String mappingFile ) throws RewriterException
     {
@@ -163,7 +163,7 @@
      * Load the mapping file for ruleset configuration
      *  
      */
-    private void loadMapping() throws RewriterException
+    protected void loadMapping() throws RewriterException
     {
         File map = new File(this.mappingFile);
         if (map.exists() && map.isFile() && map.canRead())



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message