com.ctc.wstx.dtd
Class DTDSubset
java.lang.Object
com.ctc.wstx.dtd.DTDSubset
- Direct Known Subclasses:
- DTDSubsetImpl
- public abstract class DTDSubset
- extends java.lang.Object
This is the abstract base class that defines API for Objects that contain
specification read from DTDs (internal and external subsets).
API is separated from its implementations so that different XML reader
subsets can be created; specifically ones with no DTD processing
functionality.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTDSubset
protected DTDSubset()
combineWithExternalSubset
public abstract DTDSubset combineWithExternalSubset(InputProblemReporter rep,
DTDSubset extSubset)
throws WstxException
- Method that will combine definitions from this internal subset with
definitions from passed-in external subset, producing a new combined
DTDSubset instance.
- Throws:
WstxException
isCachable
public abstract boolean isCachable()
getGeneralEntityMap
public abstract java.util.HashMap getGeneralEntityMap()
getGeneralEntityList
public abstract java.util.List getGeneralEntityList()
getParameterEntityMap
public abstract java.util.HashMap getParameterEntityMap()
getNotationMap
public abstract java.util.HashMap getNotationMap()
getNotationList
public abstract java.util.List getNotationList()
getElementMap
public abstract java.util.HashMap getElementMap()
isReusableWith
public abstract boolean isReusableWith(DTDSubset intSubset)
- Method used in determining whether cached external subset instance
can be used with specified internal subset. If ext. subset references
any parameter entities int subset (re-)defines, it can not; otherwise
it can be used.
- Returns:
- True if this (external) subset refers to a parameter entity
defined in passed-in internal subset.