| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
cData
callback cache
|
private int |
currentDepth
callback cache:
walkthrough counter in xml tree
|
private java.util.List<SaxParser.Record<CI,RI>> |
filteredChildren
callback cache:
contains records if defined by nested context
|
CI |
info
can be used by upper application Layer
Sax parser does not use it.
|
private long |
matchHistory
callback cache:
0=true (stays true if all tree walk through is match)
|
private SaxParser.Context<CI,RI> |
parent
the context from relative parent Tag
|
private java.util.Properties |
targetAttrVals
callback cache
|
private java.lang.String[] |
xmlSearchPattern
search params
|
| Modifier | Constructor and Description |
|---|---|
private |
Context() |
private |
Context(SaxParser.Context<CI,RI> parent,
java.lang.String[] xmlSearchPattern) |
| Modifier and Type | Method and Description |
|---|---|
private void |
decrementHistory()
focus back to prev upper level of xml depth
|
private void |
incrementHistory()
focus to next deeper level of xml depth
|
private boolean |
isMatch()
says if this level can be parsed
Important; this method works only
if inc/dec/updateHistory() is done before correctly
i.e. oneOrMore: ( 1. inc(), 2.
|
private void |
updateHistory(java.lang.String tagName,
org.xml.sax.Attributes attributes)
check if current depth is a possible fetch tree.
|
private java.lang.String[] xmlSearchPattern
private SaxParser.Context<CI,RI> parent
private long matchHistory
private int currentDepth
private java.util.Properties targetAttrVals
private java.lang.String cData
private java.util.List<SaxParser.Record<CI,RI>> filteredChildren
public CI info
private Context()
private Context(SaxParser.Context<CI,RI> parent, java.lang.String[] xmlSearchPattern)
private boolean isMatch()
currentDepth - private void incrementHistory()
private void decrementHistory()
private void updateHistory(java.lang.String tagName,
org.xml.sax.Attributes attributes)
currentDepth - tagName - can be a "name" or fine search "name#attribName=value" this can help to distinguish same tags using their attributestagAttributes -