Package | Description |
---|---|
com.ctc.wstx.dtd |
Package that contains Woodstox classes that implement DTD handling.
|
Modifier and Type | Class and Description |
---|---|
class |
DFAValidator
Validator class that is based on a DFA constructed from DTD content
specification.
|
class |
EmptyValidator
Simple content model validator that accepts no elements, ever; this
is true for pure #PCDATA content model as well as EMPTY content model.
|
Modifier and Type | Field and Description |
---|---|
protected StructValidator[] |
DTDValidator.mValidators
Stack of validators for open elements
|
Modifier and Type | Method and Description |
---|---|
StructValidator |
TokenContentSpec.getSimpleValidator() |
StructValidator |
SeqContentSpec.getSimpleValidator() |
abstract StructValidator |
ContentSpec.getSimpleValidator()
Method called by input element stack to get validator for
this content specification, if this specification is simple
enough not to need full DFA-based validator.
|
StructValidator |
ChoiceContentSpec.getSimpleValidator() |
StructValidator |
DTDElement.getValidator() |
abstract StructValidator |
StructValidator.newInstance()
Method that should be called to get the actual usable validator
instance, from the 'template' validator.
|
StructValidator |
EmptyValidator.newInstance()
Simple; can always (re)use instance itself; no state information
is kept.
|
StructValidator |
DFAValidator.newInstance() |
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.
|
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).
|
Copyright © 2018 FasterXML. All rights reserved.