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.util |
Contains utility classes that are not directly Woodstox specific, but are
for now only used by Woodstox.
|
Modifier and Type | Class and Description |
---|---|
class |
FullDTDReader
Reader that reads in DTD information from internal or external subset.
|
class |
MinimalDTDReader
Minimal DTD reader implementation that only knows how to skip
internal DTD subsets.
|
Modifier and Type | Method and Description |
---|---|
DTDAttribute |
DTDElement.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 element
|
DTDAttribute |
DTDElement.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) |
DTDSubset |
DTDSubsetImpl.combineWithExternalSubset(InputProblemReporter rep,
DTDSubset extSubset)
Method that will combine definitions from internal and external subsets,
producing a single DTD set.
|
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.
|
void |
DTDElement.defineFrom(InputProblemReporter rep,
DTDElement definedElem,
boolean fullyValidate)
Method called to "upgrade" a placeholder using a defined element,
including adding attributes.
|
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.
|
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.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
DTDCdataAttr.validateDefault(InputProblemReporter rep,
boolean normalize) |
abstract void |
DTDAttribute.validateDefault(InputProblemReporter rep,
boolean normalize)
Method called by the
DTDValidator
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) |
Modifier and Type | Class and Description |
---|---|
class |
BasicStreamReader
Partial implementation of
XMLStreamReader2 consisting of
all functionality other than DTD-validation-specific parts, and
Typed Access API (Stax2 v3.0), which are implemented at
sub-classes. |
class |
StreamScanner
Abstract base class that defines some basic functionality that all
Woodstox reader classes (main XML reader, DTD reader) extend from.
|
class |
TypedStreamReader
Complete implementation of
XMLStreamReader2 ,
including Typed Access API (Stax2 v3.0) implementation. |
class |
ValidatingStreamReader
Implementation of
XMLStreamReader2
that builds on TypedStreamReader and adds full DTD-handling
including DTD validation |
Modifier and Type | Field and Description |
---|---|
protected InputProblemReporter |
InputElementStack.mReporter |
Modifier and Type | Method and Description |
---|---|
protected void |
InputElementStack.connectReporter(InputProblemReporter rep) |
byte[] |
AttributeCollector.decodeBinary(int index,
org.codehaus.stax2.typed.Base64Variant v,
org.codehaus.stax2.ri.typed.CharArrayBase64Decoder dec,
InputProblemReporter rep) |
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
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.
|
Copyright © 2018 FasterXML. All rights reserved.