You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-cvs@xml.apache.org by mr...@apache.org on 2006/04/16 18:37:58 UTC
svn commit: r394505 - in /xml/commons/trunk/java/external/src/javax/xml:
parsers/ transform/ validation/ xpath/
Author: mrglavas
Date: Sun Apr 16 09:37:57 2006
New Revision: 394505
URL: http://svn.apache.org/viewcvs?rev=394505&view=rev
Log:
Clean-up imports, unused fields and dead code.
Modified:
xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java
xml/commons/trunk/java/external/src/javax/xml/parsers/SAXParserFactory.java
xml/commons/trunk/java/external/src/javax/xml/parsers/SecuritySupport.java
xml/commons/trunk/java/external/src/javax/xml/transform/SecuritySupport.java
xml/commons/trunk/java/external/src/javax/xml/validation/SecuritySupport.java
xml/commons/trunk/java/external/src/javax/xml/xpath/SecuritySupport.java
Modified: xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java
URL: http://svn.apache.org/viewcvs/xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java?rev=394505&r1=394504&r2=394505&view=diff
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/parsers/DocumentBuilderFactory.java Sun Apr 16 09:37:57 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2004 The Apache Software Foundation.
+ * Copyright 2003-2004,2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,9 +29,6 @@
*/
public abstract class DocumentBuilderFactory {
-
- /** The default property name according to the JAXP spec */
- private static final String DEFAULT_PROPERTY_NAME = "javax.xml.parsers.DocumentBuilderFactory";
private boolean validating = false;
private boolean namespaceAware = false;
@@ -40,8 +37,6 @@
private boolean ignoreComments = false;
private boolean coalescing = false;
- private boolean canonicalState = false;
-
protected DocumentBuilderFactory () {
}
@@ -386,18 +381,6 @@
*/
public abstract boolean getFeature(String name)
throws ParserConfigurationException;
-
-
- /** <p>Get current state of canonicalization.</p>
- *
- * @return current state canonicalization control
- */
- /*
- public boolean getCanonicalization() {
- return canonicalState;
- }
- */
-
/**
* Gets the {@link Schema} object specified through
@@ -428,17 +411,6 @@
}
- /* <p>Set canonicalization control to <code>true</code> or
- * </code>false</code>.</p>
- *
- * @param state of canonicalization
- */
- /*
- public void setCanonicalization(boolean state) {
- canonicalState = state;
- }
- */
-
/**
* <p>Set the {@link Schema} to be used by parsers created
* from this factory.
@@ -503,8 +475,6 @@
+ "\""
);
}
-
-
/**
* <p>Set state of XInclude processing.</p>
Modified: xml/commons/trunk/java/external/src/javax/xml/parsers/SAXParserFactory.java
URL: http://svn.apache.org/viewcvs/xml/commons/trunk/java/external/src/javax/xml/parsers/SAXParserFactory.java?rev=394505&r1=394504&r2=394505&view=diff
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/parsers/SAXParserFactory.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/parsers/SAXParserFactory.java Sun Apr 16 09:37:57 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2004 The Apache Software Foundation.
+ * Copyright 2003-2004,2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,8 +32,6 @@
* @version $Revision$, $Date$
*/
public abstract class SAXParserFactory {
- /** The default property name according to the JAXP spec */
- private static final String DEFAULT_PROPERTY_NAME = "javax.xml.parsers.SAXParserFactory";
/**
* <p>Should Parsers be validating?</p>
@@ -265,18 +263,6 @@
public abstract boolean getFeature(String name)
throws ParserConfigurationException, SAXNotRecognizedException,
SAXNotSupportedException;
-
-
-
- /* <p>Get current state of canonicalization.</p>
- *
- * @return current state canonicalization control
- */
- /*
- public boolean getCanonicalization() {
- return canonicalState;
- }
- */
/**
* Gets the {@link Schema} object specified through
@@ -305,17 +291,6 @@
+ "\""
);
}
-
- /** <p>Set canonicalization control to <code>true</code> or
- * </code>false</code>.</p>
- *
- * @param state of canonicalization
- */
- /*
- public void setCanonicalization(boolean state) {
- canonicalState = state;
- }
- */
/**
* <p>Set the {@link Schema} to be used by parsers created
Modified: xml/commons/trunk/java/external/src/javax/xml/parsers/SecuritySupport.java
URL: http://svn.apache.org/viewcvs/xml/commons/trunk/java/external/src/javax/xml/parsers/SecuritySupport.java?rev=394505&r1=394504&r2=394505&view=diff
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/parsers/SecuritySupport.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/parsers/SecuritySupport.java Sun Apr 16 09:37:57 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2004 The Apache Software Foundation.
+ * Copyright 2003-2004,2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,10 +18,14 @@
package javax.xml.parsers;
-import java.security.*;
-import java.net.*;
-import java.io.*;
-import java.util.*;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.InputStream;
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
/**
* This class is duplicated for each JAXP subpackage so keep it in sync.
Modified: xml/commons/trunk/java/external/src/javax/xml/transform/SecuritySupport.java
URL: http://svn.apache.org/viewcvs/xml/commons/trunk/java/external/src/javax/xml/transform/SecuritySupport.java?rev=394505&r1=394504&r2=394505&view=diff
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/transform/SecuritySupport.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/transform/SecuritySupport.java Sun Apr 16 09:37:57 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2004 The Apache Software Foundation.
+ * Copyright 2003-2004,2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,10 +18,14 @@
package javax.xml.transform;
-import java.security.*;
-import java.net.*;
-import java.io.*;
-import java.util.*;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.InputStream;
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
/**
* This class is duplicated for each JAXP subpackage so keep it in sync.
Modified: xml/commons/trunk/java/external/src/javax/xml/validation/SecuritySupport.java
URL: http://svn.apache.org/viewcvs/xml/commons/trunk/java/external/src/javax/xml/validation/SecuritySupport.java?rev=394505&r1=394504&r2=394505&view=diff
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/validation/SecuritySupport.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/validation/SecuritySupport.java Sun Apr 16 09:37:57 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2004 The Apache Software Foundation.
+ * Copyright 2003-2004,2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,12 +17,17 @@
package javax.xml.validation;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
import java.io.IOException;
+import java.io.InputStream;
import java.net.URL;
-import java.security.*;
-import java.net.*;
-import java.io.*;
-import java.util.*;
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
+import java.util.Enumeration;
/**
* This class is duplicated for each JAXP subpackage so keep it in sync.
Modified: xml/commons/trunk/java/external/src/javax/xml/xpath/SecuritySupport.java
URL: http://svn.apache.org/viewcvs/xml/commons/trunk/java/external/src/javax/xml/xpath/SecuritySupport.java?rev=394505&r1=394504&r2=394505&view=diff
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/xpath/SecuritySupport.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/xpath/SecuritySupport.java Sun Apr 16 09:37:57 2006
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2004 The Apache Software Foundation.
+ * Copyright 2003-2004,2006 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,11 +17,17 @@
package javax.xml.xpath;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStream;
import java.net.URL;
-import java.security.*;
-import java.net.*;
-import java.io.*;
-import java.util.*;
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
+import java.util.Enumeration;
/**
* This class is duplicated for each JAXP subpackage so keep it in sync.