org.dom4j.io
Class SAXEventRecorder.SAXEvent

java.lang.Object
org.dom4j.io.SAXEventRecorder.SAXEvent
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- Enclosing class:
- SAXEventRecorder
- static class SAXEventRecorder.SAXEvent
- extends java.lang.Object
- implements java.io.Externalizable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
PROCESSING_INSTRUCTION
static final byte PROCESSING_INSTRUCTION
- See Also:
- Constant Field Values
START_PREFIX_MAPPING
static final byte START_PREFIX_MAPPING
- See Also:
- Constant Field Values
END_PREFIX_MAPPING
static final byte END_PREFIX_MAPPING
- See Also:
- Constant Field Values
START_DOCUMENT
static final byte START_DOCUMENT
- See Also:
- Constant Field Values
END_DOCUMENT
static final byte END_DOCUMENT
- See Also:
- Constant Field Values
START_ELEMENT
static final byte START_ELEMENT
- See Also:
- Constant Field Values
END_ELEMENT
static final byte END_ELEMENT
- See Also:
- Constant Field Values
CHARACTERS
static final byte CHARACTERS
- See Also:
- Constant Field Values
START_DTD
static final byte START_DTD
- See Also:
- Constant Field Values
END_DTD
static final byte END_DTD
- See Also:
- Constant Field Values
START_ENTITY
static final byte START_ENTITY
- See Also:
- Constant Field Values
END_ENTITY
static final byte END_ENTITY
- See Also:
- Constant Field Values
START_CDATA
static final byte START_CDATA
- See Also:
- Constant Field Values
END_CDATA
static final byte END_CDATA
- See Also:
- Constant Field Values
COMMENT
static final byte COMMENT
- See Also:
- Constant Field Values
ELEMENT_DECL
static final byte ELEMENT_DECL
- See Also:
- Constant Field Values
ATTRIBUTE_DECL
static final byte ATTRIBUTE_DECL
- See Also:
- Constant Field Values
INTERNAL_ENTITY_DECL
static final byte INTERNAL_ENTITY_DECL
- See Also:
- Constant Field Values
EXTERNAL_ENTITY_DECL
static final byte EXTERNAL_ENTITY_DECL
- See Also:
- Constant Field Values
event
protected byte event
parms
protected java.util.List parms
SAXEventRecorder.SAXEvent
public SAXEventRecorder.SAXEvent()
SAXEventRecorder.SAXEvent
SAXEventRecorder.SAXEvent(byte event)
addParm
void addParm(java.lang.Object parm)
getParm
java.lang.Object getParm(int index)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Description copied from interface:
java.io.Externalizable
- This method is responsible for writing the instance data of an object
to the passed in stream. Note that this stream is not a subclass of
OutputStream, but rather is a class that implements the
ObjectOutput interface. That interface provides a
number of methods
for writing Java data values to a stream.
Not that the implementation of this method must be coordinated with
the implementation of readExternal.
- Specified by:
writeExternal in interface java.io.Externalizable
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Description copied from interface:
java.io.Externalizable
- This method restores an object's state by reading in the instance data
for the object from the passed in stream. Note that this stream is not
a subclass of
InputStream, but rather is a class that
implements
the ObjectInput interface. That interface provides a
mechanism for
reading in Java data types from a stream.
Note that this method must be compatible with writeExternal.
It must read back the exact same types that were written by that
method in the exact order they were written.
If this method needs to read back an object instance, then the class
for that object must be found and loaded. If that operation fails,
then this method throws a ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable