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 TypeClassDescriptionclass
Reader that reads in DTD information from internal or external subset.class
Minimal 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 void
DTDAttribute.checkEntity
(InputProblemReporter rep, String id, EntityDecl ent) private 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.abstract DTDSubset
DTDSubset.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.void
DTDElement.defineFrom
(InputProblemReporter rep, DTDElement definedElem, boolean fullyValidate) Method called to "upgrade" a placeholder using a defined element, including adding attributes.private DTDAttribute
DTDElement.doAddAttribute
(Map<PrefixedName, DTDAttribute> attrMap, InputProblemReporter rep, DTDAttribute attr, List<DTDAttribute> specList, boolean fullyValidate) void
DTDElement.mergeMissingAttributesFrom
(InputProblemReporter rep, DTDElement other, boolean fullyValidate) protected String
DTDAttribute.reportValidationProblem
(InputProblemReporter rep, String msg) Method called during parsing of DTD schema, to report a problem.abstract void
DTDAttribute.validateDefault
(InputProblemReporter rep, boolean normalize) Method called by theDTDValidator
to ask attribute to verify that the default it has (if any) is valid for such type.void
DTDCdataAttr.validateDefault
(InputProblemReporter rep, boolean normalize) void
DTDEntitiesAttr.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.void
DTDEntityAttr.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.void
DTDEnumAttr.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.void
DTDIdAttr.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.void
DTDIdRefAttr.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.void
DTDIdRefsAttr.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.void
DTDNmTokenAttr.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.void
DTDNmTokensAttr.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.void
DTDNotationAttr.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 String
DTDAttribute.validateDefaultName
(InputProblemReporter rep, boolean normalize) protected String
DTDAttribute.validateDefaultNames
(InputProblemReporter rep, boolean normalize) protected String
DTDAttribute.validateDefaultNmToken
(InputProblemReporter rep, boolean normalize) -
Uses of InputProblemReporter in com.ctc.wstx.sr
Classes in com.ctc.wstx.sr that implement InputProblemReporterModifier and TypeClassDescriptionclass
Partial implementation ofXMLStreamReader2
consisting of all functionality other than DTD-validation-specific parts, and Typed Access API (Stax2 v3.0), which are implemented at sub-classes.class
Abstract base class that defines some basic functionality that all Woodstox reader classes (main XML reader, DTD reader) extend from.class
Complete implementation ofXMLStreamReader2
, including Typed Access API (Stax2 v3.0) implementation.class
Implementation ofXMLStreamReader2
that builds onTypedStreamReader
and 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 void
InputElementStack.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 int
AttributeCollector.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 int
AttributeCollector.decodeValues
(org.codehaus.stax2.typed.TypedArrayDecoder tad, InputProblemReporter rep, char[] buf, int ptr, int end) int
AttributeCollector.resolveNamespaces
(InputProblemReporter rep, StringVector ns) Method called to resolve namespace URIs from attribute prefixes.protected void
AttributeCollector.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 TypeMethodDescriptionint
TextBuffer.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.