Uses of Class
com.ctc.wstx.dtd.DTDElement
-
Packages that use DTDElement Package Description com.ctc.wstx.dtd 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 DTDElement Modifier and Type Field Description protected DTDElementDTDValidatorBase. mCurrElemThis is the element that is currently being validated; valid duringvalidateElementStart,validateAttribute,validateElementAndAttributescalls.protected DTDElement[]DTDValidatorBase. mElemsStack of element definitions matching the current active element stack.Fields in com.ctc.wstx.dtd with type parameters of type DTDElement Modifier and Type Field Description (package private) java.util.HashMap<PrefixedName,DTDElement>DTDSubsetImpl. mElements(package private) java.util.LinkedHashMap<PrefixedName,DTDElement>FullDTDReader. mElementsContains definition of elements and matching content specifications.(package private) java.util.Map<PrefixedName,DTDElement>DTDValidatorBase. mElemSpecsMap that contains element specifications from DTD; null if no DOCTYPE declaration found.Methods in com.ctc.wstx.dtd that return DTDElement 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.static DTDElementDTDElement. createPlaceholder(ReaderConfig cfg, javax.xml.stream.Location loc, PrefixedName name)Method called to create a "placeholder" element definition, needed to contain attribute definitions.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).Methods in com.ctc.wstx.dtd that return types with arguments of type DTDElement Modifier and Type Method Description abstract java.util.HashMap<PrefixedName,DTDElement>DTDSubset. getElementMap()java.util.HashMap<PrefixedName,DTDElement>DTDSubsetImpl. getElementMap()private java.util.LinkedHashMap<PrefixedName,DTDElement>FullDTDReader. getElementMap()Methods in com.ctc.wstx.dtd with parameters of type DTDElement Modifier and Type Method Description voidDTDElement. defineFrom(InputProblemReporter rep, DTDElement definedElem, boolean fullyValidate)Method called to "upgrade" a placeholder using a defined element, including adding attributes.private voidFullDTDReader. handleAttrDecl(DTDElement elem, char c, int index, javax.xml.stream.Location loc)voidDTDElement. mergeMissingAttributesFrom(InputProblemReporter rep, DTDElement other, boolean fullyValidate)private WordResolverFullDTDReader. 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 voidFullDTDReader. throwDTDAttrError(java.lang.String msg, DTDElement elem, PrefixedName attrName)static voidDTDSubsetImpl. throwElementException(DTDElement oldElem, javax.xml.stream.Location loc)Method parameters in com.ctc.wstx.dtd with type arguments of type DTDElement Modifier and Type Method Description private voidDTDSubsetImpl. combineElements(InputProblemReporter rep, java.util.HashMap<PrefixedName,DTDElement> intElems, java.util.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 DTDElement Constructor Description DTDTypingNonValidator(DTDSubset schema, org.codehaus.stax2.validation.ValidationContext ctxt, boolean hasNsDefaults, java.util.Map<PrefixedName,DTDElement> elemSpecs, java.util.Map<java.lang.String,EntityDecl> genEntities)DTDValidator(DTDSubset schema, org.codehaus.stax2.validation.ValidationContext ctxt, boolean hasNsDefaults, java.util.Map<PrefixedName,DTDElement> elemSpecs, java.util.Map<java.lang.String,EntityDecl> genEntities)DTDValidatorBase(DTDSubset schema, org.codehaus.stax2.validation.ValidationContext ctxt, boolean hasNsDefaults, java.util.Map<PrefixedName,DTDElement> elemSpecs, java.util.Map<java.lang.String,EntityDecl> genEntities)
-