public String resolveDocument ( ) throws MalformedURLException , IOException { // If there's a DOCUMENT entry, return it catalogManager . debug . message ( 3 , "resolveDocument" ) ; Enumeration enumt = catalogEntries . elements ( ) ; while ( enumt . hasMoreElements ( ) ) { CatalogEntry e = ( CatalogEntry ) enumt . nextElement ( ) ; if ( e . getEntryType ( ) == DOCUMENT ) { return e . getEntryArg ( 1 ) ; //FIXME check this } } return resolveSubordinateCatalogs ( DOCUMENT , null , null , null ) ; }
Return the applicable DOCUMENT entry .