Class ContentSaxer

    • Method Detail

      • saxBody

        protected void saxBody​(Content content,
                               ContentHandler contentHandler,
                               Locale locale,
                               View view,
                               String tagName,
                               boolean saxWorkflowStep,
                               boolean saxWorkflowInfo,
                               boolean saxLanguageInfo,
                               String attributesTagName,
                               boolean isEdition)
                        throws SAXException
        Description copied from class: ContentSaxer
        Generates SAX events for the content data.
        Overrides:
        saxBody in class ContentSaxer
        Parameters:
        content - the Content.
        contentHandler - the ContentHandler receving SAX events.
        locale - the Locale to use for eg. multilingual attributes.
        view - the View or null to select all attributes.
        tagName - the surrounding tag name or null to SAX events without root tag.
        saxWorkflowStep - if true, also produces SAX events for the current workflow step.
        saxWorkflowInfo - if true, also produces SAX events for detailed information about the current workflow step.
        saxLanguageInfo - if true, also produces SAX events for detailed information about the content language.
        attributesTagName - the name of the tag surrounding attributes. Used for legacy purposes.
        isEdition - true if SAX events are generated in edition mode, false otherwise
        Throws:
        SAXException - if an error occurs during the SAX events generation.