类 ContainerKiteElement
- java.lang.Object
-
- com.github.developframework.kite.core.element.AbstractKiteElement
-
- com.github.developframework.kite.core.element.ContentKiteElement
-
- com.github.developframework.kite.core.element.ContainerKiteElement
-
- 所有已实现的接口:
ContainChildElementable,KiteElement
public abstract class ContainerKiteElement extends ContentKiteElement implements ContainChildElementable
容器节点- 作者:
- qiuzhenhao
-
-
字段概要
字段 修饰符和类型 字段 说明 protected List<KiteElement>childKiteElementsprotected Class<?>forClassprotected List<String>ignorePropertyNames-
从类继承的字段 com.github.developframework.kite.core.element.ContentKiteElement
alias, converterValue, dataDefinition, nullHidden
-
从类继承的字段 com.github.developframework.kite.core.element.AbstractKiteElement
configuration, templateLocation
-
-
构造器概要
构造器 构造器 说明 ContainerKiteElement(KiteConfiguration configuration, TemplateLocation templateLocation, DataDefinition dataDefinition, String alias)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddChildElement(KiteElement kiteElement)增加子节点voidaddIgnoreProperty(String propertyName)增加忽略属性Iterator<KiteElement>childElementIterator()返回子节点列表的迭代器voidcopyChildElement(ContainChildElementable otherContainer)复制其它容器的子节点voidcopyChildElement(ContainerKiteElement otherContainerElement)List<KiteElement>getChildKiteElements()返回子节点列表booleanisChildElementEmpty()判断是否是空子节点voidloadForClassAllProperty()加载for-class的全部属性voidsetForClass(String className)设置for-class-
从类继承的方法 com.github.developframework.kite.core.element.ContentKiteElement
getConverterValue, setNullHidden, showNameJSON, showNameXML
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 com.github.developframework.kite.core.element.KiteElement
createJsonProcessor, createXmlProcessor
-
-
-
-
字段详细资料
-
childKiteElements
protected List<KiteElement> childKiteElements
-
forClass
protected Class<?> forClass
-
-
构造器详细资料
-
ContainerKiteElement
public ContainerKiteElement(KiteConfiguration configuration, TemplateLocation templateLocation, DataDefinition dataDefinition, String alias)
-
-
方法详细资料
-
setForClass
public void setForClass(String className)
设置for-class- 参数:
className- 类名
-
addIgnoreProperty
public final void addIgnoreProperty(String propertyName)
增加忽略属性- 参数:
propertyName- 属性名称
-
loadForClassAllProperty
public final void loadForClassAllProperty()
加载for-class的全部属性
-
copyChildElement
public void copyChildElement(ContainerKiteElement otherContainerElement)
-
addChildElement
public void addChildElement(KiteElement kiteElement)
从接口复制的说明:ContainChildElementable增加子节点- 指定者:
addChildElement在接口中ContainChildElementable- 参数:
kiteElement- 子节点
-
copyChildElement
public final void copyChildElement(ContainChildElementable otherContainer)
从接口复制的说明:ContainChildElementable复制其它容器的子节点- 指定者:
copyChildElement在接口中ContainChildElementable- 参数:
otherContainer- 其它容器
-
childElementIterator
public final Iterator<KiteElement> childElementIterator()
从接口复制的说明:ContainChildElementable返回子节点列表的迭代器- 指定者:
childElementIterator在接口中ContainChildElementable- 返回:
- 子节点列表的迭代器
-
isChildElementEmpty
public final boolean isChildElementEmpty()
从接口复制的说明:ContainChildElementable判断是否是空子节点- 指定者:
isChildElementEmpty在接口中ContainChildElementable- 返回:
- 判断结果
-
getChildKiteElements
public final List<KiteElement> getChildKiteElements()
从接口复制的说明:ContainChildElementable返回子节点列表- 指定者:
getChildKiteElements在接口中ContainChildElementable- 返回:
- 子节点列表
-
-