Module io.sf.carte.echosvg.bridge
Package io.sf.carte.echosvg.bridge
Class RelaxedExternalResourceSecurity
java.lang.Object
io.sf.carte.echosvg.bridge.RelaxedExternalResourceSecurity
- All Implemented Interfaces:
- ExternalResourceSecurity
This implementation of 
ExternalResourceSecurity allows any
 external references.- 
Constructor SummaryConstructorsConstructorDescriptionRelaxedExternalResourceSecurity(ParsedURL externalResourceURL, ParsedURL docURL) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidControls whether the externalResource should be loaded or not.
- 
Constructor Details- 
RelaxedExternalResourceSecurity- Parameters:
- externalResourceURL- url for the externalResource, as defined in the externalResource's xlink:href attribute. If that attribute was empty, then this parameter should be null
- docURL- url for the document into which the externalResource was found.
 
 
- 
- 
Method Details- 
checkLoadExternalResourcepublic void checkLoadExternalResource()Controls whether the externalResource should be loaded or not.- Specified by:
- checkLoadExternalResourcein interface- ExternalResourceSecurity
- Throws:
- SecurityException- if the externalResource should not be loaded.
 
 
-