From: Erik V. <ev...@us...> - 2008-12-24 14:51:49
|
Update of /cvsroot/rails/18xx/rails/util In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2666/rails/util Modified Files: Tag.java Log Message: New method hasChild (String) Index: Tag.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/util/Tag.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Tag.java 11 Dec 2008 20:12:30 -0000 1.8 --- Tag.java 24 Dec 2008 14:51:39 -0000 1.9 *************** *** 79,82 **** --- 79,87 ---- } } + + public boolean hasChild (String tagName) throws ConfigurationException { + + return getChildren ("AllowsMultipleBasesOfOneCompany") != null; + } public String getText() throws ConfigurationException { |