Modifier and Type | Method and Description |
---|---|
DTDSubset |
combineWithExternalSubset(InputProblemReporter rep,
DTDSubset extSubset)
Method that will combine definitions from internal and external subsets,
producing a single DTD set.
|
static DTDSubsetImpl |
constructInstance(boolean cachable,
HashMap<String,EntityDecl> genEnt,
Set<String> refdGEs,
HashMap<String,EntityDecl> paramEnt,
Set<String> refdPEs,
HashMap<String,NotationDeclaration> notations,
HashMap<PrefixedName,DTDElement> elements,
boolean fullyValidating) |
org.codehaus.stax2.validation.XMLValidator |
createValidator(org.codehaus.stax2.validation.ValidationContext ctxt) |
HashMap<PrefixedName,DTDElement> |
getElementMap() |
int |
getEntityCount() |
List<EntityDecl> |
getGeneralEntityList() |
HashMap<String,EntityDecl> |
getGeneralEntityMap() |
int |
getNotationCount() |
List<NotationDeclaration> |
getNotationList() |
HashMap<String,NotationDeclaration> |
getNotationMap() |
HashMap<String,EntityDecl> |
getParameterEntityMap() |
boolean |
isCachable() |
boolean |
isReusableWith(DTDSubset intSubset)
Method used in determining whether cached external subset instance
can be used with specified internal subset.
|
static void |
throwElementException(DTDElement oldElem,
Location loc) |
static void |
throwNotationException(NotationDeclaration oldDecl,
NotationDeclaration newDecl) |
String |
toString() |
getSchemaType
public static DTDSubsetImpl constructInstance(boolean cachable, HashMap<String,EntityDecl> genEnt, Set<String> refdGEs, HashMap<String,EntityDecl> paramEnt, Set<String> refdPEs, HashMap<String,NotationDeclaration> notations, HashMap<PrefixedName,DTDElement> elements, boolean fullyValidating)
public DTDSubset combineWithExternalSubset(InputProblemReporter rep, DTDSubset extSubset) throws XMLStreamException
combineWithExternalSubset
in class DTDSubset
XMLStreamException
public org.codehaus.stax2.validation.XMLValidator createValidator(org.codehaus.stax2.validation.ValidationContext ctxt) throws XMLStreamException
createValidator
in interface org.codehaus.stax2.validation.XMLValidationSchema
createValidator
in class DTDSubset
XMLStreamException
public int getEntityCount()
getEntityCount
in interface org.codehaus.stax2.validation.DTDValidationSchema
getEntityCount
in class DTDSubset
public int getNotationCount()
getNotationCount
in interface org.codehaus.stax2.validation.DTDValidationSchema
getNotationCount
in class DTDSubset
public boolean isCachable()
isCachable
in class DTDSubset
public HashMap<String,EntityDecl> getGeneralEntityMap()
getGeneralEntityMap
in class DTDSubset
public List<EntityDecl> getGeneralEntityList()
getGeneralEntityList
in class DTDSubset
public HashMap<String,EntityDecl> getParameterEntityMap()
getParameterEntityMap
in class DTDSubset
public HashMap<String,NotationDeclaration> getNotationMap()
getNotationMap
in class DTDSubset
public List<NotationDeclaration> getNotationList()
getNotationList
in class DTDSubset
public HashMap<PrefixedName,DTDElement> getElementMap()
getElementMap
in class DTDSubset
public boolean isReusableWith(DTDSubset intSubset)
isReusableWith
in class DTDSubset
public static void throwNotationException(NotationDeclaration oldDecl, NotationDeclaration newDecl) throws XMLStreamException
XMLStreamException
public static void throwElementException(DTDElement oldElem, Location loc) throws XMLStreamException
XMLStreamException
Copyright © 2018 FasterXML. All rights reserved.