public class LoadAllSourceFilesTransformer extends Object implements SourceTransformer
| Constructor and Description | 
|---|
| LoadAllSourceFilesTransformer() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| String | getAddTo()Returns the path to the source element to where the new elements
 are added. | 
| String | getNewElement()Returns the name of the new element(s) into which a loaded source
 is added / the loaded sources are added. | 
| int | hashCode() | 
| boolean | isCombineSources()Returns whether all sources are be loaded into one new Element. | 
| void | setAddTo(String addTo)Sets the path to the source element to where the new elements
 are added. | 
| void | setCombineSources(boolean combineSources)Sets whether all sources are be loaded into one new Element. | 
| void | setNewElement(String newElement)Sets the name of the new element(s) into which a loaded source
 is added / the loaded sources are added. | 
| Object | transform(Object rootObject,
         ControllerState controllerState)Loads the additional source into the current source graph. | 
public Object transform(Object rootObject, ControllerState controllerState) throws SourceTransformerException
transform in interface SourceTransformerrootObject - the root of the source graph, not null.controllerState - the controller state, not null.SourceTransformerException - if the additional source
         cannot be loaded or the element to add to does not exist.public String getAddTo()
public void setAddTo(String addTo)
addTo - the path to the anchor element.public String getNewElement()
public void setNewElement(String newElement)
newElement - the name of the new element.public boolean isCombineSources()
public void setCombineSources(boolean combineSources)
combineSources - whether all sources are be loaded
        into one new Element.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.