public List < String > getNamespaces ( ) { List < String > namespaceList = new ArrayList < String > ( ) ; java . util . Map < String , String > attributes = model . getAttributes ( ) ; for ( Entry < String , String > e : attributes . entrySet ( ) ) { final String name = e . getKey ( ) ; final String value = e . getValue ( ) ; if ( value != null && value . startsWith ( "http://" ) ) { namespaceList . add ( name + "=" + value ) ; } } return namespaceList ; }
Returns all defined namespaces .