|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JET2TagException | |
org.eclipse.jet | Defines core interfaces for executing JET transformations and templates. |
org.eclipse.jet.taglib | Interfaces and abstract classes for implement custom JET tags. |
org.eclipse.jet.taglib.java | Define utility functions for interacting with the Standard JET Java tags. |
org.eclipse.jet.taglib.workspace | Defines JET workspace actions that custom tags may perform as part of a JET transformation. |
org.eclipse.jet.transform | Defines JET transformation related interfaces. |
Uses of JET2TagException in org.eclipse.jet |
Methods in org.eclipse.jet that throw JET2TagException | |
String |
XPathContextExtender.resolveAsString(Object xpathContextObject,
String selectXPath)
Resolve the given XPath expression as a string value. |
Object |
XPathContextExtender.resolveSingle(Object xpathContextObject,
String selectXPath)
|
Object[] |
XPathContextExtender.resolve(Object xpathContextObject,
String selectXPath)
|
boolean |
XPathContextExtender.resolveTest(Object xpathContext,
String testXPath)
Resolve an xpath expression as a boolean result according to the XPath rules. |
boolean |
XPathContextExtender.setAttribute(Object element,
String name,
String bodyContent)
|
String |
XPathContextExtender.resolveDynamic(String value)
Resolve dynamic XPath expressions {...} within the pass value |
Object |
XPathContextExtender.addElement(Object parent,
String name)
|
void |
XPathContextExtender.removeElement(Object element)
|
Object |
XPathContextExtender.copyElement(Object srcElement,
Object tgtParent,
String name,
boolean recursive)
Copy srcElement as a new element with the specified name under tgtParent .
|
Object |
XPathContextExtender.addTextElement(Object parentElement,
String name,
String bodyContent)
Create a new text (simple) element whose content is set to bodyContent . |
Object |
XPathContextExtender.addTextElement(Object parentElement,
String name,
String bodyContent,
boolean asCData)
Create a new text (simple) element whose content is set to bodyContent . |
Object |
XPathContextExtender.resolveAsObject(Object contextObject,
String selectXPath)
Resolve the XPath expression, returning an object. |
Object |
XPathContextExtender.getAttributeValue(Object element,
String attributeName)
Return the value of the named attribute on the passed element. |
void |
XPathContextExtender.removeAttribute(Object element,
String attributeName)
Remove the named attribute from the specified element. |
String |
XPathContextExtender.getContent(Object object)
Return the string value of the passed object. |
void |
JET2Writer.finalizeContent(Object file)
Finalize the writers contents. |
void |
JET2Writer.contentCommitted(Object committedObject)
Inform listeners that the content has been committed to some permanent store. |
void |
JET2Context.setVariable(String var,
Object value)
Assigne or create a variable, and set its value. |
Object |
JET2Context.getVariable(String var)
Return the value of a context variable |
void |
JET2Context.removeVariable(String var)
Remove a variable |
Map |
JET2Context.extractVariables(String variableNames)
Extract a list of variables from the context |
void |
JET2Context.restoreVariables(Map savedVariableValues)
Restore variables in the passed map to the context. |
void |
JET2Context.setVariables(Map variablesToPass)
Set the context variables to only the variables in variablesToPass |
void |
IWriterListener.finalizeContent(JET2Writer writer,
Object file)
Perform any finalization of the content in the writer. |
void |
IWriterListener.postCommitContent(JET2Writer writer,
Object file)
Perform any post processing on the committed file based on content written. |
void |
BodyContentWriter.finalizeContent(Object file)
|
void |
BodyContentWriter.contentCommitted(Object committedObject)
|
Uses of JET2TagException in org.eclipse.jet.taglib |
Methods in org.eclipse.jet.taglib that throw JET2TagException | |
void |
OtherTag.doEnd(TagInfo tc,
JET2Context context,
JET2Writer out)
Perform actions required after the tag body has been evaluted. |
void |
OtherTag.doStart(TagInfo tc,
JET2Context context,
JET2Writer out)
Perform actions required prior to the tag body evaluation. |
void |
OtherTag.handleBodyContent(TagInfo tc,
JET2Context context,
JET2Writer out,
JET2Writer bodyContent)
Re-write the tag body. |
boolean |
OtherTag.okToProcessBody(TagInfo tc,
JET2Context context)
Test whether the tags body should be processed. |
void |
MarkerHelper.finalizeContent(JET2Writer writer,
Object file)
|
void |
MarkerHelper.postCommitContent(JET2Writer writer,
Object file)
|
boolean |
IteratingTag.doEvalLoopCondition(TagInfo td,
JET2Context context)
Determine whether the tag should do another iteration, and, if so, setup any data for the iteration. |
void |
IteratingTag.doInitializeLoop(TagInfo td,
JET2Context context)
Initialize any data required to determine how many times the tag should iterate. |
String |
FunctionTag.doFunction(TagInfo td,
JET2Context context,
String bodyContent)
Calculate the re-written tag content. |
void |
EmptyTag.doAction(TagInfo td,
JET2Context context,
JET2Writer out)
Perform the action for the empty tag. |
String |
CustomTag.getAttribute(String name)
Return the processed value of the tag attribute (with dynamic XPath expressions already resolved. |
void |
ContainerTag.doBeforeBody(TagInfo td,
JET2Context context,
JET2Writer out)
Perform processing before the tags body is processed. |
void |
ContainerTag.doAfterBody(TagInfo td,
JET2Context context,
JET2Writer out)
Perform processing after the tag body is processed. |
boolean |
ConditionalTag.doEvalCondition(TagInfo td,
JET2Context context)
Evalutate the condition that determines whether the tag's body is to be written to the tags output writer. |
void |
AbstractIteratingTag.doBeforeBody(TagInfo td,
JET2Context context,
JET2Writer out)
Default implementation of ContainerTag.doBeforeBody(TagInfo, JET2Context, JET2Writer)
that writes a delimiter if set. |
void |
AbstractIteratingTag.doAfterBody(TagInfo td,
JET2Context context,
JET2Writer out)
Default implementation of ContainerTag.doAfterBody(TagInfo, JET2Context, JET2Writer) that does nothing. |
String |
AbstractCustomTag.getAttribute(String name)
|
void |
AbstractContainerTag.doAction(TagInfo td,
JET2Context context,
JET2Writer out)
Default implementation of EmptyTag.doAction(TagInfo, JET2Context, JET2Writer) that simply
calls ContainerTag.doBeforeBody(TagInfo, JET2Context, JET2Writer) and then
ContainerTag.doAfterBody(TagInfo, JET2Context, JET2Writer) .
|
void |
AbstractConditionalTag.doBeforeBody(TagInfo td,
JET2Context context,
JET2Writer out)
Default version of ContainerTag.doBeforeBody(TagInfo, JET2Context, JET2Writer) that does nothing. |
void |
AbstractConditionalTag.doAfterBody(TagInfo td,
JET2Context context,
JET2Writer out)
Default version of {#link ContainerTag.doAfterBody(TagInfo, JET2Context, JET2Writer) that does nothing. |
Uses of JET2TagException in org.eclipse.jet.taglib.java |
Methods in org.eclipse.jet.taglib.java that throw JET2TagException | |
static org.eclipse.emf.codegen.util.ImportManager |
JavaImportsUtil.getImportManager(JET2Writer writer)
Deprecated. Use JavaActionsUtil.getImportManager(JET2Writer) instead |
static IFolder |
JavaActionsUtil.getFolderForPackage(IPath sourceFolder,
String packageName)
Deprecated. Use JavaActionsUtil.getContainerForPackage(IPath,String) instead |
static IContainer |
JavaActionsUtil.getContainerForPackage(IPath sourceFolder,
String packageName)
Return the IFolder corresponding to the given Java package name. |
static org.eclipse.emf.codegen.util.ImportManager |
JavaActionsUtil.getImportManager(JET2Writer writer)
Return the imports manager installed in the current writer. |
static org.eclipse.jet.internal.taglib.java.PackageTag |
JavaActionsUtil.findContainingJavaPackageTag(CustomTag tag)
|
static IFile |
JavaActionsUtil.getResourceForJavaResource(IPath srcFolderPath,
String pkgName,
String fileName)
|
Uses of JET2TagException in org.eclipse.jet.taglib.workspace |
Methods in org.eclipse.jet.taglib.workspace that throw JET2TagException | |
void |
WorkspaceContextExtender.popContainer()
Remove the top-most container on the default containers stack. |
IContainer |
WorkspaceContextExtender.getContainer()
Get the top most container from the default containers stack without doing a pop. |
IResource |
IWorkspaceAction.getResource()
Returns the workspace resource with which the action is associated. |
boolean |
IWorkspaceAction.requiresValidateEdit()
Tests whether the action resource must participate in an Eclipse Team validateEdit operation prior to the action being performed. |
void |
IWorkspaceAction.performAction(IProgressMonitor monitor)
Perform the workspace action |
static boolean |
ActionsUtil.writeTextFileFromWriter(IFile file,
boolean replace,
String encoding,
boolean derived,
JET2Writer writer,
IProgressMonitor monitor)
Write the file with the specified options from a JET writer. |
static boolean |
ActionsUtil.writeTextFile(IFile file,
boolean replace,
String encoding,
boolean derived,
String contents,
IProgressMonitor monitor)
Write the specified text file from a string. |
static void |
ActionsUtil.ensureFolderExists(IFolder folder,
IProgressMonitor monitor)
Ensure that a folder exists by creating it and any of its parents if necessary. |
static boolean |
ActionsUtil.writeBinaryFile(IFile file,
boolean replace,
byte[] contents,
IProgressMonitor monitor)
Write a binary file from a byte buffer. |
static String |
ActionsUtil.readTextFile(URL url,
String encoding)
Return the contents of the text file at the specified URL. |
static byte[] |
ActionsUtil.readBinaryFile(URL url)
Read a binary file from the given URL. |
static void |
ActionsUtil.createProject(IProject project,
IProgressMonitor monitor)
Create a new project. |
static void |
ActionsUtil.createProject(IProject project,
IProjectDescription description,
IProgressMonitor monitor)
Create a new project. |
Uses of JET2TagException in org.eclipse.jet.transform |
Methods in org.eclipse.jet.transform that throw JET2TagException | |
void |
TransformContextListener.commit(JET2Context context,
IProgressMonitor monitor)
|
void |
TransformContextExtender.execute(String templatePath,
JET2Writer writer)
Execute the named template, writing all template output to the passed writer. |
void |
TransformContextExtender.execute(String templatePath,
boolean useSuper,
JET2Writer writer)
Execute the named template, writing all template output to the passed writer. |
URL |
TransformContextExtender.getBaseURL(String urlContext)
Return the base URL to use given an urlContext constant. |
void |
TransformContextExtender.setOverride(String id,
IProgressMonitor monitor)
|
void |
TransformContextExtender.runSubTransform(String id)
|
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV NEXT | FRAMES NO FRAMES |