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 |
---|---|
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) |
Copyright © 2015 Codehaus. All Rights Reserved.