Interface StructureTreeEventHandler

    • Method Detail

      • startPageSequence

        void startPageSequence​(java.util.Locale locale,
                               java.lang.String role)
        Starts a page sequence structure tree node.
        Parameters:
        locale - The locale of the page sequence
        role - the value of the role property. May be null.
      • startNode

        StructureTreeElement startNode​(java.lang.String name,
                                       org.xml.sax.Attributes attributes,
                                       StructureTreeElement parent)
        Starts a structure tree node.
        Parameters:
        name - the name of the structure tree node
        attributes - the node properties
        parent - the parent of the node. May be null, in which case the parent node is the node corresponding to the previous call to this method
        Returns:
        the corresponding structure tree element
      • endNode

        void endNode​(java.lang.String name)
        Ends a structure tree node.
        Parameters:
        name - the name of the structure tree node
      • startImageNode

        StructureTreeElement startImageNode​(java.lang.String name,
                                            org.xml.sax.Attributes attributes,
                                            StructureTreeElement parent)
        Starts an image node.
        Parameters:
        name - the name of the structure tree node
        attributes - the node properties
        parent - the parent of the node. May be null, in which case the parent node is the node corresponding to the previous call to this method
        Returns:
        the corresponding structure tree element
      • startReferencedNode

        StructureTreeElement startReferencedNode​(java.lang.String name,
                                                 org.xml.sax.Attributes attributes,
                                                 StructureTreeElement parent)
        Starts a node that can be referenced by other nodes. This is usually a node that can have Marked Content References as children.
        Parameters:
        name - the name of the structure tree node
        attributes - the node properties
        parent - the parent of the node. May be null, in which case the parent node is the node corresponding to the previous call to this method
        Returns:
        the corresponding structure tree element
      • endPageSequence

        void endPageSequence()
        Ends a page sequence structure tree node.