Class HtmlDoctype

All Implemented Interfaces:
Doctype, PartialStateHolder, StateHolder, TransientStateHolder, ValueHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder, EventListener

public class HtmlDoctype extends UIOutput implements Doctype
NONE

By default, the rendererType property must be set to "jakarta.faces.Doctype". This value can be changed by calling the setRendererType() method.

  • Field Details

    • COMPONENT_TYPE

      public static final String COMPONENT_TYPE

      The standard component type for this component.

      See Also:
  • Constructor Details

    • HtmlDoctype

      public HtmlDoctype()
  • Method Details

    • getPublic

      public String getPublic()

      Return the value of the public property.

      Specified by:
      getPublic in interface Doctype
      Returns:
      the property value

      Contents:

      Will be output as the public part of the DOCTYPE
    • setPublic

      public void setPublic(String _public)

      Set the value of the public property.

      Parameters:
      _public - the new property value
    • getRootElement

      public String getRootElement()

      Return the value of the rootElement property.

      Specified by:
      getRootElement in interface Doctype
      Returns:
      the property value

      Contents:

      The root XML element
    • setRootElement

      public void setRootElement(String rootElement)

      Set the value of the rootElement property.

      Parameters:
      rootElement - the new property value
    • getSystem

      public String getSystem()

      Return the value of the system property.

      Specified by:
      getSystem in interface Doctype
      Returns:
      the property value

      Contents:

      Will be output as the system part of the DOCTYPE
    • setSystem

      public void setSystem(String system)

      Set the value of the system property.

      Parameters:
      system - the new property value