Package | Description |
---|---|
com.ctc.wstx.dtd |
Package that contains Woodstox classes that implement DTD handling.
|
Modifier and Type | Field and 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 and 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 and Description |
---|---|
HashMap<PrefixedName,DTDElement> |
DTDSubsetImpl.getElementMap() |
abstract HashMap<PrefixedName,DTDElement> |
DTDSubset.getElementMap() |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static DTDSubsetImpl |
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) |
Constructor and 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 © 2012–2015 FasterXML. All rights reserved.