FeatureType[] roots = schema.getRootFeatureTypes();
GraphvizDot.addRankDirLeftToRight( attribs ); GraphvizDot.startDiGraph( out, attribs ); FeatureType[] roots = schema.getRootFeatureTypes(); if ( roots != null && roots.length > 0 ) { String defaultRoot = null;
if ( schema.getRootFeatureTypes().length == 1 ) { writeLayer( visited, out, schema.getRootFeatureTypes()[0], storeId ); } else { out.writeCharacters( "\n" ); out.writeStartElement( ns, "UnrequestableLayer" ); XMLAdapter.writeElement( out, ns, "Title", "Root Layer" ); for ( FeatureType ft : schema.getRootFeatureTypes() ) { writeLayer( visited, out, ft, storeId );
throw new NullPointerException( "The feature store must have an application schema to work with." ); FeatureType[] rootFeatureTypes = schema.getRootFeatureTypes(); if ( rootFeatureTypes == null || rootFeatureTypes.length == 0 ) { throw new NullPointerException( "The application schema must have root feature types to work with." );