public interface ArtifactGenerator
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerate(Schema schema,
Output output)
returns true if the output implementation is fully compatible
with this artifact generator
|
String |
generate(Schema schema,
Output output)
this method gets called by the output service only if output is
supported and canGenerate returns true
|
String |
generateFull(Schema schema,
List<? extends Output> outputs)
this method generates a full output of an artifact, which may include additional
items not found in the individual outputs.
|
Class[] |
getSupportedOutputClasses()
returns a list of supported output classes that this
generator can render
|
Class[] getSupportedOutputClasses()
boolean canGenerate(Schema schema, Output output)
schema - schema objectoutput - output objectString generate(Schema schema, Output output)
schema - schema objectoutput - output objectCopyright © 2006–2016 Julian Hyde. All rights reserved.