Package org.apache.axis.message
Class SAX2EventRecorder
java.lang.Object
org.apache.axis.message.SAX2EventRecorder
This class records SAX2 Events and allows
the events to be replayed by start and stop index
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
characters
(char[] p1, int p2, int p3) void
clear()
void
comment
(char[] ch, int start, int length) void
endCDATA()
int
void
endDTD()
int
endElement
(String p1, String p2, String p3) void
int
int
int
ignorableWhitespace
(char[] p1, int p2, int p3) int
newElement
(MessageElement elem) int
processingInstruction
(String p1, String p2) void
replay
(int start, int stop, ContentHandler handler) void
replay
(ContentHandler handler) int
int
skippedEntity
(String p1) void
int
void
int
startElement
(String p1, String p2, String p3, Attributes p4) void
startEntity
(String name) int
startPrefixMapping
(String p1, String p2)
-
Constructor Details
-
SAX2EventRecorder
public SAX2EventRecorder()
-
-
Method Details
-
clear
public void clear() -
getLength
public int getLength() -
setDocumentLocator
-
startDocument
public int startDocument() -
endDocument
public int endDocument() -
startPrefixMapping
-
endPrefixMapping
-
startElement
-
endElement
-
characters
public int characters(char[] p1, int p2, int p3) -
ignorableWhitespace
public int ignorableWhitespace(char[] p1, int p2, int p3) -
processingInstruction
-
skippedEntity
-
startDTD
-
endDTD
public void endDTD() -
startEntity
-
endEntity
-
startCDATA
public void startCDATA() -
endCDATA
public void endCDATA() -
comment
public void comment(char[] ch, int start, int length) -
newElement
-
replay
- Throws:
SAXException
-
replay
- Throws:
SAXException
-