Interface Native

  • All Superinterfaces:
    NonFellow
    All Known Implementing Classes:
    HtmlNativeComponent, XmlNativeComponent

    public interface Native
    extends NonFellow
    Implemented with Component to represent a native component. The native component is used to implement the feature of the Native namespace (http://www.zkoss.org/2005/zk/native).
    Since:
    3.0.0
    Author:
    tomyeh
    • Method Detail

      • getDeclaredNamespaces

        java.util.List<Namespace> getDeclaredNamespaces()
        Returns a readonly list of the declared namespaces (Namespace), or empty if no declared namespace.
      • addDeclaredNamespace

        void addDeclaredNamespace​(Namespace ns)
        Adds a declared namespace. The added declared namespace will be generated to the output.
        Parameters:
        ns - the namespace (never null).
      • getPrologContent

        java.lang.String getPrologContent()
        Returns the prolog content. It is the content generated before the child components, if any.

        Default: empty ("").

      • setPrologContent

        void setPrologContent​(java.lang.String prolog)
        Sets the prolog content. It is the content generated before the child components, if any.
      • getEpilogContent

        java.lang.String getEpilogContent()
        Returns the epilog content. It is the content generated before the child components, if any.

        Default: empty ("").

      • setEpilogContent

        void setEpilogContent​(java.lang.String epilog)
        Sets the epilog content. It is the content generated before the child components, if any.
      • getHelper

        Native.Helper getHelper()
        Returns the helper to generate the output of the native components.