public Object marshalRootElement ( ) { if ( justRoutes ) { RoutesDefinition routes = new RoutesDefinition ( ) ; routes . setRoutes ( contextElement . getRoutes ( ) ) ; return routes ; } else { return contextElement ; } }
Returns the root element to be marshalled as XML