private ValueDescriptor < ? > getConfigChildNodes ( Xpp3Dom node , Store store ) { Xpp3Dom [ ] children = node . getChildren ( ) ; if ( children . length == 0 ) { PropertyDescriptor propertyDescriptor = store . create ( PropertyDescriptor . class ) ; propertyDescriptor . setName ( node . getName ( ) ) ; propertyDescriptor . setValue ( node . getValue ( ) ) ; return propertyDescriptor ; } ArrayValueDescriptor childDescriptor = store . create ( ArrayValueDescriptor . class ) ; childDescriptor . setName ( node . getName ( ) ) ; for ( Xpp3Dom child : children ) { childDescriptor . getValue ( ) . add ( getConfigChildNodes ( child , store ) ) ; } return childDescriptor ; }
Returns information about child config entries .