public InputSource resolveEntity ( String publicId , String systemId ) throws MalformedURLException , IOException { String resolvedURI = catologResolver . resolveSystem ( systemId ) ; if ( resolvedURI == null ) { resolvedURI = catologResolver . resolvePublic ( publicId , systemId ) ; } if ( resolvedURI != null ) { final InputSource is = new InputSource ( ) ; is . setPublicId ( publicId ) ; is . setSystemId ( systemId ) ; is . setByteStream ( this . loadResource ( resolvedURI ) ) ; this . isLastEntityResolved = true ; return is ; } else { //resource could�t be resloved this . isLastEntityResolved = false ; return null ; } }
Tries to resolve the entity using the thread specific catolog resolvers