Uses of Class
com.ctc.wstx.dtd.DTDElement
Packages that use DTDElement
Package
Description
Package that contains Woodstox classes that implement DTD handling.
-
Uses of DTDElement in com.ctc.wstx.dtd
Fields in com.ctc.wstx.dtd declared as DTDElementModifier and TypeFieldDescriptionprotected DTDElement
DTDValidatorBase.mCurrElem
This is the element that is currently being validated; valid duringvalidateElementStart
,validateAttribute
,validateElementAndAttributes
calls.protected DTDElement[]
DTDValidatorBase.mElems
Stack of element definitions matching the current active element stack.Fields in com.ctc.wstx.dtd with type parameters of type DTDElementModifier and TypeFieldDescription(package private) final HashMap
<PrefixedName, DTDElement> DTDSubsetImpl.mElements
(package private) LinkedHashMap
<PrefixedName, DTDElement> FullDTDReader.mElements
Contains definition of elements and matching content specifications.(package private) final Map
<PrefixedName, DTDElement> DTDValidatorBase.mElemSpecs
Map that contains element specifications from DTD; null if no DOCTYPE declaration found.Methods in com.ctc.wstx.dtd that return DTDElementModifier and TypeMethodDescriptionstatic 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.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).Methods in com.ctc.wstx.dtd that return types with arguments of type DTDElementModifier and TypeMethodDescriptionabstract HashMap
<PrefixedName, DTDElement> DTDSubset.getElementMap()
DTDSubsetImpl.getElementMap()
private LinkedHashMap
<PrefixedName, DTDElement> FullDTDReader.getElementMap()
Methods in com.ctc.wstx.dtd with parameters of type DTDElementModifier and TypeMethodDescriptionvoid
DTDElement.defineFrom
(InputProblemReporter rep, DTDElement definedElem, boolean fullyValidate) Method called to "upgrade" a placeholder using a defined element, including adding attributes.private void
FullDTDReader.handleAttrDecl
(DTDElement elem, char c, int index, Location loc) void
DTDElement.mergeMissingAttributesFrom
(InputProblemReporter rep, DTDElement other, boolean fullyValidate) private WordResolver
FullDTDReader.parseEnumerated
(DTDElement elem, PrefixedName attrName, boolean isNotation) Parsing method that reads a list of one or more space-separated tokens (nmtoken or name, depending on 'isNotation' argument)private void
FullDTDReader.throwDTDAttrError
(String msg, DTDElement elem, PrefixedName attrName) static void
DTDSubsetImpl.throwElementException
(DTDElement oldElem, Location loc) Method parameters in com.ctc.wstx.dtd with type arguments of type DTDElementModifier and TypeMethodDescriptionprivate void
DTDSubsetImpl.combineElements
(InputProblemReporter rep, HashMap<PrefixedName, DTDElement> intElems, HashMap<PrefixedName, DTDElement> extElems) Method that will try to merge in elements defined in the external subset, into internal subset; it will also check for redeclarations when doing this, as it's invalid to redeclare elements.Constructor parameters in com.ctc.wstx.dtd with type arguments of type DTDElementModifierConstructorDescriptionDTDTypingNonValidator
(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)