public abstract class AbstractExporterDelegate<T> extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractExporterDelegate(Archive<?> archive)
Creates a new abstract exporter delegate for the provided
Archive |
Modifier and Type | Method and Description |
---|---|
protected void |
doExport()
Primary method providing a template for exporting the contents of an archive
|
T |
export()
Runs the export operation, returning the result
|
protected Archive<?> |
getArchive()
Return the archive being exported
|
protected abstract T |
getResult()
Return the results of the export.
|
protected abstract void |
processNode(ArchivePath path,
Node node)
Template method for processing a single node.
|
public final T export()
protected void doExport()
protected abstract void processNode(ArchivePath path, Node node)
path
- node
- protected abstract T getResult()
protected Archive<?> getArchive()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.