You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/11/22 11:33:14 UTC
svn commit: r1544469 - in /tomcat/tc7.0.x/trunk: ./
java/org/apache/catalina/Context.java
Author: markt
Date: Fri Nov 22 10:33:14 2013
New Revision: 1544469
URL: http://svn.apache.org/r1544469
Log:
Better Javadoc
Modified:
tomcat/tc7.0.x/trunk/ (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java
Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1544453
Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java?rev=1544469&r1=1544468&r2=1544469&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/Context.java Fri Nov 22 10:33:14 2013
@@ -617,70 +617,76 @@ public interface Context extends Contain
/**
- * Get the server.xml <context> attribute's xmlNamespaceAware.
- * @return true if namespace awareness is enabled.
+ * Will the parsing of web.xml and web-fragment.xml files for this Context
+ * be performed by a namespace aware parser?
*
+ * @return true if namespace awareness is enabled.
*/
public boolean getXmlNamespaceAware();
+
+ /**
+ * Controls whether the parsing of web.xml and web-fragment.xml files for
+ * this Context will be performed by a namespace aware parser.
+ *
+ * @param xmlNamespaceAware true to enable namespace awareness
+ */
+ public void setXmlNamespaceAware(boolean xmlNamespaceAware);
+
/**
- * Get the server.xml <context> attribute's xmlValidation.
- * @return true if validation is enabled.
+ * Will the parsing of web.xml and web-fragment.xml files for this Context
+ * be performed by a validating parser?
*
+ * @return true if validation is enabled.
*/
public boolean getXmlValidation();
/**
- * Set the validation feature of the XML parser used when
- * parsing xml instances.
- * @param xmlValidation true to enable xml instance validation
+ * Controls whether the parsing of web.xml and web-fragment.xml files
+ * for this Context will be performed by a validating parser.
+ *
+ * @param xmlValidation true to enable xml validation
*/
public void setXmlValidation(boolean xmlValidation);
- /**
- * 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);
/**
- * Get the server.xml <context> attribute's xmlValidation.
- * @return true if validation is enabled.
+ * Will the parsing of *.tld files for this Context be performed by a
+ * namespace aware parser?
+ *
+ * @return true if namespace awareness is enabled.
*/
+ public boolean getTldNamespaceAware();
/**
- * Set the validation feature of the XML parser used when
- * parsing tlds files.
- * @param tldValidation true to enable xml instance validation
+ * Controls whether the parsing of *.tld files for this Context will be
+ * performed by a namespace aware parser.
+ *
+ * @param tldNamespaceAware true to enable namespace awareness
*/
- public void setTldValidation(boolean tldValidation);
+ public void setTldNamespaceAware(boolean tldNamespaceAware);
/**
- * Get the server.xml <context> attribute's webXmlValidation.
- * @return true if validation is enabled.
+ * Will the parsing of *.tld files for this Context be performed by a
+ * validating parser?
*
+ * @return true if validation is enabled.
*/
public boolean getTldValidation();
/**
- * Get the server.xml <host> attribute's xmlNamespaceAware.
- * @return true if namespace awareness is enabled.
+ * Controls whether the parsing of *.tld files for this Context will be
+ * performed by a validating parser.
+ *
+ * @param tldValidation true to enable xml validation
*/
- public boolean getTldNamespaceAware();
-
+ public void setTldValidation(boolean tldValidation);
- /**
- * Set the namespace aware feature of the XML parser used when
- * parsing xml instances.
- * @param tldNamespaceAware true to enable namespace awareness
- */
- public void setTldNamespaceAware(boolean tldNamespaceAware);
/**
* Get the Jar Scanner to be used to scan for JAR resources for this
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org