antonio 2004/03/01 22:52:49
Modified: src/blocks/woody/java/org/apache/cocoon/woody/util
DomHelper.java
Log:
Add comment
Revision Changes Path
1.14 +6 -1
cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/DomHelper.java
Index: DomHelper.java
===================================================================
RCS file:
/home/cvs//cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/util/DomHelper.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- DomHelper.java 29 Feb 2004 09:21:33 -0000 1.13
+++ DomHelper.java 2 Mar 2004 06:52:49 -0000 1.14
@@ -196,6 +196,11 @@
return node;
}
+ /**
+ * Returns the first child element with the given namespace and
localName,
+ * or null if there is no such element and required flag is unset or
+ * throws an Exception if the "required" flag is set.
+ */
public static Element getChildElement(Element element, String namespace,
String localName, boolean required) throws Exception {
NodeList nodeList = element.getChildNodes();