Interface Native

All Superinterfaces:
NonFellow
All Known Implementing Classes:
HtmlNativeComponent

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 Details

    • getDeclaredNamespaces

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

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

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

      Default: empty ("").

    • setPrologContent

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

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

      Default: empty ("").

    • setEpilogContent

      void setEpilogContent(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.