Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java @ 94:5332d956729c
Brought all line lengths of non Javadoc lines below 80.
artifacts/trunk@937 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 17 Apr 2010 10:28:43 +0000 |
parents | 73d0ebae81d7 |
children | 933bbc9fc11f |
comparison
equal
deleted
inserted
replaced
93:e27cf9c84eb8 | 94:5332d956729c |
---|---|
209 * @param query The XPath query | 209 * @param query The XPath query |
210 * @param returnTyp The type of the result. | 210 * @param returnTyp The type of the result. |
211 * @return The result of type 'returnTyp' or null if something | 211 * @return The result of type 'returnTyp' or null if something |
212 * went wrong during XPath evaluation. | 212 * went wrong during XPath evaluation. |
213 */ | 213 */ |
214 public static final Object xpath(Object root, String query, QName returnTyp) { | 214 public static final Object xpath( |
215 Object root, | |
216 String query, | |
217 QName returnTyp | |
218 ) { | |
215 return xpath(root, query, returnTyp, null); | 219 return xpath(root, query, returnTyp, null); |
216 } | 220 } |
217 | 221 |
218 /** | 222 /** |
219 * Evaluates an XPath query on a given object and returns the result | 223 * Evaluates an XPath query on a given object and returns the result |