|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use DocContext | |
| com.ricebridge.xmlman.in | |
| Uses of DocContext in com.ricebridge.xmlman.in |
| Methods in com.ricebridge.xmlman.in that return DocContext | |
DocContext |
DocContext.copy(XmlSpec pXmlSpec)
Create a copy, with new XmlSpec. |
| Methods in com.ricebridge.xmlman.in with parameters of type DocContext | |
void |
TriggerSupport.execute(TargetPath pTargetPath,
StartPoint pStartPoint,
DocContext pDocContext,
boolean pConditionMatch)
Helper method. |
void |
TriggerSupport.execute(TargetPath pTargetPath,
EndPoint pEndPoint,
DocContext pDocContext,
boolean pConditionMatch)
Helper method. |
protected abstract void |
TriggerSupport.executeImpl(TargetPath pTargetPath,
StartPoint pStartPoint,
DocContext pDocContext,
boolean pConditionMatch)
Implement to perform actions. |
protected abstract void |
TriggerSupport.executeImpl(TargetPath pTargetPath,
EndPoint pEndPoint,
DocContext pDocContext,
boolean pConditionMatch)
Implement to perform actions. |
void |
Trigger.execute(TargetPath pTargetPath,
StartPoint pStartPoint,
DocContext pDocContext,
boolean pConditionMatch)
Execute on element start tag match. |
void |
Trigger.execute(TargetPath pTargetPath,
EndPoint pEndPoint,
DocContext pDocContext,
boolean pConditionMatch)
Execute on element end tag match. |
void |
TextAppender.append(String pText,
DocContext pDocContext)
Append the specified text. |
void |
TargetPath.addTrigger(DocContext pDocContext,
Trigger pTrigger)
Add a Trigger to be executed when this path matches. |
void |
TargetPath.removeTrigger(DocContext pDocContext,
Trigger pTrigger)
Remove a match Trigger. |
boolean |
TargetPath.active(DocContext pDocContext)
Indicate that this path is active for the specified document context. |
void |
TargetPath.activate(int pDepth,
DocContext pDocContext)
Activate this path and its precursors (subpaths are activated on target match). |
void |
TargetPath.deactivate(DocContext pDocContext)
Deactivate this path, its subpaths and precursors. |
void |
TargetPath.setRequiresDeactivation(DocContext pDocContext,
boolean pRequiresDeactivation)
Mark this path for deactivation by PointHandler. |
boolean |
TargetPath.requiresDeactivation(DocContext pDocContext)
Indicate that this path is marked for deactivation. |
void |
TargetPath.setFullRequiresClear(DocContext pDocContext,
boolean pRequiresClear,
String pReason)
Mark this path for data field clearing, and also its subpaths. |
boolean |
TargetPath.requiresClear(DocContext pDocContext)
Indicate that this path is marked for data field clearing. |
void |
TargetPath.reset(DocContext pDocContext)
Reset this path for a new document. |
void |
TargetPath.clear(DocContext pDocContext)
Clear the data value of this path. |
List |
TargetPath.handleStartPoint(StartPoint pStartPoint,
DocContext pDocContext)
Handle a StartPoint event. |
boolean |
TargetPath.handleEndPoint(EndPoint pEndPoint,
DocContext pDocContext)
Handle an EndPoint event. |
Object |
TargetPath.getValue(DocContext pDocContext)
Get the current data field value of this path. |
com.ricebridge.xmlman.tp.Context |
TargetPath.getContext(DocContext pDocContext)
Get the current Jaxen Context of this path. |
int |
TargetPath.getMatchCount(DocContext pDocContext)
Get the number of times this path has matched. |
void |
TargetPath.pushContext(int pDepth,
boolean pReplicate,
DocContext pDocContext)
Push the current path context onto the path context stack. |
List |
SubPathManager.activate(StartPoint pStartPoint,
DocContext pDocContext)
Activate the subpaths and pass in the specified StartPoint. |
void |
SubPathManager.complete(EndPoint pEndPoint,
DocContext pDocContext)
Pass the matching EndPoint to the subpaths. |
void |
SubPathManager.deactivate(DocContext pDocContext)
Deactivate the subpaths. |
void |
SubPathManager.setRequiresDeactivation(DocContext pDocContext,
boolean pRequiresDeactivation)
Mark the subpaths for deactivation. |
void |
SubPathManager.setRequiresClear(DocContext pDocContext,
boolean pRequiresClear,
TargetPath pSource,
String pReason)
Mark the subpaths to have their data values cleared. |
void |
SaxHandler.setDocContext(DocContext pDocContext)
Set the DocContext against which events are handled. |
protected void |
RecordTrigger.executeImpl(TargetPath pTargetPath,
StartPoint pStartPoint,
DocContext pDocContext,
boolean pConditionMatch)
Does nothing on element start tag event. |
protected void |
RecordTrigger.executeImpl(TargetPath pTargetPath,
EndPoint pEndPoint,
DocContext pDocContext,
boolean pConditionMatch)
Create data record when data record element end tag is reached. |
void |
PointHandler.setDocContext(DocContext pDocContext)
Set the DocContext of the point events. |
void |
PathPart.clearPredicateSubPaths(DocContext pDocContext)
Clear the TargetPath data values of paths that are in the condition predicate of this path part. |
boolean |
PathPart.match(PartContext pPartContext,
DocContext pDocContext)
Check whether the condition of this part matches against the current parse context. |
void |
PathContext.descend(TargetPath pTargetPath,
int pDepth,
DocContext pDocContext)
Move to next search part. |
void |
PathContext.clearPredicateSubPaths(DocContext pDocContext)
Clear data values from sub paths that are in predicates. |
void |
PathContext.handleTarget(TargetPath pTargetPath,
StartPoint pStartPoint,
int pDepth,
DocContext pDocContext)
On match of target element start tag (final path part), collect values. |
boolean |
PathContext.matchConditions(TargetPath pTargetPath,
DocContext pDocContext)
Test for match of conditions on all path parts. |
boolean |
Condition.isMatch(PartContext pPartContext,
DocContext pDocContext)
Check if condition matches - true by default to avoid losing data. |
void |
Condition.clearSubPaths(DocContext pDocContext)
Clear the XPaths that define this condition so that they can be reused on the next record. |
| Constructors in com.ricebridge.xmlman.in with parameters of type DocContext | |
PointHandler(List pTargetPaths,
DocContext pDocContext)
Create using a list of TargetPaths and a DocContext. |
|
PathContext(TargetPath pTargetPath,
int pDepth,
DocContext pDocContext)
Create from TargetPath for current document context. |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||