Class AbstractRetrieveMarker

    • Constructor Detail

      • AbstractRetrieveMarker

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

      • 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 Content Model: 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
      • bind

        public void bind​(PropertyList pList)
                  throws FOPException
        Bind property values from the property list to the FO node. Must be overridden in all FObj subclasses that have properties applying to it. Store a reference to the parent PropertyList to be used when the retrieve-marker is resolved.
        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
      • setStructureTreeElement

        public void setStructureTreeElement​(StructureTreeElement structureTreeElement)
        Description copied from class: FONode
        Sets the structure tree element.
        Overrides:
        setStructureTreeElement in class FONode
        Parameters:
        structureTreeElement - set.
      • bindMarker

        public void bindMarker​(Marker marker)
        Clone the subtree of the given marker
        Parameters:
        marker - the marker that is to be cloned
      • restoreFOEventHandlerState

        protected abstract void restoreFOEventHandlerState()
      • getRetrieveClassName

        public java.lang.String getRetrieveClassName()
        Return the value for the retrieve-class-name property
        Returns:
        the value for retrieve-class-name
      • setBoundaryLabel

        protected void setBoundaryLabel​(java.lang.String label)
      • setPositionLabel

        protected void setPositionLabel​(java.lang.String label)
      • getBoundaryLabel

        public java.lang.String getBoundaryLabel()
      • getPositionLabel

        public java.lang.String getPositionLabel()
      • setPosition

        protected void setPosition​(int position)
      • setBoundary

        protected void setBoundary​(int boundary)
      • getPosition

        public int getPosition()
      • getBoundary

        public int getBoundary()
      • getLocalName

        public abstract java.lang.String getLocalName()
        Description copied from class: FONode
        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
      • changePositionTo

        public void changePositionTo​(int position)