|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.xml.CustomEntityResolver
public class CustomEntityResolver
entity resolver that tries to locate a document type definition (DTD) using a set of custom entity resolvers
| Nested Class Summary | |
|---|---|
static class |
CustomEntityResolver.EntityKey
key for entity consists of id + url |
static interface |
CustomEntityResolver.EntityLocator
entity locator manages locating an entity |
static class |
CustomEntityResolver.ServletApiEntityLocator
entity locator for resources inside servlet-api.jar |
| Constructor Summary | |
|---|---|
CustomEntityResolver()
|
|
| Method Summary | |
|---|---|
static CustomEntityResolver |
getPreloaded()
get default instances of custom entity resolver with preloaded well-known entities |
void |
put(CustomEntityResolver.EntityKey key,
CustomEntityResolver.EntityLocator locator)
add custom entity resolver |
InputSource |
resolveEntity(String id,
String url)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomEntityResolver()
| Method Detail |
|---|
public static CustomEntityResolver getPreloaded()
public void put(CustomEntityResolver.EntityKey key,
CustomEntityResolver.EntityLocator locator)
key - key for lookup (contains id and url)locator - locator for looking up entity
public InputSource resolveEntity(String id,
String url)
throws SAXException,
IOException
resolveEntity in interface EntityResolverSAXException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||