|
|||||||||||
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 | |
java.lang.String |
XPathContextExtender.resolveAsString(java.lang.Object xpathContextObject,
java.lang.String selectXPath)
Resolve the given XPath expression as a string value. |
java.lang.Object |
XPathContextExtender.resolveSingle(java.lang.Object xpathContextObject,
java.lang.String selectXPath)
|
java.lang.Object[] |
XPathContextExtender.resolve(java.lang.Object xpathContextObject,
java.lang.String selectXPath)
|
boolean |
XPathContextExtender.resolveTest(java.lang.Object xpathContext,
java.lang.String testXPath)
Resolve an xpath expression as a boolean result according to the XPath rules. |
boolean |
XPathContextExtender.setAttribute(java.lang.Object element,
java.lang.String name,
java.lang.String bodyContent)
|
java.lang.String |
XPathContextExtender.resolveDynamic(java.lang.String value)
Resolve dynamic XPath expressions {...} within the pass value |
java.lang.Object |
XPathContextExtender.addElement(java.lang.Object parent,
java.lang.String name)
|
void |
XPathContextExtender.removeElement(java.lang.Object element)
|
java.lang.Object |
XPathContextExtender.copyElement(java.lang.Object srcElement,
java.lang.Object tgtParent,
java.lang.String name,
boolean recursive)
Copy srcElement as a new element with the specified name under tgtParent .
|
java.lang.Object |
XPathContextExtender.addTextElement(java.lang.Object parentElement,
java.lang.String name,
java.lang.String bodyContent)
Create a new text (simple) element whose content is set to bodyContent . |
java.lang.Object |
XPathContextExtender.addTextElement(java.lang.Object parentElement,
java.lang.String name,
java.lang.String bodyContent,
boolean asCData)
Create a new text (simple) element whose content is set to bodyContent . |
java.lang.Object |
XPathContextExtender.resolveAsObject(java.lang.Object contextObject,
java.lang.String selectXPath)
Resolve the XPath expression, returning an object. |
java.lang.Object |
XPathContextExtender.getAttributeValue(java.lang.Object element,
java.lang.String attributeName)
Return the value of the named attribute on the passed element. |
void |
XPathContextExtender.removeAttribute(java.lang.Object element,
java.lang.String attributeName)
Remove the named attribute from the specified element. |
java.lang.String |
XPathContextExtender.getContent(java.lang.Object object)
Return the string value of the passed object. |
void |
JET2Writer.finalizeContent(java.lang.Object file)
Finalize the writers contents. |
void |
JET2Writer.contentCommitted(java.lang.Object committedObject)
Inform listeners that the content has been committed to some permanent store. |
void |
JET2Context.setVariable(java.lang.String var,
java.lang.Object value)
Assigne or create a variable, and set its value. |
java.lang.Object |
JET2Context.getVariable(java.lang.String var)
Return the value of a context variable |
void |
JET2Context.removeVariable(java.lang.String var)
Remove a variable |
java.util.Map |
JET2Context.extractVariables(java.lang.String variableNames)
Extract a list of variables from the context |
void |
JET2Context.restoreVariables(java.util.Map savedVariableValues)
Restore variables in the passed map to the context. |
void |
JET2Context.setVariables(java.util.Map variablesToPass)
Set the context variables to only the variables in variablesToPass |
void |
IWriterListener.finalizeContent(JET2Writer writer,
java.lang.Object file)
Perform any finalization of the content in the writer. |
void |
IWriterListener.postCommitContent(JET2Writer writer,
java.lang.Object file)
Perform any post processing on the committed file based on content written. |
void |
BodyContentWriter.finalizeContent(java.lang.Object file)
|
void |
BodyContentWriter.contentCommitted(java.lang.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,
java.lang.Object file)
|
void |
MarkerHelper.postCommitContent(JET2Writer writer,
java.lang.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. |
java.lang.String |
FunctionTag.doFunction(TagInfo td,
JET2Context context,
java.lang.String bodyContent)
Calculate the re-written tag content. |
void |
EmptyTag.doAction(TagInfo td,
JET2Context context,
JET2Writer out)
Perform the action for the empty tag. |
java.lang.String |
CustomTag.getAttribute(java.lang.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. |
java.lang.String |
AbstractCustomTag.getAttribute(java.lang.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,
java.lang.String packageName)
Deprecated. Use JavaActionsUtil.getContainerForPackage(IPath,String) instead |
static IContainer |
JavaActionsUtil.getContainerForPackage(IPath sourceFolder,
java.lang.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,
java.lang.String pkgName,
java.lang.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,
java.lang.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,
java.lang.String encoding,
boolean derived,
java.lang.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 java.lang.String |
ActionsUtil.readTextFile(java.net.URL url,
java.lang.String encoding)
Return the contents of the text file at the specified URL. |
static byte[] |
ActionsUtil.readBinaryFile(java.net.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(java.lang.String templatePath,
JET2Writer writer)
Execute the named template, writing all template output to the passed writer. |
void |
TransformContextExtender.execute(java.lang.String templatePath,
boolean useSuper,
JET2Writer writer)
Execute the named template, writing all template output to the passed writer. |
java.net.URL |
TransformContextExtender.getBaseURL(java.lang.String urlContext)
Return the base URL to use given an urlContext constant. |
void |
TransformContextExtender.setOverride(java.lang.String id,
IProgressMonitor monitor)
|
void |
TransformContextExtender.runSubTransform(java.lang.String id)
|
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV NEXT | FRAMES NO FRAMES |