question: public Object parseXMLObject ( XMLObject xo ) throws XMLParseException { PatternList patternList = ( PatternList ) xo . getChild ( 0 ) ; Patterns patterns = new Patterns ( patternList ) ; for ( int i = 1 ; i < xo . getChildCount ( ) ; i ++ ) { patterns . addPatterns ( ( PatternList ) xo . getChild ( i ) ) ; } if ( xo . hasAttribute ( XMLParser . ID ) ) { final Logger logger = Logger . getLogger ( "dr.evoxml" ) ; logger . info ( "Site patterns '" + xo . getId ( ) + "' created by merging " + xo . getChildCount ( ) + " pattern lists" ) ; logger . info ( "  pattern count = " + patterns . getPatternCount ( ) ) ; } return patterns ; }
target:  Parses a patterns element and returns a patterns object.