Uses of Class
com.ctc.wstx.dtd.StructValidator
-
Packages that use StructValidator Package Description com.ctc.wstx.dtd Package that contains Woodstox classes that implement DTD handling. -
-
Uses of StructValidator in com.ctc.wstx.dtd
Subclasses of StructValidator in com.ctc.wstx.dtd Modifier and Type Class Description (package private) static classChoiceContentSpec.ValidatorclassDFAValidatorValidator class that is based on a DFA constructed from DTD content specification.classEmptyValidatorSimple content model validator that accepts no elements, ever; this is true for pure #PCDATA content model as well as EMPTY content model.(package private) static classSeqContentSpec.ValidatorSimple validator that can be used if all components of a sequence are leaf nodes, ie.(package private) static classTokenContentSpec.ValidatorFields in com.ctc.wstx.dtd declared as StructValidator Modifier and Type Field Description (package private) StructValidatorDTDElement. mValidatorBase validator object for validating content model of this element; may be null for some simple content models (ANY, EMPTY).protected StructValidator[]DTDValidator. mValidatorsStack of validators for open elementsMethods in com.ctc.wstx.dtd that return StructValidator Modifier and Type Method Description StructValidatorChoiceContentSpec. 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.StructValidatorSeqContentSpec. getSimpleValidator()StructValidatorTokenContentSpec. getSimpleValidator()StructValidatorDTDElement. getValidator()StructValidatorChoiceContentSpec.Validator. newInstance()Rules for reuse are simple: if we can have any number of repetitions, we can just use a shared root instance.StructValidatorDFAValidator. newInstance()StructValidatorEmptyValidator. newInstance()Simple; can always (re)use instance itself; no state information is kept.StructValidatorSeqContentSpec.Validator. newInstance()Sequence content specification is always stateful; can not use a shared instance...abstract StructValidatorStructValidator. newInstance()Method that should be called to get the actual usable validator instance, from the 'template' validator.StructValidatorTokenContentSpec.Validator. newInstance()Rules for reuse are simple: if we can have any number of repetitions, we can just use a shared root instance.private StructValidatorFullDTDReader. readMixedSpec(PrefixedName elemName, boolean construct)Method called to parse what seems like a mixed content specification.Methods in com.ctc.wstx.dtd with parameters of type StructValidator Modifier and Type Method Description static DTDElementDTDElement. createDefined(ReaderConfig cfg, javax.xml.stream.Location loc, PrefixedName name, StructValidator val, int allowedContent)Method called to create an actual element definition, matching an ELEMENT directive in a DTD subset.DTDElementDTDElement. define(javax.xml.stream.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).Constructors in com.ctc.wstx.dtd with parameters of type StructValidator Constructor Description DTDElement(javax.xml.stream.Location loc, PrefixedName name, StructValidator val, int allowedContent, boolean nsAware, boolean xml11)
-