|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.agilejava.docbkx.maven.InjectingEntityResolver
public class InjectingEntityResolver
An EntityResolver that will inject a couple of additional general internal
entities into the DTD resolved by underlying resolver.
| Nested Class Summary | |
|---|---|
class |
InjectingEntityResolver.ReplacementInputSource
The InputSource that will replace the first InputSource
retrieved, containig XML entity declarations for all entities defined in the POM. |
| Constructor Summary | |
|---|---|
InjectingEntityResolver(List entities,
EntityResolver resolver,
String type,
org.apache.maven.plugin.logging.Log log)
Creates a new InjectingEntityResolver object. |
|
| Method Summary | |
|---|---|
void |
forceInjection()
Forces the object to inject the entities. |
InputSource |
resolveEntity(String publicId,
String systemId)
Returns the InputSource containing the external entity's data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InjectingEntityResolver(List entities,
EntityResolver resolver,
String type,
org.apache.maven.plugin.logging.Log log)
entities - DOCUMENT ME!resolver - DOCUMENT ME!type - DOCUMENT ME!log - DOCUMENT ME!| Method Detail |
|---|
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
InputSource containing the external entity's data. This
implementation will normally return an InputSource that contains all additional
entities defined, including a reference to the InputSource that was originally
requested. TODO Figure out if this works with all parsers. There might be a couple of cases
in which we would need to perform some additional work.
resolveEntity in interface EntityResolverpublicId - The public identifier of the entity.systemId - The system identifier of the entity.
InputSource producing the data required.
SAXException - DOCUMENT ME!
IOException - DOCUMENT ME!public void forceInjection()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||