com.agilejava.docbkx.maven
类 InjectingEntityResolver
java.lang.Object
com.agilejava.docbkx.maven.InjectingEntityResolver
- 所有已实现的接口:
- EntityResolver
public class InjectingEntityResolver
- extends Object
- implements EntityResolver
An EntityResolver that will inject a couple of additional
general internal entities into the DTD resolved by underlying resolver.
- 作者:
- Wilfred Springer
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectingEntityResolver
public InjectingEntityResolver(List entities,
EntityResolver resolver,
String type,
org.apache.maven.plugin.logging.Log log)
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Returns the
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.
- 指定者:
- 接口
EntityResolver 中的 resolveEntity
- 参数:
publicId - The public identifier of the entity.systemId - The system identifier of the entity.
- 返回:
- An
InputSource producing the data required.
- 抛出:
SAXException
IOException
forceInjection
public void forceInjection()
- Forces the object to inject the entities.
Copyright © 2011. All Rights Reserved.