Package | Description |
---|---|
com.ctc.wstx.api |
Package that contains subset of Woodstox classes that are considered to be
its public API (in addition to regular Stax 1.0 -- javax.xml.stream.* -- and
Stax2 -- org.codehaus.stax2.*).
|
com.ctc.wstx.dtd |
Package that contains Woodstox classes that implement DTD handling.
|
com.ctc.wstx.ent |
Package contains internal entity object implementations, which are used
by stream reader classes, but parsed by dtd functionality.
|
com.ctc.wstx.sr |
This package contains supporting code for handling namespace information;
element stacks that keep track of elements parsed and such.
|
Modifier and Type | Method and Description |
---|---|
EntityDecl |
ReaderConfig.findCustomInternalEntity(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,EntityDecl> |
ReaderConfig.getCustomInternalEntities() |
Modifier and Type | Field and Description |
---|---|
protected static java.util.HashMap<java.lang.String,EntityDecl> |
DTDValidatorBase.EMPTY_MAP
Let's actually just reuse a local Map...
|
(package private) java.util.HashMap<java.lang.String,EntityDecl> |
DTDSubsetImpl.mDefinedPEs
Map (name-to-WEntityDeclaration) that contains all parameter entities
defined by this subset.
|
(package private) java.util.HashMap<java.lang.String,EntityDecl> |
DTDSubsetImpl.mGeneralEntities
Map (name-to-EntityDecl) of general entity declarations (internal,
external) for this DTD subset.
|
(package private) java.util.Map<java.lang.String,EntityDecl> |
DTDValidatorBase.mGeneralEntities
General entities defined in DTD subsets; needed for validating
ENTITY/ENTITIES attributes.
|
(package private) java.util.HashMap<java.lang.String,EntityDecl> |
FullDTDReader.mGeneralEntities
Set of generic entities defined so far in this subset.
|
(package private) java.util.List<EntityDecl> |
DTDSubsetImpl.mGeneralEntityList
Lazily instantiated List that contains all notations from
DTDSubsetImpl.mGeneralEntities (preferably in their declaration order; depends
on whether platform, ie. |
(package private) java.util.HashMap<java.lang.String,EntityDecl> |
FullDTDReader.mParamEntities
Set of parameter entities defined so far in the currently parsed
subset.
|
(package private) java.util.HashMap<java.lang.String,EntityDecl> |
FullDTDReader.mPredefdGEs
Set of general entities already defined for the subset being
parsed; namely, PEs defined in the internal subset passed when
parsing matching external subset.
|
(package private) java.util.HashMap<java.lang.String,EntityDecl> |
FullDTDReader.mPredefdPEs
Set of parameter entities already defined for the subset being
parsed; namely, PEs defined in the internal subset passed when
parsing matching external subset.
|
Modifier and Type | Method and Description |
---|---|
EntityDecl |
FullDTDReader.findEntity(java.lang.String entName)
Method that may need to be called by attribute default value
validation code, during parsing....
|
EntityDecl |
MinimalDTDReader.findEntity(java.lang.String entName)
Method that may need to be called by attribute default value
validation code, during parsing....
|
protected EntityDecl |
FullDTDReader.findEntity(java.lang.String id,
java.lang.Object arg) |
protected EntityDecl |
MinimalDTDReader.findEntity(java.lang.String id,
java.lang.Object arg) |
protected EntityDecl |
DTDAttribute.findEntityDecl(DTDValidatorBase v,
char[] ch,
int start,
int len) |
private EntityDecl |
FullDTDReader.handleExternalEntityDecl(WstxInputSource inputSource,
boolean isParam,
java.lang.String id,
char c,
javax.xml.stream.Location evtLoc)
Method that handles rest of external entity declaration, after
it's been figured out entity is not internal (does not continue
with a quote).
|
Modifier and Type | Method and Description |
---|---|
(package private) java.util.Map<java.lang.String,EntityDecl> |
DTDValidatorBase.getEntityMap() |
abstract java.util.List<EntityDecl> |
DTDSubset.getGeneralEntityList() |
java.util.List<EntityDecl> |
DTDSubsetImpl.getGeneralEntityList() |
abstract java.util.HashMap<java.lang.String,EntityDecl> |
DTDSubset.getGeneralEntityMap() |
java.util.HashMap<java.lang.String,EntityDecl> |
DTDSubsetImpl.getGeneralEntityMap() |
abstract java.util.HashMap<java.lang.String,EntityDecl> |
DTDSubset.getParameterEntityMap() |
java.util.HashMap<java.lang.String,EntityDecl> |
DTDSubsetImpl.getParameterEntityMap() |
Modifier and Type | Method and Description |
---|---|
protected void |
DTDAttribute.checkEntity(InputProblemReporter rep,
java.lang.String id,
EntityDecl ent) |
Modifier and Type | Method and Description |
---|---|
static DTDSubsetImpl |
DTDSubsetImpl.constructInstance(boolean cachable,
java.util.HashMap<java.lang.String,EntityDecl> genEnt,
java.util.Set<java.lang.String> refdGEs,
java.util.HashMap<java.lang.String,EntityDecl> paramEnt,
java.util.Set<java.lang.String> refdPEs,
java.util.HashMap<java.lang.String,javax.xml.stream.events.NotationDeclaration> notations,
java.util.HashMap<PrefixedName,DTDElement> elements,
boolean fullyValidating) |
static DTDSubsetImpl |
DTDSubsetImpl.constructInstance(boolean cachable,
java.util.HashMap<java.lang.String,EntityDecl> genEnt,
java.util.Set<java.lang.String> refdGEs,
java.util.HashMap<java.lang.String,EntityDecl> paramEnt,
java.util.Set<java.lang.String> refdPEs,
java.util.HashMap<java.lang.String,javax.xml.stream.events.NotationDeclaration> notations,
java.util.HashMap<PrefixedName,DTDElement> elements,
boolean fullyValidating) |
Constructor and Description |
---|
DTDSubsetImpl(boolean cachable,
java.util.HashMap<java.lang.String,EntityDecl> genEnt,
java.util.Set<java.lang.String> refdGEs,
java.util.HashMap<java.lang.String,EntityDecl> paramEnt,
java.util.Set<java.lang.String> peRefs,
java.util.HashMap<java.lang.String,javax.xml.stream.events.NotationDeclaration> notations,
java.util.HashMap<PrefixedName,DTDElement> elements,
boolean fullyValidating) |
DTDSubsetImpl(boolean cachable,
java.util.HashMap<java.lang.String,EntityDecl> genEnt,
java.util.Set<java.lang.String> refdGEs,
java.util.HashMap<java.lang.String,EntityDecl> paramEnt,
java.util.Set<java.lang.String> peRefs,
java.util.HashMap<java.lang.String,javax.xml.stream.events.NotationDeclaration> notations,
java.util.HashMap<PrefixedName,DTDElement> elements,
boolean fullyValidating) |
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) |
Modifier and Type | Class and Description |
---|---|
class |
ExtEntity |
class |
IntEntity |
class |
ParsedExtEntity |
class |
UnparsedExtEntity |
Modifier and Type | Field and Description |
---|---|
protected EntityDecl |
StreamScanner.mCurrEntity
Entity reference stream currently points to.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,EntityDecl> |
BasicStreamReader.mGeneralEntities
Entities parsed from internal/external DTD subsets.
|
Modifier and Type | Method and Description |
---|---|
protected EntityDecl |
StreamScanner.expandEntity(java.lang.String id,
boolean allowExt,
java.lang.Object extraArg)
Helper method that will try to expand a parsed entity (parameter or
generic entity).
|
private EntityDecl |
StreamScanner.expandUnresolvedEntity(java.lang.String id)
note: only called from the local expandEntity() method
|
protected EntityDecl |
BasicStreamReader.findEntity(java.lang.String id,
java.lang.Object arg) |
protected abstract EntityDecl |
StreamScanner.findEntity(java.lang.String id,
java.lang.Object arg)
Abstract method for sub-classes to implement, for finding
a declared general or parsed entity.
|
EntityDecl |
BasicStreamReader.getCurrentEntityDecl() |
EntityDecl |
StreamReaderImpl.getCurrentEntityDecl() |
protected EntityDecl |
StreamScanner.getIntEntity(int ch,
char[] originalChars)
Returns an entity (possibly from cache) for the argument character using the encoded
representation in mInputBuffer[entityStartPos ...
|
protected EntityDecl |
StreamScanner.resolveNonCharEntity()
Reverse of
StreamScanner.resolveCharOnlyEntity(boolean) ; will only resolve entity
if it is NOT a character entity (or pre-defined 'generic' entity;
amp, apos, lt, gt or quot). |
Modifier and Type | Method and Description |
---|---|
private void |
StreamScanner.expandEntity(EntityDecl ed,
boolean allowExt)
note: defined as private for documentation, ie.
|