public interface Script
Script
represents a Jelly script.
A Script must be thread safe so care should be taken on the
implementations of Scripts. However Tags are only used in a single thread
(each thread will have create its own Tags for the Script it is running)
so multi threading is not a concern for Tag developers.
Modifier and Type | Method and Description |
---|---|
Script |
compile()
Called by the parser to allow a more efficient
representation of the script to be used.
|
void |
run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
Script compile() throws JellyException
JellyException
void run(JellyContext context, XMLOutput output) throws JellyTagException
JellyTagException
Copyright © 2014 Apache Software Foundation. All rights reserved.