Revision: 1496
http://stripes.svn.sourceforge.net/stripes/?rev=1496&view=rev
Author: bengunter
Date: 2012-05-18 02:56:30 +0000 (Fri, 18 May 2012)
Log Message:
-----------
Cleaned up a few problems in Javadocs.
Modified Paths:
--------------
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/HtmlTagSupport.java
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/PageOptionsTag.java
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutRenderTagPath.java
Modified:
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/HtmlTagSupport.java
===================================================================
--- branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/HtmlTagSupport.java
2012-05-17 21:35:25 UTC (rev 1495)
+++ branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/HtmlTagSupport.java
2012-05-18 02:56:30 UTC (rev 1496)
@@ -121,7 +121,7 @@
* Returns true if HTML tags that have no body should be closed like XML
tags, with "/>".
* False if such HTML tags should be closed in the style of HTML4, with
just a ">".
*
- * @see PageOptionsTag#getHtmlMode()
+ * @see PageOptionsTag#setHtmlMode(String)
*/
protected boolean isXmlTags() {
return
!"html".equalsIgnoreCase(PageOptionsTag.getHtmlMode(pageContext));
Modified:
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/PageOptionsTag.java
===================================================================
--- branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/PageOptionsTag.java
2012-05-17 21:35:25 UTC (rev 1495)
+++ branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/PageOptionsTag.java
2012-05-18 02:56:30 UTC (rev 1496)
@@ -64,8 +64,8 @@
/**
* Get the HTML mode for the given page context. If the request attribute
- * {@value #REQ_ATTR_HTML_MODE} is present then use that value. Otherwise,
use the global
- * configuration property {@value #CFG_KEY_HTML_MODE}.
+ * {@link #REQ_ATTR_HTML_MODE} is present then use that value. Otherwise,
use the global
+ * configuration property {@link #CFG_KEY_HTML_MODE}.
*/
public static String getHtmlMode(PageContext pageContext) {
String htmlMode = (String) pageContext.getAttribute(REQ_ATTR_HTML_MODE,
Modified:
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutRenderTagPath.java
===================================================================
---
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutRenderTagPath.java
2012-05-17 21:35:25 UTC (rev 1495)
+++
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutRenderTagPath.java
2012-05-18 02:56:30 UTC (rev 1496)
@@ -91,7 +91,6 @@
* can execute. That is, this tag is a parent of the current component.
*
* @param tag The tag to check to see if it is part of this path.
- * @throws StripesJspException if thrown by {@link #getContext()}.
*/
public boolean isPathComponent(LayoutComponentTag tag) throws
StripesJspException {
List<String> path = getComponentPath();
@@ -99,16 +98,15 @@
}
/**
- * Recursive method called from {@link #isPathComponent()} that returns
true if the specified
- * tag's name is present in the component path iterator at the same
position where this tag
- * occurs in the render/component tag tree. For example, if the path
iterator contains the
- * component names {@code ["foo", "bar"]} then this method will return
true if the tag's name is
- * {@code "bar"} and it is a child of a render tag that is a child of a
component tag whose name
- * is {@code "foo"}.
+ * Recursive method called from {@link
#isPathComponent(LayoutComponentTag)} that returns true
+ * if the specified tag's name is present in the component path iterator
at the same position
+ * where this tag occurs in the render/component tag tree. For example, if
the path iterator
+ * contains the component names {@code ["foo", "bar"]} then this method
will return true if the
+ * tag's name is {@code "bar"} and it is a child of a render tag that is a
child of a component
+ * tag whose name is {@code "foo"}.
*
* @param tag The tag to check
* @param path The path to the check the tag against
- * @return
*/
protected boolean isPathComponent(LayoutComponentTag tag, Iterator<String>
path) {
LayoutTag parent = tag.getLayoutParent();
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development