You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by aj...@apache.org on 2006/04/24 11:26:02 UTC

svn commit: r396489 - /webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java

Author: ajith
Date: Mon Apr 24 02:26:00 2006
New Revision: 396489

URL: http://svn.apache.org/viewcvs?rev=396489&view=rev
Log:
Changed the access modifier to protected for the default resolver. This makes it easy to extend this

Modified:
    webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java

Modified: webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java?rev=396489&r1=396488&r2=396489&view=diff
==============================================================================
--- webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java (original)
+++ webservices/commons/trunk/modules/XmlSchema/src/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java Mon Apr 24 02:26:00 2006
@@ -68,7 +68,7 @@
      * @param uri
      * @return boolean
      */
-    private boolean isAbsolute(String uri) {
+    protected boolean isAbsolute(String uri) {
         return uri.startsWith("http://");
     }
 
@@ -82,7 +82,7 @@
      * @return
      * @throws java.io.IOException
      */
-    private URL getURL(URL contextURL, String spec) throws IOException {
+    protected URL getURL(URL contextURL, String spec) throws IOException {
 
         // First, fix the slashes as windows filenames may have backslashes
         // in them, but the URL class wont do the right thing when we later
@@ -123,7 +123,7 @@
      * @return
      * @throws IOException
      */
-    private URL getFileURL(URL contextURL, String path)
+    protected URL getFileURL(URL contextURL, String path)
             throws IOException {
 
         if (contextURL != null) {