Package | Description |
---|---|
org.jamplate.impl |
Jamplate specific implementations.
|
org.jamplate.impl.initializer |
A package containing implementations of the interface
Initializer . |
org.jamplate.impl.model |
A package containing implementations of the package
org.jamplate.model . |
org.jamplate.model |
A package that specifies that primary components of a processor that uses the
jamplate-style processing.
|
org.jamplate.model.function |
All about processors.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Jamplate.compile(@NotNull Environment environment,
Document... documents)
Compile the given
documents to the given environment . |
Modifier and Type | Method and Description |
---|---|
boolean |
ProcessorsInitializer.initialize(@NotNull Environment environment,
Document... documents) |
Modifier and Type | Class and Description |
---|---|
class |
FileDocument
A document that delegates to a
File . |
class |
PseudoDocument
A pseudo document that get made programmatically.
|
Modifier and Type | Method and Description |
---|---|
static @NotNull Document[] |
FileDocument.hierarchy(@NotNull java.io.File file)
Return an array of all the document in the hierarchy of the given
file
(including itself). |
Modifier and Type | Method and Description |
---|---|
@Nullable Compilation |
EnvironmentImpl.getCompilation(@NotNull Document document) |
@NotNull Compilation |
EnvironmentImpl.optCompilation(@NotNull Document document) |
void |
EnvironmentImpl.setCompilation(@NotNull Document document,
@NotNull Compilation compilation) |
Modifier and Type | Field and Description |
---|---|
protected @Nullable Document |
DocumentNotFoundException.document
The document that was not found.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Document |
Tree.document()
Get the document of this tree.
|
@Nullable Document |
DocumentNotFoundException.getDocument()
Return the document that was about to be read but was not found and caused this
exception to be thrown.
|
Modifier and Type | Method and Description |
---|---|
@Nullable Compilation |
Environment.getCompilation(@NotNull Document document)
Get the compilation set to this environment with the given
document or
return null if no such compilation exist in this environment. |
@NotNull Compilation |
Environment.optCompilation(@NotNull Document document)
Return the compilation set to this environment with the given
document or
create a new compilation for the given document , add it to this environment
and return it. |
void |
Environment.setCompilation(@NotNull Document document,
@NotNull Compilation compilation)
Associate the given
compilation to the given document in this
environment. |
Constructor and Description |
---|
DocumentNotFoundException(@Nullable Document document)
Construct a new
DocumentNotFoundException with the given document
as the document that was not found. |
DocumentNotFoundException(@Nullable java.lang.String message,
@Nullable Document document)
Construct a new
DocumentNotFoundException with the given document
as the document that was not found and with the given message . |
DocumentNotFoundException(@Nullable java.lang.String message,
@Nullable java.lang.Throwable cause,
@Nullable Document document)
Construct a new
DocumentNotFoundException with the given document
as the document that was not found and with the given message and cause . |
DocumentNotFoundException(@Nullable java.lang.Throwable cause,
@Nullable Document document)
Construct a new
DocumentNotFoundException with the given document
as the document that was not found and with the given cause . |
Tree(@NotNull Document document)
Construct a new tree for the whole given
document . |
Tree(@NotNull Document document,
int zIndex)
Construct a new tree for the whole given
document . |
Tree(@NotNull Document document,
@NotNull Reference reference)
Construct a new tree with the given
reference . |
Tree(@NotNull Document document,
@NotNull Reference reference,
int zIndex)
Construct a new tree with the given
reference . |
Tree(@NotNull Document document,
@NotNull Reference reference,
@NotNull Sketch sketch)
Construct a new tree with the given
reference and the given sketch . |
Tree(@NotNull Document document,
@NotNull Reference reference,
@NotNull Sketch sketch,
int zIndex)
Construct a new tree with the given
reference and the given sketch . |
Tree(@NotNull Document document,
@NotNull Sketch sketch)
Construct a new tree for the whole given
document . |
Tree(@NotNull Document document,
@NotNull Sketch sketch,
int zIndex)
Construct a new tree for the whole given
document . |
Modifier and Type | Method and Description |
---|---|
boolean |
Initializer.initialize(@NotNull Environment environment,
Document... documents)
Initialize compilations for the given
documents in the given environment . |