public abstract class MappingAction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MappingAction.Base
Basic action.
|
Modifier and Type | Field and Description |
---|---|
static MappingAction |
EMPTY |
static MappingAction |
IGNORE |
Constructor and Description |
---|
MappingAction() |
Modifier and Type | Method and Description |
---|---|
abstract MappingAction |
begin(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Executes mapping action on new element.
|
abstract void |
body(String text,
ReadContext context)
Executes mapping action for element body text
|
abstract void |
end(ReadContext context)
Executes mapping action one element ends
|
abstract MappingAction |
next(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context) |
public static final MappingAction EMPTY
public static final MappingAction IGNORE
public abstract MappingAction next(String namespace, String name, org.xml.sax.Attributes attributes, ReadContext context) throws Exception
Exception
public abstract MappingAction begin(String namespace, String name, org.xml.sax.Attributes attributes, ReadContext context) throws Exception
namespace
- name
- attributes
- Attributes not nullcontext
- Context not nullException
public abstract void body(String text, ReadContext context) throws Exception
text
- context
- Exception
public abstract void end(ReadContext context) throws Exception
context
- Exception
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.