org.apache.batik.bridge
Class RelaxedExternalResourceSecurity
java.lang.Object
org.apache.batik.bridge.RelaxedExternalResourceSecurity
- All Implemented Interfaces:
- ExternalResourceSecurity
public class RelaxedExternalResourceSecurity
- extends Object
- implements ExternalResourceSecurity
This implementation of ExternalResourceSecurity allows any
external references.
- Version:
- $Id: RelaxedExternalResourceSecurity.java 1733416 2016-03-03 07:07:13Z gadams $
- Author:
- Vincent Hardy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelaxedExternalResourceSecurity
public RelaxedExternalResourceSecurity(ParsedURL externalResourceURL,
ParsedURL docURL)
- 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 nulldocURL - url for the document into which the
externalResource was found.
checkLoadExternalResource
public void checkLoadExternalResource()
- Controls whether the externalResource should be loaded or not.
- Specified by:
checkLoadExternalResource in interface ExternalResourceSecurity
- Throws:
SecurityException - if the externalResource should not be loaded.
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.