org.zkoss.zk.ui.metainfo.impl
Class MacroDefinition

java.lang.Object
  extended by org.zkoss.zk.ui.metainfo.impl.ComponentDefinitionImpl
      extended by org.zkoss.zk.ui.metainfo.impl.MacroDefinition
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ComponentDefinition

public class MacroDefinition
extends ComponentDefinitionImpl

The macro component definition.

Since:
3.0.0
Author:
tomyeh
See Also:
ComponentDefinitionImpl.newMacroDefinition(org.zkoss.zk.ui.metainfo.LanguageDefinition, org.zkoss.zk.ui.metainfo.PageDefinition, java.lang.String, java.lang.Class, java.lang.String, boolean), Serialized Form

Method Summary
 java.lang.String getMacroURI()
          Returns the macro URI, or null if not a macro.
 boolean isInlineMacro()
          Returns whether this is an inline macro.
 boolean isMacro()
          Returns whether this is a macro component.
 
Methods inherited from class org.zkoss.zk.ui.metainfo.impl.ComponentDefinitionImpl
addAnnotation, addCustomAttribute, addMold, addProperty, applyAttributes, applyProperties, clone, clone, evalProperties, getAnnotationMap, getApply, getCurrentDirectory, getDeclarationURL, getDefaultWidgetClass, getImplementationClass, getLanguageDefinition, getMoldNames, getName, getParsedApply, getTextAs, getWidgetClass, hasMold, isBlankPreserved, isChildAllowedInTextAs, isInstance, isNative, newInstance, newInstance, newMacroDefinition, newNativeDefinition, resolveImplementationClass, setApply, setBlankPreserved, setChildAllowedInTextAs, setCurrentDirectory, setDeclarationURL, setDefaultWidgetClass, setImplementationClass, setImplementationClass, setTextAs, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isMacro

public boolean isMacro()
Description copied from interface: ComponentDefinition
Returns whether this is a macro component.

Specified by:
isMacro in interface ComponentDefinition
Overrides:
isMacro in class ComponentDefinitionImpl
See Also:
ComponentDefinition.getMacroURI()

getMacroURI

public java.lang.String getMacroURI()
Description copied from interface: ComponentDefinition
Returns the macro URI, or null if not a macro.

Specified by:
getMacroURI in interface ComponentDefinition
Overrides:
getMacroURI in class ComponentDefinitionImpl

isInlineMacro

public boolean isInlineMacro()
Description copied from interface: ComponentDefinition
Returns whether this is an inline macro. If false, you have to examine ComponentDefinition.isMacro() to see whether it is a regular macro.

Specified by:
isInlineMacro in interface ComponentDefinition
Overrides:
isInlineMacro in class ComponentDefinitionImpl


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo