public abstract class LazyGroupPropertyDefinition extends DefaultGroupPropertyDefinition
asProperty
Modifier and Type | Field and Description |
---|---|
protected XmlIndex |
index
The XML index that can be used to resolve needed objects
|
name
Constructor and Description |
---|
LazyGroupPropertyDefinition(QName name,
DefinitionGroup parentGroup,
XmlIndex index,
boolean allowFlatten)
Create a lazy group property definition
|
Modifier and Type | Method and Description |
---|---|
ChildDefinition<?> |
getChild(QName name)
Get the child with the given name
|
Collection<? extends ChildDefinition<?>> |
getDeclaredChildren()
Get the properties and property groups declared by the type
|
protected abstract void |
initChildren()
Initialize the children.
|
addChild, allowFlatten, asGroup, asProperty, toString
getDeclaringGroup, getIdentifier, getParentType
compareTo, equals, getConstraint, getDescription, getDisplayName, getInheritedConstraint, getLocation, getName, hasConstraint, hashCode, setConstraint, setConstraintIfNotSet, setDescription, setLocation
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getIdentifier
getDeclaringGroup, getParentType
getConstraint, getDescription, getDisplayName, getIdentifier, getName
getLocation
compareTo
protected final XmlIndex index
public LazyGroupPropertyDefinition(QName name, DefinitionGroup parentGroup, XmlIndex index, boolean allowFlatten)
name
- the group nameparentGroup
- the parent groupindex
- the XML indexallowFlatten
- if the group may be replaced by its childrenprotected abstract void initChildren()
DefaultGroupPropertyDefinition.addChild(ChildDefinition)
can be used
to add them.public Collection<? extends ChildDefinition<?>> getDeclaredChildren()
DefinitionGroup
getDeclaredChildren
in interface DefinitionGroup
getDeclaredChildren
in class DefaultGroupPropertyDefinition
DefaultGroupPropertyDefinition.getDeclaredChildren()
public ChildDefinition<?> getChild(QName name)
DefinitionGroup
getChild
in interface DefinitionGroup
getChild
in class DefaultGroupPropertyDefinition
name
- the child namenull
if no child with the
given name is availableDefaultGroupPropertyDefinition.getChild(QName)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a