Class BookmarkTitle

    • Constructor Detail

      • BookmarkTitle

        public BookmarkTitle​(FONode parent)
        Create a new BookmarkTitle object that is a child of the given FONode.
        Parameters:
        parent - the FONode parent
    • Method Detail

      • bind

        public void bind​(PropertyList pList)
                  throws FOPException
        Description copied from class: FObj
        Bind property values from the property list to the FO node. Must be overridden in all FObj subclasses that have properties applying to it.
        Overrides:
        bind in class FObj
        Parameters:
        pList - the PropertyList where the properties can be found.
        Throws:
        FOPException - if there is a problem binding the values
      • characters

        protected void characters​(char[] data,
                                  int start,
                                  int length,
                                  PropertyList pList,
                                  org.xml.sax.Locator locator)
        Add the characters to this BookmarkTitle. The text data inside the BookmarkTitle xml element is used for the BookmarkTitle string.
        Overrides:
        characters in class FONode
        Parameters:
        data - the character data
        start - the start position in the data array
        length - the length of the character array
        pList - currently applicable PropertyList
        locator - location in fo source file.
      • validateChildNode

        protected void validateChildNode​(org.xml.sax.Locator loc,
                                         java.lang.String nsURI,
                                         java.lang.String localName)
                                  throws ValidationException
        Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that fo:table is not an immediate child of fo:root) called from FOTreeBuilder.startElement(String, String, String, Attributes) before constructing the child FObj.
        XSL/FOP: empty
        Overrides:
        validateChildNode in class FONode
        Parameters:
        loc - location in the FO source file
        nsURI - namespace of incoming node
        localName - name of the incoming node (without namespace prefix)
        Throws:
        ValidationException - if incoming node not valid for parent
      • getTitle

        public java.lang.String getTitle()
        Get the title for this BookmarkTitle.
        Returns:
        the bookmark title
      • getLocalName

        public java.lang.String getLocalName()
        Returns the local name (i.e. without namespace prefix) of the node
        Specified by:
        getLocalName in class FONode
        Returns:
        the local name of this node