|
ShrinkWrap Implementation Base 1.0.0-cr-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate<T>
public abstract class AbstractExporterDelegate<T>
AbstractExporterDelegate Abstract delegate used for archive export. Provides a template for exporters for handling archive contents.
| Constructor Summary | |
|---|---|
protected |
AbstractExporterDelegate(Archive<?> archive)
Creates a new abstract exporter delegate for the provided Archive |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractExporterDelegate(Archive<?> archive)
Archive
| Method Detail |
|---|
public final T export()
protected void doExport()
protected abstract void processNode(ArchivePath path,
Node node)
path - node - protected abstract T getResult()
protected Archive<?> getArchive()
|
ShrinkWrap Implementation Base 1.0.0-cr-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||