public abstract class ContainerElement extends DescribeContentElement
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<Element> |
childElements |
protected Class<?> |
clazz |
protected List<String> |
ignorePropertyNames |
alias, data, nullHiddenconfiguration| 构造器和说明 |
|---|
ContainerElement(JsonviewConfiguration configuration,
String data,
String alias) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addChildElement(Element element)
add child element
|
void |
addIgnoreProperty(String propertyName)
add ignore property
|
void |
copyChildElement(ContainerElement containerElement)
Copy other child of a container element set to self
|
Iterator<Element> |
elementIterator()
Return the element set of iterators
|
boolean |
isChildEmpty()
Determine whether a child element set to an empty set
|
boolean |
isIgnore(Field field)
Determine whether to ignore the property field
|
void |
loadClassProperty()
Load classes all properties
|
equals, isNullHidden, setNullHidden, showNamecreateProcessorprotected Class<?> clazz
public ContainerElement(JsonviewConfiguration configuration, String data, String alias)
public void addChildElement(Element element)
element - child elementpublic void addIgnoreProperty(String propertyName)
propertyName - ignore property namepublic boolean isIgnore(Field field)
field - fieldpublic void loadClassProperty()
public void copyChildElement(ContainerElement containerElement)
containerElement - container elementpublic Iterator<Element> elementIterator()
public boolean isChildEmpty()
Copyright © 2016–2017. All rights reserved.