Action methods are invoked as the XML file is parsed.
This class is largely inspired from the relevant class in the commons-digester project of the Apache Software Foundation.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| public abstract void | begin(SaxEventInterpretationContext intercon, String name, Attributes attributes)
Called when the parser encounters an element matching a
|
| public void | body(SaxEventInterpretationContext intercon, String body)
Called to pass the body (as text) contained within an element. |
| public abstract void | |
| protected int | |
| protected String | |
| public static int | |
| protected String | |
| public String |
| ACTION_CLASS_ATTRIBUTE | back to summary |
|---|---|
| public static final String ACTION_CLASS_ATTRIBUTE | |
| CLASS_ATTRIBUTE | back to summary |
|---|---|
| public static final String CLASS_ATTRIBUTE | |
| FILE_ATTRIBUTE | back to summary |
|---|---|
| public static final String FILE_ATTRIBUTE | |
| KEY_ATTRIBUTE | back to summary |
|---|---|
| public static final String KEY_ATTRIBUTE | |
| NAME_ATTRIBUTE | back to summary |
|---|---|
| public static final String NAME_ATTRIBUTE | |
| PATTERN_ATTRIBUTE | back to summary |
|---|---|
| public static final String PATTERN_ATTRIBUTE | |
| SCOPE_ATTRIBUTE | back to summary |
|---|---|
| public static final String SCOPE_ATTRIBUTE | |
| VALUE_ATTRIBUTE | back to summary |
|---|---|
| public static final String VALUE_ATTRIBUTE | |
| Action | back to summary |
|---|---|
| public Action() | |
| atLine | back to summary |
|---|---|
| protected String atLine(SaxEventInterpretationContext intercon) | |
| begin | back to summary |
|---|---|
| public abstract void begin(SaxEventInterpretationContext intercon, String name, Attributes attributes) throws ActionException Called when the parser encounters an element matching a
| |
| body | back to summary |
|---|---|
| public void body(SaxEventInterpretationContext intercon, String body) throws ActionException Called to pass the body (as text) contained within an element. | |
| end | back to summary |
|---|---|
| public abstract void end(SaxEventInterpretationContext intercon, String name) throws ActionException | |
| getColumnNumber | back to summary |
|---|---|
| protected int getColumnNumber(SaxEventInterpretationContext intercon) | |
| getLineColStr | back to summary |
|---|---|
| protected String getLineColStr(SaxEventInterpretationContext intercon) | |
| getLineNumber | back to summary |
|---|---|
| public static int getLineNumber(SaxEventInterpretationContext intercon) | |
| nearLine | back to summary |
|---|---|
| protected String nearLine(SaxEventInterpretationContext intercon) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |