Package org.zkoss.zk.ui.ext
Interface Native
- All Superinterfaces:
NonFellow
- All Known Implementing Classes:
HtmlNativeComponent,XmlNativeComponent
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe helper to generate the output for the native component. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a declared namespace.Returns a readonly list of the declared namespaces (Namespace), or empty if no declared namespace.Returns the epilog content.Returns the helper to generate the output of the native components.Returns the prolog content.voidsetEpilogContent(String epilog) Sets the epilog content.voidsetPrologContent(String prolog) Sets the prolog content.
-
Method Details
-
getDeclaredNamespaces
Returns a readonly list of the declared namespaces (Namespace), or empty if no declared namespace. -
addDeclaredNamespace
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
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
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.
-