Uses of Class
com.ctc.wstx.dtd.StructValidator
Packages that use StructValidator
Package
Description
Package that contains Woodstox classes that implement DTD handling.
-
Uses of StructValidator in com.ctc.wstx.dtd
Subclasses of StructValidator in com.ctc.wstx.dtdModifier and TypeClassDescriptionfinal classValidator class that is based on a DFA constructed from DTD content specification.classSimple content model validator that accepts no elements, ever; this is true for pure #PCDATA content model as well as EMPTY content model.Fields in com.ctc.wstx.dtd declared as StructValidatorModifier and TypeFieldDescriptionprotected StructValidator[]DTDValidator.mValidatorsStack of validators for open elementsMethods in com.ctc.wstx.dtd that return StructValidatorModifier and TypeMethodDescriptionChoiceContentSpec.getSimpleValidator()abstract StructValidatorContentSpec.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.SeqContentSpec.getSimpleValidator()TokenContentSpec.getSimpleValidator()DTDElement.getValidator()DFAValidator.newInstance()EmptyValidator.newInstance()Simple; can always (re)use instance itself; no state information is kept.abstract StructValidatorStructValidator.newInstance()Method that should be called to get the actual usable validator instance, from the 'template' validator.Methods in com.ctc.wstx.dtd with parameters of type StructValidatorModifier and TypeMethodDescriptionstatic DTDElementDTDElement.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.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).