java.lang.Object
org.apache.batik.bridge.NoLoadExternalResourceSecurity
- All Implemented Interfaces:
- ExternalResourceSecurity
- public class NoLoadExternalResourceSecurity
- extends java.lang.Object
- implements ExternalResourceSecurity
This implementation does not allow any external resources to be
referenced from an SVG document.
- Version:
- $Id: NoLoadExternalResourceSecurity.java,v 1.6 2004/08/18 07:12:32 vhardy Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_NO_EXTERNAL_RESOURCE_ALLOWED
public static final java.lang.String ERROR_NO_EXTERNAL_RESOURCE_ALLOWED
- Message when trying to load an external resource
- See Also:
- Constant Field Values
se
protected java.lang.SecurityException se
- The exception is built in the constructor and thrown if
not null and the checkLoadExternalResource method is called.
NoLoadExternalResourceSecurity
public NoLoadExternalResourceSecurity()
checkLoadExternalResource
public void checkLoadExternalResource()
- Controls whether the external resource should be loaded or not.
- Specified by:
checkLoadExternalResource in interface ExternalResourceSecurity