Package | Description |
---|---|
com.ctc.wstx.dtd |
Package that contains Woodstox classes that implement DTD handling.
|
Modifier and Type | Field | Description |
---|---|---|
protected DTDElement |
DTDValidatorBase.mCurrElem |
This is the element that is currently being validated; valid
during
validateElementStart ,
validateAttribute ,
validateElementAndAttributes calls. |
protected DTDElement[] |
DTDValidatorBase.mElems |
Stack of element definitions matching the current active element stack.
|
Modifier and Type | Method | Description |
---|---|---|
static DTDElement |
DTDElement.createDefined(ReaderConfig cfg,
Location loc,
PrefixedName name,
StructValidator val,
int allowedContent) |
Method called to create an actual element definition, matching
an ELEMENT directive in a DTD subset.
|
static DTDElement |
DTDElement.createPlaceholder(ReaderConfig cfg,
Location loc,
PrefixedName name) |
Method called to create a "placeholder" element definition, needed to
contain attribute definitions.
|
DTDElement |
DTDElement.define(Location loc,
StructValidator val,
int allowedContent) |
Method called on placeholder element, to create a real instance that
has all attribute definitions placeholder had (it'll always have at
least one -- otherwise no placeholder was needed).
|
Modifier and Type | Method | Description |
---|---|---|
abstract HashMap<PrefixedName,DTDElement> |
DTDSubset.getElementMap() |
|
HashMap<PrefixedName,DTDElement> |
DTDSubsetImpl.getElementMap() |
Modifier and Type | Method | Description |
---|---|---|
void |
DTDElement.defineFrom(InputProblemReporter rep,
DTDElement definedElem,
boolean fullyValidate) |
Method called to "upgrade" a placeholder using a defined element,
including adding attributes.
|
void |
DTDElement.mergeMissingAttributesFrom(InputProblemReporter rep,
DTDElement other,
boolean fullyValidate) |
|
static void |
DTDSubsetImpl.throwElementException(DTDElement oldElem,
Location loc) |
Constructor | Description |
---|---|
DTDTypingNonValidator(DTDSubset schema,
org.codehaus.stax2.validation.ValidationContext ctxt,
boolean hasNsDefaults,
Map<PrefixedName,DTDElement> elemSpecs,
Map<String,EntityDecl> genEntities) |
|
DTDValidator(DTDSubset schema,
org.codehaus.stax2.validation.ValidationContext ctxt,
boolean hasNsDefaults,
Map<PrefixedName,DTDElement> elemSpecs,
Map<String,EntityDecl> genEntities) |
|
DTDValidatorBase(DTDSubset schema,
org.codehaus.stax2.validation.ValidationContext ctxt,
boolean hasNsDefaults,
Map<PrefixedName,DTDElement> elemSpecs,
Map<String,EntityDecl> genEntities) |
Copyright © 2019 FasterXML. All rights reserved.