Klasse CollectAttributeSetTrueTransformer
java.lang.Object
org.apache.torque.templates.transformer.CollectAttributeSetTrueTransformer
Collects the children which have a certain attribute set to true
in another child element.
So the source elements are
rootElement
${childrenToProcessName}
...
${childrenToProcessName}
...
...
and the outcome is
rootElement
${childrenToProcessName}
...
${childrenToProcessName}
...
...
${targetElementName}
${childrenToProcessName}
...
...
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidtransform(SourceElement rootElement, ControllerState controllerState, SourceElementName childrenToProcessName, SourceAttributeName attributeToCheckName, SourceElementName targetElementName) Processes the transformation.
-
Konstruktordetails
-
CollectAttributeSetTrueTransformer
public CollectAttributeSetTrueTransformer()
-
-
Methodendetails
-
transform
public void transform(SourceElement rootElement, ControllerState controllerState, SourceElementName childrenToProcessName, SourceAttributeName attributeToCheckName, SourceElementName targetElementName) Processes the transformation.- Parameter:
rootElement- the root of the transformation.controllerState- the controller state, not null.childrenToProcessName- the name of the child elements to check.attributeToCheckName- the attribute in the child which is checked for the value "true"targetElementName- the child element which collects the hits.
-