Package org.docx4j.model.datastorage
Class BookmarkHandlerStAX
java.lang.Object
org.docx4j.openpackaging.parts.StAXHandlerAbstract
org.docx4j.model.datastorage.BookmarkHandlerStAX
- All Implemented Interfaces:
StAXHandlerInterface
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidhandle(XMLStreamReader xsr, XMLStreamWriter xmlWriter) voidhandleCharacters(XMLStreamReader xmlr, XMLStreamWriter writer) Implement this method; for an example, see VariableReplaceStAX sampleMethods inherited from class org.docx4j.openpackaging.parts.StAXHandlerAbstract
write
-
Field Details
-
context
public static jakarta.xml.bind.JAXBContext context
-
-
Constructor Details
-
BookmarkHandlerStAX
public BookmarkHandlerStAX()
-
-
Method Details
-
getHighestId
public int getHighestId() -
handle
public void handle(XMLStreamReader xsr, XMLStreamWriter xmlWriter) throws LocationAwareXMLStreamException, XMLStreamException - Specified by:
handlein interfaceStAXHandlerInterface- Overrides:
handlein classStAXHandlerAbstract- Throws:
LocationAwareXMLStreamExceptionXMLStreamException
-
handleCharacters
public void handleCharacters(XMLStreamReader xmlr, XMLStreamWriter writer) throws XMLStreamException Description copied from class:StAXHandlerAbstractImplement this method; for an example, see VariableReplaceStAX sample- Specified by:
handleCharactersin classStAXHandlerAbstract- Throws:
XMLStreamException
-