|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.bellows.transform.QueryTransformer org.umber.bellows.transform.AttributeQueryTransformer
Query transformer that adds handling for attributes.
Constructor Summary | |
AttributeQueryTransformer(IDatumTransformer transformer)
Creates a new instance of AttributeQueryTransformer. |
Method Summary | |
protected void |
applyDestinationNodes(Datum[] output,
Datum[] destNodes)
Applies all transform output nodes to all destination nodes. |
protected void |
deleteSourceNodes(Datum[] sourceNodes)
Deletes all source nodes. |
void |
setAttributeName(java.lang.String attributeName)
Assigns the name of the source attribute to copy. |
void |
setPosition(int pos)
Determines which child index position in each destination node to insert the source node. |
Methods inherited from class org.umber.bellows.transform.QueryTransformer |
setDeleteSource, setDestinationQuery, setSourceQuery, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttributeQueryTransformer(IDatumTransformer transformer)
transformer
- wrapped transformerMethod Detail |
public void setAttributeName(java.lang.String attributeName)
attributeName
- name of source node attributepublic void setPosition(int pos)
pos
- index position to insert copies intoprotected void applyDestinationNodes(Datum[] output, Datum[] destNodes)
applyDestinationNodes
in class QueryTransformer
output
- array of transform output nodesdestNodes
- array of all destination nodesprotected void deleteSourceNodes(Datum[] sourceNodes)
deleteSourceNodes
in class QueryTransformer
sourceNodes
- all nodes selected by the source query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |