|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.bridge.NoLoadExternalResourceSecurity
public class NoLoadExternalResourceSecurity
This implementation does not allow any external resources to be referenced from an SVG document.
| Field Summary | |
|---|---|
static java.lang.String |
ERROR_NO_EXTERNAL_RESOURCE_ALLOWED
Message when trying to load an external resource |
protected java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ERROR_NO_EXTERNAL_RESOURCE_ALLOWED
protected java.lang.SecurityException se
| Constructor Detail |
|---|
public NoLoadExternalResourceSecurity()
| Method Detail |
|---|
public void checkLoadExternalResource()
checkLoadExternalResource in interface ExternalResourceSecurityjava.lang.SecurityException - if the externalResource should not be loaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||