public interface RIFFVisitor
RIFFVIsitor is notified each time the RIFFParser visits
a data chunk and when a group is entered or leaved.
-
Method Summary
Modifier and TypeMethodDescriptionvoidenterGroup(RIFFChunk group) This method is invoked when the parser enters a group chunk.booleanenteringGroup(RIFFChunk group) This method is invoked when the parser attempts to enter a group.voidleaveGroup(RIFFChunk group) This method is invoked when the parser leaves a group chunk.voidvisitChunk(RIFFChunk group, RIFFChunk chunk) This method is invoked when the parser has read a data chunk or has skipped a stop chunk.
-
Method Details
-
enteringGroup
This method is invoked when the parser attempts to enter a group. The visitor can return false, if the parse shall skip the group contents.- Parameters:
group-- Returns:
- True to enter the group, false to skip over the group.
-
enterGroup
This method is invoked when the parser enters a group chunk.- Throws:
ParseExceptionAbortException
-
leaveGroup
This method is invoked when the parser leaves a group chunk.- Throws:
ParseExceptionAbortException
-
visitChunk
This method is invoked when the parser has read a data chunk or has skipped a stop chunk.- Throws:
ParseExceptionAbortException
-