org.broadleafcommerce.common.extensibility.context.merge
Class ImportProcessor
java.lang.Object
org.broadleafcommerce.common.extensibility.context.merge.ImportProcessor
public class ImportProcessor
- extends Object
This class serves to parse any passed in source application context files and
look for the Spring "import" element. If found, the resource of the import element
is retrieved and set as another source element after the current one. Also, once the
resource is retrieved and included, the import element is deleted from the source
document.
- Author:
- Jeff Fischer
|
Constructor Summary |
ImportProcessor(org.springframework.context.ApplicationContext applicationContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
builder
protected DocumentBuilder builder
xPath
protected XPath xPath
ImportProcessor
public ImportProcessor(org.springframework.context.ApplicationContext applicationContext)
extract
public ResourceInputStream[] extract(ResourceInputStream[] sources)
throws MergeException
- Throws:
MergeException
Copyright © 2013. All Rights Reserved.