Uses of Interface
com.ctc.wstx.sr.InputProblemReporter
Packages that use InputProblemReporter
Package
Description
Package that contains Woodstox classes that implement DTD handling.
This package contains supporting code for handling namespace information;
element stacks that keep track of elements parsed and such.
Contains utility classes that are not directly Woodstox specific, but are
for now only used by Woodstox.
-
Uses of InputProblemReporter in com.ctc.wstx.dtd
Classes in com.ctc.wstx.dtd that implement InputProblemReporterModifier and TypeClassDescriptionclassReader that reads in DTD information from internal or external subset.classMinimal DTD reader implementation that only knows how to skip internal DTD subsets.Methods in com.ctc.wstx.dtd with parameters of type InputProblemReporterModifier and TypeMethodDescriptionDTDElement.addAttribute(InputProblemReporter rep, PrefixedName attrName, int valueType, DefaultAttrValue defValue, WordResolver enumValues, boolean fullyValidate) Method called by DTD parser when it has read information about an attribute that belong to this elementDTDElement.addNsDefault(InputProblemReporter rep, PrefixedName attrName, int valueType, DefaultAttrValue defValue, boolean fullyValidate) Method called to add a definition of a namespace-declaration pseudo-attribute with a default value.protected voidDTDAttribute.checkEntity(InputProblemReporter rep, String id, EntityDecl ent) private voidDTDSubsetImpl.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.abstract DTDSubsetDTDSubset.combineWithExternalSubset(InputProblemReporter rep, DTDSubset extSubset) Method that will combine definitions from this internal subset with definitions from passed-in external subset, producing a new combined DTDSubset instance.DTDSubsetImpl.combineWithExternalSubset(InputProblemReporter rep, DTDSubset extSubset) Method that will combine definitions from internal and external subsets, producing a single DTD set.voidDTDElement.defineFrom(InputProblemReporter rep, DTDElement definedElem, boolean fullyValidate) Method called to "upgrade" a placeholder using a defined element, including adding attributes.private DTDAttributeDTDElement.doAddAttribute(Map<PrefixedName, DTDAttribute> attrMap, InputProblemReporter rep, DTDAttribute attr, List<DTDAttribute> specList, boolean fullyValidate) voidDTDElement.mergeMissingAttributesFrom(InputProblemReporter rep, DTDElement other, boolean fullyValidate) protected StringDTDAttribute.reportValidationProblem(InputProblemReporter rep, String msg) Method called during parsing of DTD schema, to report a problem.abstract voidDTDAttribute.validateDefault(InputProblemReporter rep, boolean normalize) Method called by theDTDValidatorto ask attribute to verify that the default it has (if any) is valid for such type.voidDTDCdataAttr.validateDefault(InputProblemReporter rep, boolean normalize) voidDTDEntitiesAttr.validateDefault(InputProblemReporter rep, boolean normalize) Method called by the validator object to ask attribute to verify that the default it has (if any) is valid for such type.voidDTDEntityAttr.validateDefault(InputProblemReporter rep, boolean normalize) Method called by the validator object to ask attribute to verify that the default it has (if any) is valid for such type.voidDTDEnumAttr.validateDefault(InputProblemReporter rep, boolean normalize) Method called by the validator to ask attribute to verify that the default it has (if any) is valid for such type.voidDTDIdAttr.validateDefault(InputProblemReporter rep, boolean normalize) Method called by the validator to ask attribute to verify that the default it has (if any) is valid for such type.voidDTDIdRefAttr.validateDefault(InputProblemReporter rep, boolean normalize) Method called by the validator to ask attribute to verify that the default it has (if any) is valid for such type.voidDTDIdRefsAttr.validateDefault(InputProblemReporter rep, boolean normalize) Method called by the validator to ask attribute to verify that the default it has (if any) is valid for such type.voidDTDNmTokenAttr.validateDefault(InputProblemReporter rep, boolean normalize) Method called by the validator to ask attribute to verify that the default it has (if any) is valid for such type.voidDTDNmTokensAttr.validateDefault(InputProblemReporter rep, boolean normalize) Method called by the validator to ask attribute to verify that the default it has (if any) is valid for such type.voidDTDNotationAttr.validateDefault(InputProblemReporter rep, boolean normalize) Method called by the validator to ask attribute to verify that the default it has (if any) is valid for such type.protected StringDTDAttribute.validateDefaultName(InputProblemReporter rep, boolean normalize) protected StringDTDAttribute.validateDefaultNames(InputProblemReporter rep, boolean normalize) protected StringDTDAttribute.validateDefaultNmToken(InputProblemReporter rep, boolean normalize) -
Uses of InputProblemReporter in com.ctc.wstx.sr
Classes in com.ctc.wstx.sr that implement InputProblemReporterModifier and TypeClassDescriptionclassPartial implementation ofXMLStreamReader2consisting of all functionality other than DTD-validation-specific parts, and Typed Access API (Stax2 v3.0), which are implemented at sub-classes.classAbstract base class that defines some basic functionality that all Woodstox reader classes (main XML reader, DTD reader) extend from.classComplete implementation ofXMLStreamReader2, including Typed Access API (Stax2 v3.0) implementation.classImplementation ofXMLStreamReader2that builds onTypedStreamReaderand adds full DTD-handling including DTD validationFields in com.ctc.wstx.sr declared as InputProblemReporterMethods in com.ctc.wstx.sr with parameters of type InputProblemReporterModifier and TypeMethodDescriptionprotected voidInputElementStack.connectReporter(InputProblemReporter rep) final byte[]AttributeCollector.decodeBinary(int index, org.codehaus.stax2.typed.Base64Variant v, org.codehaus.stax2.ri.typed.CharArrayBase64Decoder dec, InputProblemReporter rep) final intAttributeCollector.decodeValues(int index, org.codehaus.stax2.typed.TypedArrayDecoder tad, InputProblemReporter rep) Method called to decode the attribute value that consists of zero or more space-separated tokens.private static final intAttributeCollector.decodeValues(org.codehaus.stax2.typed.TypedArrayDecoder tad, InputProblemReporter rep, char[] buf, int ptr, int end) intAttributeCollector.resolveNamespaces(InputProblemReporter rep, StringVector ns) Method called to resolve namespace URIs from attribute prefixes.protected voidAttributeCollector.throwDupAttr(InputProblemReporter rep, int index) Method that can be used to get the specified attribute value, by getting it written using Writer passed in. -
Uses of InputProblemReporter in com.ctc.wstx.util
Methods in com.ctc.wstx.util with parameters of type InputProblemReporterModifier and TypeMethodDescriptionintTextBuffer.decodeElements(org.codehaus.stax2.typed.TypedArrayDecoder tad, InputProblemReporter rep) Pass-through decode method called to find find the next token, decode it, and repeat the process as long as there are more tokens and the array decoder accepts more entries.