Package com.thaiopensource.xml.em
Class EntityManager
- java.lang.Object
-
- com.thaiopensource.xml.em.EntityManager
-
- Direct Known Subclasses:
FileEntityManager,ResolverEntityManager,UriEntityManager
public abstract class EntityManager extends java.lang.ObjectThis class is used by the parser to access external entities.
-
-
Constructor Summary
Constructors Constructor Description EntityManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected OpenEntitydetectEncoding(java.io.InputStream input, java.lang.String systemId)abstract OpenEntityopen(ExternalId xid, boolean isParameterEntity, java.lang.String entityName)Opens an external entity with the specified external identifier.abstract OpenEntityopen(java.lang.String systemId)Open the top-level entity.
-
-
-
Method Detail
-
open
public abstract OpenEntity open(ExternalId xid, boolean isParameterEntity, java.lang.String entityName) throws java.io.IOException
Opens an external entity with the specified external identifier.- Throws:
java.io.IOException
-
open
public abstract OpenEntity open(java.lang.String systemId) throws java.io.IOException
Open the top-level entity.- Parameters:
systemId-- Returns:
- Throws:
java.io.IOException
-
detectEncoding
protected OpenEntity detectEncoding(java.io.InputStream input, java.lang.String systemId) throws java.io.IOException
- Throws:
java.io.IOException
-
-