Uses of Class
org.codehaus.stax2.validation.XMLValidator
-
Packages that use XMLValidator Package Description com.ctc.wstx.dtd Package that contains Woodstox classes that implement DTD handling.com.ctc.wstx.sr This package contains supporting code for handling namespace information; element stacks that keep track of elements parsed and such.com.ctc.wstx.sw com.ctc.wstx.util Contains utility classes that are not directly Woodstox specific, but are for now only used by Woodstox.org.codehaus.stax2.ri Package that contains a skeletal reference implementation of Stax2 API, as well as some utility/helper classes that can be useful in building one.org.codehaus.stax2.ri.dom org.codehaus.stax2.util org.codehaus.stax2.validation -
-
Uses of XMLValidator in com.ctc.wstx.dtd
Subclasses of XMLValidator in com.ctc.wstx.dtd Modifier and Type Class Description classDTDTypingNonValidatorThis class is a "non-validating validator"; a validator-like object that handles DTD-based non-validation functionality: determining type information and default values.classDTDValidatorWoodstox implementation ofXMLValidator; the class that handles DTD-based validation.classDTDValidatorBaseShared abstract base class for Woodstox implementations ofXMLValidatorfor DTD validation.Methods in com.ctc.wstx.dtd that return XMLValidator Modifier and Type Method Description abstract XMLValidatorDTDSubset. createValidator(ValidationContext ctxt)XMLValidatorDTDSubsetImpl. createValidator(ValidationContext ctxt)Methods in com.ctc.wstx.dtd with parameters of type XMLValidator Modifier and Type Method Description StringDTDAttribute. getDefaultValue(ValidationContext ctxt, XMLValidator dtd)voidDefaultAttrValue. reportUndeclared(ValidationContext ctxt, XMLValidator dtd) -
Uses of XMLValidator in com.ctc.wstx.sr
Fields in com.ctc.wstx.sr declared as XMLValidator Modifier and Type Field Description protected XMLValidatorInputElementStack. mValidatorOptional validator object that will get called if set, and that can validate xml content.Methods in com.ctc.wstx.sr that return XMLValidator Modifier and Type Method Description protected XMLValidatorInputElementStack. addValidator(XMLValidator vld)XMLValidatorBasicStreamReader. stopValidatingAgainst(XMLValidationSchema schema)XMLValidatorBasicStreamReader. stopValidatingAgainst(XMLValidator validator)XMLValidatorInputElementStack. stopValidatingAgainst(XMLValidationSchema schema)XMLValidatorInputElementStack. stopValidatingAgainst(XMLValidator validator)XMLValidatorValidatingStreamReader. stopValidatingAgainst(XMLValidationSchema schema)XMLValidatorValidatingStreamReader. stopValidatingAgainst(XMLValidator validator)XMLValidatorBasicStreamReader. validateAgainst(XMLValidationSchema schema)XMLValidatorInputElementStack. validateAgainst(XMLValidationSchema schema)XMLValidatorValidatingStreamReader. validateAgainst(XMLValidationSchema schema)Methods in com.ctc.wstx.sr with parameters of type XMLValidator Modifier and Type Method Description protected XMLValidatorInputElementStack. addValidator(XMLValidator vld)protected voidInputElementStack. setAutomaticDTDValidator(XMLValidator validator, NsDefaultProvider nsDefs)Method called to connect the automatically handled DTD validator (one detected from DOCTYPE, loaded and completely handled by the stream reader without application calling validation methods).XMLValidatorBasicStreamReader. stopValidatingAgainst(XMLValidator validator)XMLValidatorInputElementStack. stopValidatingAgainst(XMLValidator validator)XMLValidatorValidatingStreamReader. stopValidatingAgainst(XMLValidator validator)protected voidAttributeCollector. validateAttribute(int index, XMLValidator vld)voidAttributeCollector. writeAttribute(int index, XmlWriter xw, XMLValidator validator)Method that basically serializes the specified (read-in) attribute using Writers provided. -
Uses of XMLValidator in com.ctc.wstx.sw
Fields in com.ctc.wstx.sw declared as XMLValidator Modifier and Type Field Description protected XMLValidatorBaseStreamWriter. mValidatorOptional validator to use for validating output against one or more schemas, and/or for safe pretty-printing (indentation).Methods in com.ctc.wstx.sw that return XMLValidator Modifier and Type Method Description XMLValidatorBaseStreamWriter. stopValidatingAgainst(XMLValidationSchema schema)XMLValidatorBaseStreamWriter. stopValidatingAgainst(XMLValidator validator)XMLValidatorBaseStreamWriter. validateAgainst(XMLValidationSchema schema)Methods in com.ctc.wstx.sw with parameters of type XMLValidator Modifier and Type Method Description XMLValidatorBaseStreamWriter. stopValidatingAgainst(XMLValidator validator)voidBufferingXmlWriter. writeTypedAttribute(String prefix, String localName, String nsURI, AsciiValueEncoder enc, XMLValidator validator, char[] copyBuffer)voidEncodingXmlWriter. writeTypedAttribute(String prefix, String localName, String nsURI, AsciiValueEncoder enc, XMLValidator validator, char[] copyBuffer)abstract voidXmlWriter. writeTypedAttribute(String prefix, String localName, String nsURI, AsciiValueEncoder enc, XMLValidator validator, char[] copyBuffer)Method similar toXmlWriter.writeAttribute(String,String,char[],int,int)but where is known not to require escaping.voidBufferingXmlWriter. writeTypedElement(AsciiValueEncoder enc, XMLValidator validator, char[] copyBuffer)voidEncodingXmlWriter. writeTypedElement(AsciiValueEncoder enc, XMLValidator validator, char[] copyBuffer)Validating version of typed write methodabstract voidXmlWriter. writeTypedElement(AsciiValueEncoder enc, XMLValidator validator, char[] copyBuffer)LikeXmlWriter.writeRaw(java.lang.String, int, int), but caller guarantees that the contents additionally are known to be in 7-bit ascii range, and also passes an encoder object that will encode values only when being handed a buffer to append to. -
Uses of XMLValidator in com.ctc.wstx.util
Methods in com.ctc.wstx.util with parameters of type XMLValidator Modifier and Type Method Description voidTextBuffer. validateText(XMLValidator vld, boolean lastSegment) -
Uses of XMLValidator in org.codehaus.stax2.ri
Methods in org.codehaus.stax2.ri with parameters of type XMLValidator Modifier and Type Method Description XMLValidatorStax2ReaderAdapter. stopValidatingAgainst(XMLValidator validator)XMLValidatorStax2ReaderImpl. stopValidatingAgainst(XMLValidator validator)XMLValidatorStax2WriterAdapter. stopValidatingAgainst(XMLValidator validator)XMLValidatorStax2WriterImpl. stopValidatingAgainst(XMLValidator validator) -
Uses of XMLValidator in org.codehaus.stax2.ri.dom
Methods in org.codehaus.stax2.ri.dom that return XMLValidator Modifier and Type Method Description XMLValidatorDOMWrappingReader. stopValidatingAgainst(XMLValidationSchema schema)XMLValidatorDOMWrappingReader. stopValidatingAgainst(XMLValidator validator)XMLValidatorDOMWrappingWriter. stopValidatingAgainst(XMLValidationSchema schema)XMLValidatorDOMWrappingWriter. stopValidatingAgainst(XMLValidator validator)XMLValidatorDOMWrappingReader. validateAgainst(XMLValidationSchema schema)XMLValidatorDOMWrappingWriter. validateAgainst(XMLValidationSchema schema)Methods in org.codehaus.stax2.ri.dom with parameters of type XMLValidator Modifier and Type Method Description XMLValidatorDOMWrappingReader. stopValidatingAgainst(XMLValidator validator)XMLValidatorDOMWrappingWriter. stopValidatingAgainst(XMLValidator validator) -
Uses of XMLValidator in org.codehaus.stax2.util
Methods in org.codehaus.stax2.util that return XMLValidator Modifier and Type Method Description XMLValidatorStreamReader2Delegate. stopValidatingAgainst(XMLValidationSchema schema)XMLValidatorStreamReader2Delegate. stopValidatingAgainst(XMLValidator validator)XMLValidatorStreamWriter2Delegate. stopValidatingAgainst(XMLValidationSchema schema)XMLValidatorStreamWriter2Delegate. stopValidatingAgainst(XMLValidator validator)XMLValidatorStreamReader2Delegate. validateAgainst(XMLValidationSchema schema)XMLValidatorStreamWriter2Delegate. validateAgainst(XMLValidationSchema schema)Methods in org.codehaus.stax2.util with parameters of type XMLValidator Modifier and Type Method Description XMLValidatorStreamReader2Delegate. stopValidatingAgainst(XMLValidator validator)XMLValidatorStreamWriter2Delegate. stopValidatingAgainst(XMLValidator validator) -
Uses of XMLValidator in org.codehaus.stax2.validation
Subclasses of XMLValidator in org.codehaus.stax2.validation Modifier and Type Class Description classValidatorPairSimple utility class that allows chaining ofXMLValidatorinstances.Fields in org.codehaus.stax2.validation declared as XMLValidator Modifier and Type Field Description protected XMLValidatorValidatorPair. mFirstprotected XMLValidatorXMLValidationProblem. mReporterValidator instance that reported the problem, if any (may be null if stream reader or writer itself reported the problem)protected XMLValidatorValidatorPair. mSecondMethods in org.codehaus.stax2.validation that return XMLValidator Modifier and Type Method Description XMLValidatorXMLValidationSchema. createValidator(ValidationContext ctxt)XMLValidatorXMLValidationProblem. getReporter()Returns the validator that reported the problem if known.XMLValidatorValidatable. stopValidatingAgainst(XMLValidationSchema schema)Method that can be called by application to stop validating output against a schema, for whichValidatable.validateAgainst(org.codehaus.stax2.validation.XMLValidationSchema)was called earlier.XMLValidatorValidatable. stopValidatingAgainst(XMLValidator validator)Method that can be called by application to stop validating output using specified validator.XMLValidatorValidatable. validateAgainst(XMLValidationSchema schema)Method that will construct aXMLValidatorinstance from the given schema (unless a validator for that schema has already been added), initialize it if necessary, and make validatable object (reader, writer) call appropriate validation methods from this point on until the end of the document (that is, it's not scoped with sub-trees), or until validator is removed by an explicit call toValidatable.stopValidatingAgainst(org.codehaus.stax2.validation.XMLValidationSchema).Methods in org.codehaus.stax2.validation with parameters of type XMLValidator Modifier and Type Method Description static booleanValidatorPair. removeValidator(XMLValidator root, XMLValidationSchema schema, XMLValidator[] results)static booleanValidatorPair. removeValidator(XMLValidator root, XMLValidator vld, XMLValidator[] results)voidXMLValidationProblem. setReporter(XMLValidator v)Set the validator object that reported this problem, if known.XMLValidatorValidatable. stopValidatingAgainst(XMLValidator validator)Method that can be called by application to stop validating output using specified validator.Constructors in org.codehaus.stax2.validation with parameters of type XMLValidator Constructor Description ValidatorPair(XMLValidator first, XMLValidator second)
-