Class WebTextBoxDepictor<C extends TextBox>

    • Constructor Detail

      • WebTextBoxDepictor

        public WebTextBoxDepictor()
        Default constructor using the XHTML <div> element.
    • Method Detail

      • getLocalName

        public java.lang.String getLocalName()
        Determines the local name of the XML element.

        This version returns special section elements if the component is a SectionComponent with a non-null section type.

        Overrides:
        getLocalName in class AbstractWebComponentDepictor<C extends TextBox>
        Returns:
        The local name of the element with no prefix, or null if this component should not be rendered as an element.
      • depictChildren

        protected void depictChildren()
                               throws java.io.IOException
        Depicts any child components.

        This version does not call the super version, because all child rendering is controlled by this version.

        Overrides:
        depictChildren in class AbstractComponentDepictor<C extends TextBox>
        Throws:
        java.io.IOException - if there is an error updating the child depictions.
      • updateElement

        protected void updateElement​(org.w3c.dom.Element element)
                              throws java.io.IOException
        Renders an XML element. If there is a child component with constraints indicating the same ID as this element, that child component will be rendered in place of this element.
        Parameters:
        element - The element the content of which should be rendered.
        Throws:
        java.io.IOException - if there is an error rendering the component.
      • updateElementContent

        protected void updateElementContent​(org.w3c.dom.Element element)
                                     throws java.io.IOException
        Renders the content of an XML element.
        Parameters:
        element - The element the content of which should be rendered.
        Throws:
        java.io.IOException - if there is an error rendering the component.