|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of TemplateException in org.peaseplate |
---|
Subclasses of TemplateException in org.peaseplate | |
---|---|
class |
TemplateRuntimeException
|
Methods in org.peaseplate that throw TemplateException | |
---|---|
Template |
TemplateEngine.compile(char[] source)
Compiles the template defined by the source. |
Template |
PeasePlateEngine.compile(char[] source)
|
Template |
TemplateEngine.compile(java.lang.String source)
Compiles the template defined by the source. |
Template |
PeasePlateEngine.compile(java.lang.String source)
|
Template |
TemplateEngine.compile(TemplateLocator locator)
Compiles the template defined by the specified locator. |
Template |
PeasePlateEngine.compile(TemplateLocator locator)
|
Messages |
Template.getMessages(TemplateEngine engine)
Resolves the messages for this template |
void |
Template.render(java.io.Writer writer,
BuildContext context)
Renders the template to the specified writer using the specified build context |
void |
Template.render(java.io.Writer writer,
java.lang.Object workingObject)
Render the template to the specified writer. |
void |
Template.render(java.io.Writer writer,
java.lang.Object workingObject,
java.util.Locale locale)
Render the template to the specified writer. |
void |
Template.render(java.io.Writer writer,
java.lang.Object workingObject,
java.util.Locale locale,
LineSeparator lineSeparator)
Renders the template to the specified writer |
void |
TemplateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
ResourceKey key)
Renders the template specified by the descriptor The workingObject is just any object or bean, that contains the data that should be integrated in the template. |
void |
PeasePlateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
ResourceKey key)
|
void |
TemplateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
java.lang.String name)
Renders the template with the specified name to the specified writer. |
void |
PeasePlateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
java.lang.String name)
|
void |
TemplateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
java.lang.String name,
java.util.Locale locale)
Renders the template with the specified name to the specified writer. |
void |
PeasePlateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
java.lang.String name,
java.util.Locale locale)
|
void |
TemplateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
Renders the template with the specified name to the specified writer. |
void |
PeasePlateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
|
void |
TemplateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
java.lang.String name,
java.lang.String encoding)
Renders the template with the specified name to the specified writer. |
void |
PeasePlateEngine.render(java.io.Writer writer,
java.lang.Object workingObject,
java.lang.String name,
java.lang.String encoding)
|
Uses of TemplateException in org.peaseplate.chunk |
---|
Methods in org.peaseplate.chunk that throw TemplateException | |
---|---|
void |
ExpandableBlock.addExpansion(BlockExpansion chunk)
Add the specified chunk as expansion to this block. |
void |
Chunk.render(BuildContext context,
java.io.Writer writer)
Renders the chunk to the specified writer using the specified template context. |
void |
BlockHead.renderBlock(BuildContext context,
java.io.Writer writer)
Renders the sub block to the specified writer using the specified template context |
void |
AbstractBlock.renderBlock(BuildContext context,
java.io.Writer writer)
|
void |
BlockHead.setBlock(Chunk[] block)
|
Uses of TemplateException in org.peaseplate.internal |
---|
Subclasses of TemplateException in org.peaseplate.internal | |
---|---|
class |
AbstractLocatedTemplateException
The abstract implementation of a template exception that is linked to some tempalte source. |
Uses of TemplateException in org.peaseplate.internal.chunk |
---|
Methods in org.peaseplate.internal.chunk that throw TemplateException | |
---|---|
void |
AbstractIfBlock.addExpansion(BlockExpansion chunk)
|
void |
WhileBlock.addExpansion(BlockExpansion chunk)
|
void |
WithBlock.addExpansion(BlockExpansion chunk)
|
void |
WithEachBlock.addExpansion(BlockExpansion chunk)
|
void |
AbstractIfBlock.render(BuildContext context,
java.io.Writer writer)
|
void |
WhileBlock.render(BuildContext context,
java.io.Writer writer)
|
void |
CallChunk.render(BuildContext context,
java.io.Writer writer)
|
void |
ImportChunk.render(BuildContext context,
java.io.Writer writer)
|
void |
ContentChunk.render(BuildContext context,
java.io.Writer writer)
|
void |
ElseBlock.render(BuildContext context,
java.io.Writer writer)
|
void |
LineSeparatorChunk.render(BuildContext context,
java.io.Writer writer)
|
void |
WithBlock.render(BuildContext context,
java.io.Writer writer)
|
void |
IncludeChunk.render(BuildContext context,
java.io.Writer writer)
|
void |
EndChunk.render(BuildContext context,
java.io.Writer writer)
|
void |
MessageChunk.render(BuildContext context,
java.io.Writer writer)
|
void |
PrintChunk.render(BuildContext context,
java.io.Writer writer)
|
void |
MacroBlock.render(BuildContext context,
java.io.Writer writer)
|
void |
WithEachBlock.render(BuildContext context,
java.io.Writer writer)
|
void |
VoidChunk.render(BuildContext context,
java.io.Writer writer)
|
void |
ElseIfBlock.render(BuildContext context,
java.io.Writer writer)
|
Uses of TemplateException in org.peaseplate.internal.designator |
---|
Uses of TemplateException in org.peaseplate.internal.lang |
---|
Methods in org.peaseplate.internal.lang that throw TemplateException | |
---|---|
protected ICommand |
Parser.createDoubleParameterCommand(Tokenizer.Type operator,
java.lang.Object value,
int line,
int column,
ICommand left,
ICommand right)
|
protected ICommand |
Parser.createSingleParameterCommand(Tokenizer.Type operator,
java.lang.Object value,
int line,
int column,
ICommand command)
|
protected boolean |
Parser.isAnyOperator()
|
java.lang.String |
Parser.parseAssignedKey()
|
protected ICommand |
Parser.parseCommand(Tokenizer.Type operator,
int parenthesisCount)
Parses the command notation Command = ("(" Command ")" ) | (Expression {AnyOperator Command} ["?" |
protected ICommand |
Parser.parseExpression()
Parses the expression. |
protected ICommand |
Parser.parseExpressionChain(ICommand command)
|
java.lang.String |
Parser.parseIdentifierExtension()
Parses the code as identifier extension. |
java.lang.String[] |
Parser.parseIdentifierList()
Parses the code as identifier list. |
protected ICommand |
Parser.parseInvocation(ICommand command)
|
ICommand[] |
Parser.parseParameterList()
Parses the code as parameter list. |
protected ICommand |
Parser.parseQuery(ICommand command)
|
protected ICommand |
Parser.parseSubExpression()
|
ICommand |
Parser.parseTransformerChain(ICommand command)
Parses the transformer notation. |
java.lang.String[] |
Parser.parseVariableList()
Parses the code as variable list. |
ICommand |
Parser.readDefaultReference()
Parses the code as default reference. |
java.lang.String |
Parser.readIdentifier()
Parses the code as a single identifier. |
java.lang.String |
Parser.readKey()
Parses the code as key token. |
Uses of TemplateException in org.peaseplate.internal.locator |
---|
Methods in org.peaseplate.internal.locator that throw TemplateException | |
---|---|
char[] |
InMemoryTemplateLocator.load()
|
char[] |
URLBasedTemplateLocator.load()
|
char[] |
ClassLoaderTemplateLocator.load()
|
Template |
InMemoryTemplateLocator.resolve(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
|
Template |
URLBasedTemplateLocator.resolve(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
|
Template |
ClassLoaderTemplateLocator.resolve(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
|
Uses of TemplateException in org.peaseplate.internal.model |
---|
Constructors in org.peaseplate.internal.model that throw TemplateException | |
---|---|
DefaultBuildContext(TemplateEngine engine,
java.util.Locale locale,
LineSeparator lineSeparator)
|
|
DefaultBuildContext(TemplateEngine engine,
Template template,
java.util.Locale locale,
LineSeparator lineSeparator)
|
|
DefaultBuildContext(Template template,
java.util.Locale locale,
LineSeparator lineSeparator)
|
Uses of TemplateException in org.peaseplate.internal.parser |
---|
Methods in org.peaseplate.internal.parser that throw TemplateException | |
---|---|
Chunk |
Token.compile(TemplateEngine engine,
CompileContext context)
|
protected void |
TemplateScanner.ensureQueue(int level)
|
Token |
TemplateScanner.next(int level)
|
Template |
TemplateCompiler.parse()
code = {codeOfChunk [block]} block = begin code (end | expansionBlock) expansionBlock = codeOfExpansionChunkHead block code = {codeOfChunk [block] block = chunk.isBlockHead code (chunk.isBlockTail | chunk.isExpansionBlock)]} expansionBlock = codeOfExpansionChunkHead block |
protected Chunk[] |
TemplateCompiler.parse(CompileContext context,
int level)
code = {codeOfChunk [block]} block = begin code (end | expansionBlock) expansionBlock = codeOfExpansionChunkHead block code = {codeOfChunk [block] block = chunk.isBlockHead code (chunk.isBlockTail | chunk.isExpansionBlock)]} expansionBlock = codeOfExpansionChunkHead block |
protected Chunk |
TemplateCompiler.parseExpansion(CompileContext context,
int level)
|
Constructors in org.peaseplate.internal.parser that throw TemplateException | |
---|---|
TemplateCompiler(TemplateEngine engine,
TemplateLocator locator)
|
|
TemplateScanner(TemplateEngine engine,
TemplateLocator locator)
|
Uses of TemplateException in org.peaseplate.internal.resolver |
---|
Methods in org.peaseplate.internal.resolver that throw TemplateException | |
---|---|
MessagesLocator |
ClassLoaderResolver.resolveMessages(TemplateEngine engine,
ResourceKey key)
|
MessagesLocator |
FileResolver.resolveMessages(TemplateEngine engine,
ResourceKey key)
|
TemplateLocator |
ClassLoaderResolver.resolveTemplate(TemplateEngine engine,
ResourceKey key)
|
TemplateLocator |
FileResolver.resolveTemplate(TemplateEngine engine,
ResourceKey key)
|
Uses of TemplateException in org.peaseplate.internal.service |
---|
Methods in org.peaseplate.internal.service that throw TemplateException | |
---|---|
MessagesLocator |
DefaultResolverService.getMessages(TemplateEngine engine,
ResourceKey key)
|
Messages |
DefaultCacheService.getMessages(TemplateEngine engine,
ResourceKey key)
|
Messages |
DefaultCacheService.getMessages(TemplateEngine engine,
java.lang.String name)
|
Messages |
DefaultCacheService.getMessages(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale)
|
Messages |
DefaultCacheService.getMessages(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
|
Messages |
DefaultCacheService.getMessages(TemplateEngine engine,
java.lang.String name,
java.lang.String encoding)
|
TemplateLocator |
DefaultResolverService.getTemplate(TemplateEngine engine,
ResourceKey key)
|
Template |
DefaultCacheService.getTemplate(TemplateEngine engine,
ResourceKey key)
|
Template |
DefaultCacheService.getTemplate(TemplateEngine engine,
java.lang.String name)
|
Template |
DefaultCacheService.getTemplate(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale)
|
Template |
DefaultCacheService.getTemplate(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
|
Template |
DefaultCacheService.getTemplate(TemplateEngine engine,
java.lang.String name,
java.lang.String encoding)
|
Uses of TemplateException in org.peaseplate.internal.template |
---|
Methods in org.peaseplate.internal.template that throw TemplateException | |
---|---|
Messages |
ChunkBasedTemplate.getMessages(TemplateEngine engine)
|
void |
MacroReference.render(BuildContext context,
java.io.Writer writer)
|
void |
ChunkBasedTemplate.render(java.io.Writer writer,
BuildContext context)
|
void |
ChunkBasedTemplate.render(java.io.Writer writer,
java.lang.Object workingObject)
|
void |
ChunkBasedTemplate.render(java.io.Writer writer,
java.lang.Object workingObject,
java.util.Locale locale)
|
void |
ChunkBasedTemplate.render(java.io.Writer writer,
java.lang.Object workingObject,
java.util.Locale locale,
LineSeparator lineSeparator)
|
Uses of TemplateException in org.peaseplate.lang |
---|
Subclasses of TemplateException in org.peaseplate.lang | |
---|---|
class |
TemplateDefinitionException
|
class |
TemplateFormatException
|
class |
TemplateParserException
|
class |
TemplateScannerException
|
Methods in org.peaseplate.lang that throw TemplateException | |
---|---|
Chunk |
Designator.compile(TemplateEngine engine,
CompileContext context,
Token token)
|
Uses of TemplateException in org.peaseplate.locator |
---|
Subclasses of TemplateException in org.peaseplate.locator | |
---|---|
class |
TemplateLocatorException
An exception thrown by implementations of the Locator interface. |
Methods in org.peaseplate.locator that throw TemplateException | |
---|---|
char[] |
TemplateLocator.load()
Returns a char array with the raw template data Don't forget to update the timestamp and the rawSize properties when loading the data. |
Template |
TemplateLocator.resolve(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
Resolves the template with the specified name relative to this template. |
Uses of TemplateException in org.peaseplate.resolver |
---|
Subclasses of TemplateException in org.peaseplate.resolver | |
---|---|
class |
TemplateResolverException
|
Methods in org.peaseplate.resolver that throw TemplateException | |
---|---|
MessagesLocator |
Resolver.resolveMessages(TemplateEngine engine,
ResourceKey key)
Resolves the specified messages and returns a MessagesLocator if found
or null otherwise |
TemplateLocator |
Resolver.resolveTemplate(TemplateEngine engine,
ResourceKey key)
Resolves the specified template and returns a TemplateLocator if found
or null otherwise. |
Uses of TemplateException in org.peaseplate.service |
---|
Methods in org.peaseplate.service that throw TemplateException | |
---|---|
Messages |
CacheService.getMessages(TemplateEngine engine,
ResourceKey key)
|
MessagesLocator |
ResolverService.getMessages(TemplateEngine engine,
ResourceKey key)
Asks all resolvers for a messages object described by the specified key and returns a locator for the messages if found. |
Messages |
CacheService.getMessages(TemplateEngine engine,
java.lang.String name)
Returns the messages with the specified name. |
Messages |
CacheService.getMessages(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale)
Returns the messages with the specified name. |
Messages |
CacheService.getMessages(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
Returns the messages with the specified name. |
Messages |
CacheService.getMessages(TemplateEngine engine,
java.lang.String name,
java.lang.String encoding)
Returns the messages with the specified name. |
Template |
CacheService.getTemplate(TemplateEngine engine,
ResourceKey key)
|
TemplateLocator |
ResolverService.getTemplate(TemplateEngine engine,
ResourceKey key)
Asks all resolvers for a template described by the specified key and returns a locator for the template if found. |
Template |
CacheService.getTemplate(TemplateEngine engine,
java.lang.String name)
Returns the template with the specified name. |
Template |
CacheService.getTemplate(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale)
Returns the template with the specified name. |
Template |
CacheService.getTemplate(TemplateEngine engine,
java.lang.String name,
java.util.Locale locale,
java.lang.String encoding)
Returns the template with the specified name. |
Template |
CacheService.getTemplate(TemplateEngine engine,
java.lang.String name,
java.lang.String encoding)
Returns the template with the specified name. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |