|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--com.raritech.xml.sax.filter.CDataInserter
This class is a subclass of ElementModifier that can insert a character string before or after some pattern.
| Constructor Summary | |
CDataInserter(java.lang.String insertString,
java.lang.String matchPattern,
boolean insertAfterPattern)
|
|
| Method Summary | |
void |
filterCData(CDataContent dataContent)
Filter the character source and send the modified character events to the ContentHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CDataInserter(java.lang.String insertString,
java.lang.String matchPattern,
boolean insertAfterPattern)
| Method Detail |
public void filterCData(CDataContent dataContent)
CDataModifierfilterCData in interface CDataModifiercom.raritech.xml.sax.filter.CDataModifiercHandler - The ContentHandler that is to receive the modified character events.
This is sent by the ProgrammableSAXFilter that utilizes this
CDataModifier.source - the original character array source.start - the start position of the characters to be filtered by this object.length - the length of the block of characters to be filtered by this object.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||