Author: markt
Date: Wed Sep 8 05:43:39 2010
New Revision: 993608
URL: http://svn.apache.org/viewvc?rev=993608&view=rev
Log:
Remove unused attributes. This all moved to Context.
Modified:
tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
Modified: tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java?rev=993608&r1=993607&r2=993608&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/HostConfig.java Wed Sep 8
05:43:39 2010
@@ -152,18 +152,6 @@ public class HostConfig
/**
- * Attribute value used to turn on/off XML validation
- */
- protected boolean xmlValidation = false;
-
-
- /**
- * Attribute value used to turn on/off XML namespace awareness.
- */
- protected boolean xmlNamespaceAware = false;
-
-
- /**
* The <code>Digester</code> instance used to parse context descriptors.
*/
protected static Digester digester = createDigester();
@@ -287,44 +275,6 @@ public class HostConfig
}
- /**
- * Set the validation feature of the XML parser used when
- * parsing xml instances.
- * @param xmlValidation true to enable xml instance validation
- */
- public void setXmlValidation(boolean xmlValidation){
- this.xmlValidation = xmlValidation;
- }
-
- /**
- * Get the server.xml <host> attribute's xmlValidation.
- * @return true if validation is enabled.
- *
- */
- public boolean getXmlValidation(){
- return xmlValidation;
- }
-
- /**
- * Get the server.xml <host> attribute's xmlNamespaceAware.
- * @return true if namespace awareness is enabled.
- *
- */
- public boolean getXmlNamespaceAware(){
- return xmlNamespaceAware;
- }
-
-
- /**
- * Set the namespace-aware feature of the XML parser used when
- * parsing xml instances.
- * @param xmlNamespaceAware true to enable namespace awareness
- */
- public void setXmlNamespaceAware(boolean xmlNamespaceAware){
- this.xmlNamespaceAware=xmlNamespaceAware;
- }
-
-
// --------------------------------------------------------- Public Methods
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]