org.apache.batik.bridge
public class NoLoadExternalResourceSecurity extends Object implements ExternalResourceSecurity
Field Summary | |
---|---|
static String | ERROR_NO_EXTERNAL_RESOURCE_ALLOWED
Message when trying to load an external resource |
protected SecurityException | se
The exception is built in the constructor and thrown if
not null and the checkLoadExternalResource method is called. |
Constructor Summary | |
---|---|
NoLoadExternalResourceSecurity() |
Method Summary | |
---|---|
void | checkLoadExternalResource()
Controls whether the external resource should be loaded or not.
|
Throws: SecurityException if the externalResource should not be loaded.