public abstract class DTDSubset extends Object implements org.codehaus.stax2.validation.DTDValidationSchema
XMLValidationSchema, as well
as specifies extended Woodstox-specific interface for accessing
DTD-specific things like entity expansions and notation properties.
API is separated from its implementation to reduce coupling; for example, it is possible to have DTD subset implementations that do not implement validation logics, just entity expansion.
| Modifier | Constructor and Description |
|---|---|
protected |
DTDSubset() |
| Modifier and Type | Method and Description |
|---|---|
abstract DTDSubset |
combineWithExternalSubset(InputProblemReporter rep,
DTDSubset extSubset)
Method that will combine definitions from this internal subset with
definitions from passed-in external subset, producing a new combined
DTDSubset instance.
|
abstract org.codehaus.stax2.validation.XMLValidator |
createValidator(org.codehaus.stax2.validation.ValidationContext ctxt) |
abstract HashMap<PrefixedName,DTDElement> |
getElementMap() |
abstract int |
getEntityCount() |
abstract List<EntityDecl> |
getGeneralEntityList() |
abstract HashMap<String,EntityDecl> |
getGeneralEntityMap() |
abstract int |
getNotationCount() |
abstract List<NotationDeclaration> |
getNotationList() |
abstract HashMap<String,NotationDeclaration> |
getNotationMap() |
abstract HashMap<String,EntityDecl> |
getParameterEntityMap() |
String |
getSchemaType() |
abstract boolean |
isCachable() |
abstract boolean |
isReusableWith(DTDSubset intSubset)
Method used in determining whether cached external subset instance
can be used with specified internal subset.
|
public abstract DTDSubset combineWithExternalSubset(InputProblemReporter rep, DTDSubset extSubset) throws XMLStreamException
XMLStreamExceptionpublic abstract org.codehaus.stax2.validation.XMLValidator createValidator(org.codehaus.stax2.validation.ValidationContext ctxt)
throws XMLStreamException
createValidator in interface org.codehaus.stax2.validation.XMLValidationSchemaXMLStreamExceptionpublic String getSchemaType()
getSchemaType in interface org.codehaus.stax2.validation.XMLValidationSchemapublic abstract int getEntityCount()
getEntityCount in interface org.codehaus.stax2.validation.DTDValidationSchemapublic abstract int getNotationCount()
getNotationCount in interface org.codehaus.stax2.validation.DTDValidationSchemapublic abstract boolean isCachable()
public abstract boolean isReusableWith(DTDSubset intSubset)
public abstract HashMap<String,EntityDecl> getGeneralEntityMap()
public abstract List<EntityDecl> getGeneralEntityList()
public abstract HashMap<String,EntityDecl> getParameterEntityMap()
public abstract HashMap<String,NotationDeclaration> getNotationMap()
public abstract List<NotationDeclaration> getNotationList()
public abstract HashMap<PrefixedName,DTDElement> getElementMap()
Copyright © 2020 FasterXML. All rights reserved.