- AbstractLoadException - Exception in org.tmotte.tmplz.exception.load
-
This acts as the base class for all exceptions in this package.
- AbstractLoadException(String) - Constructor for exception org.tmotte.tmplz.exception.load.AbstractLoadException
-
- AbstractLoadException(String, Throwable) - Constructor for exception org.tmotte.tmplz.exception.load.AbstractLoadException
-
- AbstractParsingException - Exception in org.tmotte.tmplz.exception.parse
-
Acts as the base class for all exceptions in this package.
- AbstractParsingException(String) - Constructor for exception org.tmotte.tmplz.exception.parse.AbstractParsingException
-
- AbstractParsingException(String, Throwable) - Constructor for exception org.tmotte.tmplz.exception.parse.AbstractParsingException
-
- AbstractToken - Class in org.tmotte.tmplz.parse.tokenize
-
- AbstractToken() - Constructor for class org.tmotte.tmplz.parse.tokenize.AbstractToken
-
- add(Object) - Method in class org.tmotte.common.text.DelimitedString
-
Adds object
to the internal list.
- add(CatNode) - Method in class org.tmotte.tmplz.node.CatNodeSection
-
This is used by copyTo(); the type-specific add()'s are used by TemplateBuilder.
- add(CatNodeStatic) - Method in class org.tmotte.tmplz.node.CatNodeSection
-
- add(CatNodeBetween) - Method in class org.tmotte.tmplz.node.CatNodeSection
-
- add(CatNodeSection) - Method in class org.tmotte.tmplz.node.CatNodeSection
-
- add(CatNodeSlot) - Method in class org.tmotte.tmplz.node.CatNodeSection
-
- add(Node) - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
- add(int, Node) - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
This moves the node at position i forwards one,
and replaces it with
- add(int, NodeList) - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
This moves the node at position i forwards one,
and replaces it with
- add(Token) - Method in class org.tmotte.tmplz.parse.tokenize.TokenList
-
- add(int, Token) - Method in class org.tmotte.tmplz.parse.tokenize.TokenList
-
- addDoppleGanger(CatNodeSlot) - Method in class org.tmotte.tmplz.node.CatNodeSlot
-
- addEach(Enumeration) - Method in class org.tmotte.common.text.DelimitedString
-
Adds each member of list
individually.
- addEach(Iterator) - Method in class org.tmotte.common.text.DelimitedString
-
Adds each member of list
individually.
- addEach(List) - Method in class org.tmotte.common.text.DelimitedString
-
Adds each member of list
individually.
- addEach(Object[]) - Method in class org.tmotte.common.text.DelimitedString
-
Adds each member of list
individually.
- addFindReplaceContentPattern(String, String) - Method in class org.tmotte.common.refactor.FileChanger
-
- addFindReplaceFileNamePattern(String, String) - Method in class org.tmotte.common.refactor.FileChanger
-
- Appender - Interface in org.tmotte.common.text
-
This is a companion class to Appendable.
- appendTo(Appendable) - Method in interface org.tmotte.common.text.Appender
-
When invoked, the Appender should print itself to the Appendable.
- appendTo(Appendable) - Method in class org.tmotte.common.text.DelimitedString
-
Fulfills the Appender interface.
- appendTo(Appendable) - Method in class org.tmotte.tmplz.node.CatNodeBetween
-
- appendTo(Appendable) - Method in class org.tmotte.tmplz.node.CatNodeSlot
-
- appendTo(Appendable) - Method in class org.tmotte.tmplz.node.CatNodeStatic
-
- appendTo(Appendable) - Method in class org.tmotte.tmplz.Section
-
Prints the Section and all of its child nodes. Does not render the Section if it is
not "visible"; the root Section of a template is automatically visible, and so are
any Sections within it that have been "shown" via the show() method.
- ATTR_SECTION_2 - Static variable in class org.tmotte.tmplz.parse.Types
-
- ATTR_TARGET_2 - Static variable in class org.tmotte.tmplz.parse.Types
-
- AttrNameBlankException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when an AttrSection tag does not specify a Section name or an attribute name.
- AttrNameBlankException(String, StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.AttrNameBlankException
-
- attrSection - Variable in exception org.tmotte.tmplz.exception.parse.AttrSectionNoEndQuoteException
-
- attrSection - Variable in exception org.tmotte.tmplz.exception.parse.AttrSectionNoSuchAttributeException
-
- AttrSectionMissingSpaceException - Exception in org.tmotte.tmplz.exception.parse
-
DEPRECATED
- AttrSectionMissingSpaceException(String, Delimiters) - Constructor for exception org.tmotte.tmplz.exception.parse.AttrSectionMissingSpaceException
-
- AttrSectionNoEndQuoteException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when an AttrSection element finds the attribute with the starting quote, but no end quote.
- AttrSectionNoEndQuoteException(TokenList, TokenAttrSection2, TokenAttrTarget2) - Constructor for exception org.tmotte.tmplz.exception.parse.AttrSectionNoEndQuoteException
-
- AttrSectionNoSuchAttributeException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when an AttrSection element references an attribute that does not exist.
- AttrSectionNoSuchAttributeException(TokenList, TokenAttrSection2) - Constructor for exception org.tmotte.tmplz.exception.parse.AttrSectionNoSuchAttributeException
-
- attrTarget - Variable in exception org.tmotte.tmplz.exception.parse.AttrSectionNoEndQuoteException
-
- CannotLoadFileException - Exception in org.tmotte.tmplz.exception.load
-
Thrown when an FileTextLoader cannot load a file for unknown reasons.
- CannotLoadFileException(File, Exception) - Constructor for exception org.tmotte.tmplz.exception.load.CannotLoadFileException
-
- CannotLoadURLException - Exception in org.tmotte.tmplz.exception.load
-
Thrown when an URLTextLoader cannot load a URL for unknown reasons.
- CannotLoadURLException(URL, Exception) - Constructor for exception org.tmotte.tmplz.exception.load.CannotLoadURLException
-
- CannotResolveRelativePathException - Exception in org.tmotte.tmplz.exception.load
-
This should be thrown by TextLoader.getAbsolutePath() when it cannot resolve a requested path against a given absolute path.
- CannotResolveRelativePathException(String, URI) - Constructor for exception org.tmotte.tmplz.exception.load.CannotResolveRelativePathException
-
- CannotResolveRelativePathException(String, URI, URI, Exception) - Constructor for exception org.tmotte.tmplz.exception.load.CannotResolveRelativePathException
-
- CatNode - Class in org.tmotte.tmplz.node
-
This is a base class for template nodes.
- CatNode() - Constructor for class org.tmotte.tmplz.node.CatNode
-
- CatNodeBetween - Class in org.tmotte.tmplz.node
-
Created for the case of a Between tag.
- CatNodeBetween(String, boolean) - Constructor for class org.tmotte.tmplz.node.CatNodeBetween
-
- CatNodeSection - Class in org.tmotte.tmplz.node
-
This exists primarily to reduce method clutter in the Section class.
- CatNodeSlot - Class in org.tmotte.tmplz.node
-
Corresponds to a Slot in a template.
- CatNodeSlot(String) - Constructor for class org.tmotte.tmplz.node.CatNodeSlot
-
- CatNodeStatic - Class in org.tmotte.tmplz.node
-
Denotes any "free" text that is not part of a Tmplz tag.
- CatNodeStatic(int, String) - Constructor for class org.tmotte.tmplz.node.CatNodeStatic
-
- check() - Method in class org.tmotte.tmplz.load.builtin.FileTextLoader
-
- check() - Method in class org.tmotte.tmplz.load.builtin.URLTextLoader
-
Checks its source for changes.
- check() - Method in interface org.tmotte.tmplz.load.TextLoader
-
The TextLoader should check its source and return text if any changes have occurred since the last
call to check()
(or obviously if check()
has never been called before).
- check() - Method in class org.tmotte.tmplz.parse.TemplateSource
-
- CircularPathException - Exception in org.tmotte.tmplz.exception.load
-
This is always caught by the Preprocessor, and occurs when a series of Include
tags
results in an infinite loop.
- CircularPathException() - Constructor for exception org.tmotte.tmplz.exception.load.CircularPathException
-
- ClassLoaderTextLoaderFactory - Class in org.tmotte.tmplz.load.builtin
-
Loads content from the Java "class path", specifically any ClassLoader.
- ClassLoaderTextLoaderFactory(ClassLoader, String, boolean) - Constructor for class org.tmotte.tmplz.load.builtin.ClassLoaderTextLoaderFactory
-
- ClassLoaderTextLoaderFactory(ClassLoader, String) - Constructor for class org.tmotte.tmplz.load.builtin.ClassLoaderTextLoaderFactory
-
Invokes ClassLoaderTextLoaderFactory(classLoader, "", false)
.
- ClassLoaderTextLoaderFactory(ClassLoader) - Constructor for class org.tmotte.tmplz.load.builtin.ClassLoaderTextLoaderFactory
-
Invokes ClassLoaderTextLoaderFactory(classLoader, "", false)
.
- ClassLoaderTextLoaderFactory(Class) - Constructor for class org.tmotte.tmplz.load.builtin.ClassLoaderTextLoaderFactory
-
Invokes ClassLoaderTextLoaderFactory(c.getClassLoader(), "", false)
.
- clear() - Method in class org.tmotte.common.text.DelimitedString
-
Clears the internal list of data.
- clear() - Method in class org.tmotte.tmplz.node.CatNodeSection
-
For internal use
- clear() - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
- clear() - Method in class org.tmotte.tmplz.parse.tokenize.TokenList
-
- clearBuffer() - Static method in class org.tmotte.tmplz.util.Log
-
- cloneSelf(boolean) - Method in class org.tmotte.tmplz.node.CatNodeSection
-
- cloneSelf() - Method in interface org.tmotte.tmplz.parse.dum.Node
-
This is forced by NodeSection.show().
- cloneSelf() - Method in class org.tmotte.tmplz.parse.dum.NodeBetween
-
- cloneSelf() - Method in class org.tmotte.tmplz.parse.dum.NodeFillin
-
- cloneSelf() - Method in class org.tmotte.tmplz.parse.dum.NodeInclude
-
- cloneSelf() - Method in class org.tmotte.tmplz.parse.dum.NodeRemove
-
- cloneSelf() - Method in class org.tmotte.tmplz.parse.dum.NodeRename
-
- cloneSelf() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- cloneSelf() - Method in class org.tmotte.tmplz.parse.dum.NodeShow
-
- cloneSelf() - Method in class org.tmotte.tmplz.parse.dum.NodeSlot
-
- cloneSelf() - Method in class org.tmotte.tmplz.parse.dum.NodeStatic
-
This returns the node itself, even though it is not technically immutable.
- closes(TokenShow) - Method in class org.tmotte.tmplz.parse.tokenize.TokenShow
-
- ContentViewer - Class in org.tmotte.tmplz.apps
-
This is a simple Servlet-based Content Mgmt application.
- ContentViewer() - Constructor for class org.tmotte.tmplz.apps.ContentViewer
-
- convertPath(String, String, ServletContext) - Method in class org.tmotte.tmplz.load.builtin.ServletContextTextLoaderFactory
-
- create(Path) - Method in class org.tmotte.tmplz.load.builtin.ClassLoaderTextLoaderFactory
-
If path.hasURL()
returns true, this method returns a URLTextLoader.
- create(Path) - Method in class org.tmotte.tmplz.load.builtin.FileTextLoaderFactory
-
Tries to create a TextLoader, according to the following rules:
If path.hasURL() returns true, returns null;
Otherwise attempts to use path.getPathString() as a reference to a file.
- create(Path) - Method in class org.tmotte.tmplz.load.builtin.ServletContextTextLoaderFactory
-
Returns a TextLoader when the path.hasURL()
returns true, or when path.getPathString()
has a leading "/"
(including the prePath
passed to the constructor); otherwise returns null
.
- create(Path) - Method in class org.tmotte.tmplz.load.builtin.URLTextLoaderFactory
-
- create(Path) - Method in interface org.tmotte.tmplz.load.TextLoaderFactory
-
Requests a TextLoader instance; invoked by TextLoadMgr.
- createTemplate() - Static method in class org.tmotte.tmplz.node.CatNodeSection
-
- DateFormatPool - Class in org.tmotte.common.text
-
This is a wrapper for DateFormat.
- DateFormatPool() - Constructor for class org.tmotte.common.text.DateFormatPool
-
- DelimitedString - Class in org.tmotte.common.text
-
Simple class for building a String that is delimited by commas or brackets or whatever.
- DelimitedString(String) - Constructor for class org.tmotte.common.text.DelimitedString
-
Same as new DelimitedString("", between, "", "", "");
- DelimitedString(String, String) - Constructor for class org.tmotte.common.text.DelimitedString
-
Same as new DelimitedString(initial, between, "", "", "");
- DelimitedString(String, String, String) - Constructor for class org.tmotte.common.text.DelimitedString
-
Same as new DelimitedString(initial, between, last, "", "");
- DelimitedString(String, String, String, String, String) - Constructor for class org.tmotte.common.text.DelimitedString
-
Sets all the possible delimiters.
- DelimiterFixer - Class in org.tmotte.tmplz.parse.tokenize
-
- DelimiterFixer() - Constructor for class org.tmotte.tmplz.parse.tokenize.DelimiterFixer
-
- Delimiters - Class in org.tmotte.tmplz.parse.tokenize
-
- Delimiters(String, String) - Constructor for class org.tmotte.tmplz.parse.tokenize.Delimiters
-
- delims - Variable in exception org.tmotte.tmplz.exception.parse.NoTailOfTagException
-
- DependencyCheckException - Exception in org.tmotte.tmplz.exception.load
-
Thrown when an URLTextLoader cannot load a URL for unknown reasons.
- DependencyCheckException(TextSource, Exception) - Constructor for exception org.tmotte.tmplz.exception.load.DependencyCheckException
-
- displayError(PrintWriter, Exception) - Method in class org.tmotte.tmplz.apps.ContentViewer
-
When an error occurs, this displays it inside of a nested html-body-pre set of elements.
- DocumentBuilder - Class in org.tmotte.tmplz.parse.dum
-
- DocumentBuilder() - Constructor for class org.tmotte.tmplz.parse.dum.DocumentBuilder
-
- DocumentTokenizer - Class in org.tmotte.tmplz.parse.tokenize
-
DocumentTokenizer is responsible for parsing a template into Token objects.
- DocumentTokenizer() - Constructor for class org.tmotte.tmplz.parse.tokenize.DocumentTokenizer
-
- DocumentTokenizer(String, String) - Constructor for class org.tmotte.tmplz.parse.tokenize.DocumentTokenizer
-
This allows you to create a custom Tokenizer that uses different demarcation tags.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.tmotte.tmplz.apps.ContentViewer
-
Everything is handled via this standard Servlet method.
- dumpBuffer(String) - Static method in class org.tmotte.tmplz.util.Log
-
- duplicate() - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
- duplicate() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- FileChanger - Class in org.tmotte.common.refactor
-
- FileChanger() - Constructor for class org.tmotte.common.refactor.FileChanger
-
- FileDoesNotExistException - Exception in org.tmotte.tmplz.exception.load
-
Thrown when an FileTextLoader cannot load a file because it doesn't exist.
- FileDoesNotExistException(File) - Constructor for exception org.tmotte.tmplz.exception.load.FileDoesNotExistException
-
- FileTextLoader - Class in org.tmotte.tmplz.load.builtin
-
Used exclusively by FileTextLoaderFactory.
- FileTextLoader(String) - Constructor for class org.tmotte.tmplz.load.builtin.FileTextLoader
-
- FileTextLoaderFactory - Class in org.tmotte.tmplz.load.builtin
-
Loads from the filesystem.
- FileTextLoaderFactory(String) - Constructor for class org.tmotte.tmplz.load.builtin.FileTextLoaderFactory
-
- FileTextLoaderFactory() - Constructor for class org.tmotte.tmplz.load.builtin.FileTextLoaderFactory
-
- FILLIN - Static variable in class org.tmotte.tmplz.parse.Types
-
- fillin(String, Object, boolean) - Method in class org.tmotte.tmplz.Section
-
Sets the value of a Slot in this Section.
- fillin(String, Object) - Method in class org.tmotte.tmplz.Section
-
The most commonly used version of fillin(). Does the same as fillin(name, value, false)
.
- fillin(Map, boolean) - Method in class org.tmotte.tmplz.Section
-
For each key and value in the given Map, invokes
fillin(key.toString(), value, recursive)
using the key
as the name parameter.
- fillin(Map) - Method in class org.tmotte.tmplz.Section
-
Invokes fillin(namesValues, false)
.
- FillinHasNoSlotNameException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Fillin element does not specify a Slot to fill in.
- FillinHasNoSlotNameException(TokenList, Token) - Constructor for exception org.tmotte.tmplz.exception.parse.FillinHasNoSlotNameException
-
- FillinNoSuchSlotException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when an Fillin
references a nonexistent Slot
.
- FillinNoSuchSlotException(TokenList, TokenFillin, String) - Constructor for exception org.tmotte.tmplz.exception.parse.FillinNoSuchSlotException
-
- find(String) - Method in class org.tmotte.common.text.StringChunker
-
Finds the given substring, starting at the current index, and sets
the internal index to the location directly following the text found.
- find(Pattern) - Method in class org.tmotte.common.text.StringChunker
-
Does the same as find(String)
, but using a regular expression.
- findOrFinish(String) - Method in class org.tmotte.common.text.StringChunker
-
Makes it easier to deal with end-of-String vs.
- findOrFinish(Pattern) - Method in class org.tmotte.common.text.StringChunker
-
Does the same as findOrFinish(String)
, but using a regular expression.
- fine(String, String, String) - Static method in class org.tmotte.tmplz.util.Log
-
- fine(String) - Static method in class org.tmotte.tmplz.util.Log
-
- finest(String, String, String) - Static method in class org.tmotte.tmplz.util.Log
-
- finest(String) - Static method in class org.tmotte.tmplz.util.Log
-
- finished() - Method in class org.tmotte.common.text.StringChunker
-
- fix(String) - Static method in class org.tmotte.tmplz.parse.tokenize.DelimiterFixer
-
- forceReload() - Method in class org.tmotte.tmplz.TemplateManager
-
This clears the cache of all templates.
- format(Date) - Method in class org.tmotte.common.text.DateFormatPool
-
- format(Object, String) - Method in interface org.tmotte.tmplz.util.ObjectFormatter
-
- foundAt() - Method in class org.tmotte.common.text.StringChunker
-
- generateCode(Section, Appendable) - Static method in class org.tmotte.tmplz.apps.TemplateLister
-
Generates a java "skeleton" from a given Template.
- get() - Method in class org.tmotte.common.io.StringLoader
-
- get(int) - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
- get(int) - Method in class org.tmotte.tmplz.parse.tokenize.TokenList
-
- getAbsolutePath(String) - Method in class org.tmotte.tmplz.load.builtin.FileTextLoader
-
- getAbsolutePath(String) - Method in class org.tmotte.tmplz.load.builtin.URLTextLoader
-
Because it uses URL/URI's, this class can ask its URL/URI
to resolve a path via URI.resolve().
- getAbsolutePath(String) - Method in interface org.tmotte.tmplz.load.TextLoader
-
When the parser encounters an Include tag
in a template, the path referenced by the Include will be
passed to the template's TextLoader's getAbsolutePath()
for resolution.
- getAttributeName() - Method in class org.tmotte.tmplz.parse.tokenize.TokenAttrSection2
-
- getAttrSection() - Method in class org.tmotte.tmplz.parse.tokenize.TokenAttrTarget2
-
- getBuffer() - Static method in class org.tmotte.tmplz.util.Log
-
- getCachedTokens() - Method in class org.tmotte.tmplz.parse.TextSource
-
- getContentPath(HttpServletRequest) - Method in class org.tmotte.tmplz.apps.ContentViewer
-
Obtains a Path object based on the HttpServletRequest.
- getDelimiters() - Method in class org.tmotte.tmplz.parse.tokenize.TokenTagWith
-
- getDestructiveShow() - Method in class org.tmotte.tmplz.parse.preprocess.Preprocessor
-
- getDoAggressiveTrim() - Method in class org.tmotte.tmplz.parse.dum.NodeInclude
-
- getDoAggressiveTrim() - Method in class org.tmotte.tmplz.parse.dum.NodeStatic
-
- getElementName() - Method in exception org.tmotte.tmplz.exception.parse.RemoveNoSuchElementException
-
- getError() - Method in class org.tmotte.tmplz.parse.TextSource
-
- getETag() - Method in class org.tmotte.tmplz.parse.TemplateSource
-
- getETag(Path) - Method in class org.tmotte.tmplz.TemplateManager
-
Obtains an "entity tag" for a template, which in HTTP parlance is a text
code designating the current version of a resource.
- getETag(String) - Method in class org.tmotte.tmplz.TemplateManager
-
For convenience, this invokes getETag(new Path(path))
.
- getEverythingSoFar() - Method in class org.tmotte.common.text.StringChunker
-
Provides all the text up to the current position of the internal pointer; i.e.
- getFile() - Method in exception org.tmotte.tmplz.exception.load.CannotLoadFileException
-
- getFile() - Method in exception org.tmotte.tmplz.exception.load.FileDoesNotExistException
-
- getFound() - Method in class org.tmotte.common.text.StringChunker
-
Obtains the text that was found by find()
.
- getFound() - Method in class org.tmotte.tmplz.parse.dum.NodeFillin
-
- getFound() - Method in class org.tmotte.tmplz.parse.dum.NodeRemove
-
- getFound() - Method in class org.tmotte.tmplz.parse.dum.NodeRename
-
- getFound() - Method in class org.tmotte.tmplz.parse.dum.NodeShow
-
- getIncludedPath() - Method in exception org.tmotte.tmplz.exception.parse.RenameNoSuchTagException
-
- getIncluding() - Method in class org.tmotte.common.text.StringChunker
-
Combines the results of getUpTo()
.
- getIncluding(String) - Method in class org.tmotte.common.text.StringChunker
-
Combines find() and getIncluding().
- getInContextOfPath() - Method in exception org.tmotte.tmplz.exception.load.CannotResolveRelativePathException
-
- getIndex() - Method in class org.tmotte.common.text.StringChunker
-
- getInThisContext(String, Set<TextSource>) - Method in class org.tmotte.tmplz.parse.TextSource
-
This is used by the Preprocessor
- getLastLine() - Method in exception org.tmotte.tmplz.exception.parse.TemplateContentException
-
- getLastModified() - Method in class org.tmotte.tmplz.parse.TemplateSource
-
- getLastModified(Path) - Method in class org.tmotte.tmplz.TemplateManager
-
Obtains a timestamp for the most current version of a template.
- getLastModified(String) - Method in class org.tmotte.tmplz.TemplateManager
-
For convenience, this invokes getLastModified(new Path(path))
.
- getLineNumber() - Method in exception org.tmotte.tmplz.exception.parse.TemplateContentException
-
- getLogger() - Static method in class org.tmotte.tmplz.util.Log
-
- getName() - Method in class org.tmotte.tmplz.node.CatNode
-
- getName() - Method in class org.tmotte.tmplz.node.CatNodeBetween
-
- getName() - Method in class org.tmotte.tmplz.node.CatNodeSlot
-
- getName() - Method in class org.tmotte.tmplz.node.CatNodeStatic
-
- getName() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- getName() - Method in class org.tmotte.tmplz.parse.dum.NodeSlot
-
- getName() - Method in class org.tmotte.tmplz.parse.tokenize.TokenSection
-
- getName() - Method in class org.tmotte.tmplz.parse.tokenize.TokenSlot
-
- getName() - Method in class org.tmotte.tmplz.Section
-
Provides the name of the Section as defined in its template; e.g., for
[$Section Foo]
returns "Foo".
- getNames() - Method in class org.tmotte.tmplz.parse.dum.NodeFillin
-
- getNames() - Method in class org.tmotte.tmplz.parse.dum.NodeShow
-
- getNames() - Method in class org.tmotte.tmplz.parse.tokenize.TokenFillin
-
- getNames() - Method in class org.tmotte.tmplz.parse.tokenize.TokenShow
-
- getNode(int) - Method in class org.tmotte.tmplz.node.CatNodeSection
-
- getNodes(TextSource, DocumentTokenizer, Preprocessor, boolean, Set<TextSource>) - Static method in class org.tmotte.tmplz.parse.dum.DocumentBuilder
-
- getNodes() - Method in class org.tmotte.tmplz.parse.dum.NodeBetween
-
- getNodes() - Method in class org.tmotte.tmplz.parse.dum.NodeFillin
-
- getNodes() - Method in class org.tmotte.tmplz.parse.dum.NodeInclude
-
- getNodes() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- getNodes() - Method in class org.tmotte.tmplz.parse.dum.NodeShow
-
- getOriginalContent() - Method in class org.tmotte.tmplz.parse.tokenize.AbstractToken
-
- getOriginalTag(Appendable) - Method in class org.tmotte.tmplz.parse.tokenize.AbstractToken
-
- getOriginalToken() - Method in class org.tmotte.tmplz.parse.dum.NodeFillin
-
- getOriginalToken() - Method in class org.tmotte.tmplz.parse.dum.NodeInclude
-
- getOriginalToken() - Method in class org.tmotte.tmplz.parse.dum.NodeRemove
-
- getOriginalToken() - Method in class org.tmotte.tmplz.parse.dum.NodeRename
-
- getOriginalToken() - Method in class org.tmotte.tmplz.parse.dum.NodeShow
-
- getOriginalToReplace() - Method in class org.tmotte.tmplz.parse.tokenize.TokenRename
-
This is somewhat evil in that is uses the "." notation that really belongs elsewhere.
- getPath() - Method in exception org.tmotte.tmplz.exception.load.NoTextLoaderException
-
- getPath() - Method in exception org.tmotte.tmplz.exception.load.NoURLForPathException
-
- getPath() - Method in exception org.tmotte.tmplz.exception.load.TextLoaderCreateException
-
- getPath() - Method in exception org.tmotte.tmplz.exception.load.TextLoaderFailureException
-
- getPath() - Method in exception org.tmotte.tmplz.exception.parse.FillinNoSuchSlotException
-
- getPath() - Method in exception org.tmotte.tmplz.exception.parse.IncludeCircularException
-
- getPath() - Method in exception org.tmotte.tmplz.exception.parse.RemoveNoSuchElementException
-
- getPath() - Method in exception org.tmotte.tmplz.exception.parse.ShowNoSuchSectionException
-
- getPath() - Method in exception org.tmotte.tmplz.exception.parse.TemplateNestedException
-
- getPath() - Method in class org.tmotte.tmplz.parse.dum.NodeInclude
-
- getPath() - Method in class org.tmotte.tmplz.parse.TextSource
-
- getPathString() - Method in class org.tmotte.tmplz.load.Path
-
- getReference() - Method in class org.tmotte.tmplz.parse.dum.NodeInclude
-
FIXLATER remove.
- getReference() - Method in class org.tmotte.tmplz.parse.tokenize.TokenInclude
-
- getRelativePath() - Method in exception org.tmotte.tmplz.exception.load.CannotResolveRelativePathException
-
- getReplaceWith() - Method in class org.tmotte.tmplz.parse.tokenize.TokenRename
-
- getRest() - Method in class org.tmotte.common.text.StringChunker
-
Moves index to end of buffer and retrieves rest of text.
- getSectionName() - Method in exception org.tmotte.tmplz.exception.parse.ShowNoSuchSectionException
-
- getSectionName() - Method in exception org.tmotte.tmplz.exception.template.NoSuchSlotException
-
- getSectionName() - Method in exception org.tmotte.tmplz.exception.template.SectionRenderingException
-
Gets the name of the Section that had the error.
- getSectionName() - Method in class org.tmotte.tmplz.parse.dum.NodeInclude
-
- getSectionName() - Method in class org.tmotte.tmplz.parse.tokenize.TokenAttrSection2
-
- getSectionName() - Method in class org.tmotte.tmplz.parse.tokenize.TokenAttrTarget2
-
- getSectionName() - Method in class org.tmotte.tmplz.parse.tokenize.TokenInclude
-
- getSectionNames() - Method in class org.tmotte.tmplz.Section
-
Obtains a list of the names of all Sections in this Section.
- getSectionNotFound() - Method in exception org.tmotte.tmplz.exception.template.NoSuchSectionException
-
Gets the name of the Section that could not be found.
- getSectionSearched() - Method in exception org.tmotte.tmplz.exception.template.NoSuchSectionException
-
Gets the name of the Section that did not contain the named sub-Section.
- getShown() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- getSlotName() - Method in exception org.tmotte.tmplz.exception.parse.FillinNoSuchSlotException
-
- getSlotName() - Method in exception org.tmotte.tmplz.exception.template.NoSuchSlotException
-
- getSlotNames() - Method in class org.tmotte.tmplz.Section
-
Obtains a list of the names of all Slots in this Section.
- getSource(Path) - Method in class org.tmotte.tmplz.load.TextLoadMgr
-
- getSourceTextLoaderFactories(ServletConfig) - Method in class org.tmotte.tmplz.apps.ContentViewer
-
Should provide a List of TextLoaderFactory instances that can load template text content.
- getStackTrace(Throwable) - Static method in class org.tmotte.common.text.StackTracer
-
- getStackTrace(Throwable, Appendable) - Static method in class org.tmotte.common.text.StackTracer
-
- getTargetClose() - Static method in class org.tmotte.tmplz.parse.tokenize.TokenAttrTarget2
-
- getTemplate(boolean) - Method in class org.tmotte.tmplz.parse.TemplateSource
-
Gets a thread-safe, up-to-date template instance:
If checkForChanges==true, checks the template's source to find out
if the template source has changed and rebuilds as necessary.
- getTemplate(String) - Method in class org.tmotte.tmplz.TemplateManager
-
The easiest way to get a template.
Invokes getTemplate(new Path(path), alwaysCheckForChanges);
- getTemplate(Path, boolean) - Method in class org.tmotte.tmplz.TemplateManager
-
This gets a template ready for threadsafe content generation.
- getTemplate(String, boolean) - Method in class org.tmotte.tmplz.TemplateManager
-
This just invokes getTemplate(new Path(path), checkForChanges);
- getTemplateInterceptor(ServletConfig) - Method in class org.tmotte.tmplz.apps.ContentViewer
-
Allows templates to be intercepted on creation and manipulated for any sort of
desired behavior.
- getText() - Method in class org.tmotte.common.text.StringChunker
-
- getText() - Method in class org.tmotte.tmplz.parse.TextSource
-
- getText() - Method in class org.tmotte.tmplz.parse.tokenize.TokenStatic
-
- getTextLoadMgr() - Method in class org.tmotte.tmplz.apps.SiteGenerator
-
Use this to customize the internal TextLoadMgr.
- getTextLoadMgr() - Method in class org.tmotte.tmplz.TemplateManager
-
Before using TemplateManager, its TextLoadMgr must be configured
with at least one TextLoaderFactory instance.
- getTokenInclude() - Method in exception org.tmotte.tmplz.exception.parse.IncludeNestedException
-
This will contain the path to the included template that failed parsing.
- getTokenizer() - Method in class org.tmotte.tmplz.parse.tokenize.TokenList
-
- getTokenName(Token) - Method in class org.tmotte.tmplz.parse.tokenize.DocumentTokenizer
-
- getToRemove() - Method in class org.tmotte.tmplz.parse.tokenize.TokenRemove
-
- getToReplace() - Method in class org.tmotte.tmplz.parse.tokenize.TokenRename
-
- getType() - Method in interface org.tmotte.tmplz.parse.dum.Node
-
- getType() - Method in class org.tmotte.tmplz.parse.dum.NodeBetween
-
- getType() - Method in class org.tmotte.tmplz.parse.dum.NodeFillin
-
- getType() - Method in class org.tmotte.tmplz.parse.dum.NodeInclude
-
- getType() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- getType() - Method in class org.tmotte.tmplz.parse.dum.NodeShow
-
- getType() - Method in class org.tmotte.tmplz.parse.dum.NodeSlot
-
- getType() - Method in interface org.tmotte.tmplz.parse.tokenize.Token
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenAttrSection2
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenAttrTarget2
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenBetween
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenFillin
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenInclude
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenRemove
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenRename
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenSection
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenShow
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenSlot
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenStatic
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenTagWith
-
- getType() - Method in class org.tmotte.tmplz.parse.tokenize.TokenTrim
-
- getUpTo() - Method in class org.tmotte.common.text.StringChunker
-
Obtains the text before the text found by find()
.
- getUpTo(String) - Method in class org.tmotte.common.text.StringChunker
-
Combines find() and getUpTo().
- getUpToOrGetRest() - Method in class org.tmotte.common.text.StringChunker
-
If last find() failed, invokes getRest(), else getUpTo().
- getUpToOrGetRest(String) - Method in class org.tmotte.common.text.StringChunker
-
Combines find() with getUpToOrGetRest().
- getURL() - Method in exception org.tmotte.tmplz.exception.load.CannotLoadURLException
-
- getURL() - Method in exception org.tmotte.tmplz.exception.load.InvalidURLException
-
- getURL(String, String, ClassLoader) - Method in class org.tmotte.tmplz.load.builtin.ClassLoaderTextLoaderFactory
-
Can be overridden for extra functionality.
- getURL() - Method in class org.tmotte.tmplz.load.Path
-
- getVisible() - Method in class org.tmotte.tmplz.parse.dum.NodeBetween
-
- go() - Method in class org.tmotte.common.refactor.FileChanger
-
- ObjectFormatter - Interface in org.tmotte.tmplz.util
-
A convenience interface that allows one to intercept Objects passed to Section.fillin() and
format them.
- org.tmotte.common.io - package org.tmotte.common.io
-
Utilities for managing i/o streams.
- org.tmotte.common.refactor - package org.tmotte.common.refactor
-
Utilities for rewriting code, used incidentally in project operations.
- org.tmotte.common.text - package org.tmotte.common.text
-
Utilities for parsing, formatting and otherwise manipulating String data.
- org.tmotte.tmplz - package org.tmotte.tmplz
-
The two most useful classes, Section and TemplateManager, are featured here.
- org.tmotte.tmplz.apps - package org.tmotte.tmplz.apps
-
Contains several small utility applications that do useful things.
- org.tmotte.tmplz.exception - package org.tmotte.tmplz.exception
-
All of Tmplz's Exceptions are defined in this package and its sub-packages.
- org.tmotte.tmplz.exception.load - package org.tmotte.tmplz.exception.load
-
Exceptions in this package are thrown when errors occur in the org.tmotte.tmplz.load package.
- org.tmotte.tmplz.exception.parse - package org.tmotte.tmplz.exception.parse
-
Exceptions in this package are caused by syntax errors in templates.
- org.tmotte.tmplz.exception.template - package org.tmotte.tmplz.exception.template
-
Exceptions in this package are thrown when errors occur in org.tmotte.tmplz.Section.
- org.tmotte.tmplz.load - package org.tmotte.tmplz.load
-
Defines classes and interfaces for loading the text source of templates. Before implementing any of the interfaces, one should check to see if any of
the classes in org.tmotte.tmplz.load.builtin can satisfy requirements.
- org.tmotte.tmplz.load.builtin - package org.tmotte.tmplz.load.builtin
-
Implements several useful versions of TextLoader and TextLoaderFactory.
- org.tmotte.tmplz.node - package org.tmotte.tmplz.node
-
For internal use.
- org.tmotte.tmplz.parse - package org.tmotte.tmplz.parse
-
For internal use.
- org.tmotte.tmplz.parse.dum - package org.tmotte.tmplz.parse.dum
-
For internal use.
- org.tmotte.tmplz.parse.preprocess - package org.tmotte.tmplz.parse.preprocess
-
For internal use.
- org.tmotte.tmplz.parse.tokenize - package org.tmotte.tmplz.parse.tokenize
-
For internal use.
- org.tmotte.tmplz.util - package org.tmotte.tmplz.util
-
Useful classes that didn't fit in anywhere else.
- OriginalTag - Class in org.tmotte.tmplz.parse.tokenize
-
- OriginalTag(String, String, String) - Constructor for class org.tmotte.tmplz.parse.tokenize.OriginalTag
-
- recurseStackTrace(Throwable) - Static method in class org.tmotte.common.text.StackTracer
-
- recurseStackTrace(Throwable, Appendable) - Static method in class org.tmotte.common.text.StackTracer
-
- register(TextLoaderFactory) - Method in class org.tmotte.tmplz.load.TextLoadMgr
-
This needs to be invoked at least once so that the TextLoadMgr has a factory that can
generate TextLoaders to obtain text data.
- remove(int) - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
- remove() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- remove(int) - Method in class org.tmotte.tmplz.parse.tokenize.TokenList
-
- REMOVE - Static variable in class org.tmotte.tmplz.parse.Types
-
- RemoveMissingTargetException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Remove element does not specify a Section or Slot to remove.
- RemoveMissingTargetException(Delimiters, StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.RemoveMissingTargetException
-
- RemoveNoSuchElementException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when an Remove references a nonexistent Section/Slot.
- RemoveNoSuchElementException(TokenList, TokenRemove, String) - Constructor for exception org.tmotte.tmplz.exception.parse.RemoveNoSuchElementException
-
- RENAME - Static variable in class org.tmotte.tmplz.parse.Types
-
- RenameHasExtraParametersException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Rename element has parameters beyond the optional Section/Slot, the old name, and the new name.
- RenameHasExtraParametersException(Delimiters, StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.RenameHasExtraParametersException
-
- RenameHasNoParametersException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Rename element has no parameters.
- RenameHasNoParametersException(Delimiters, StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.RenameHasNoParametersException
-
- RenameMissingSecondParameterException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Rename element doesn't have a second parameter.
- RenameMissingSecondParameterException(Delimiters, StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.RenameMissingSecondParameterException
-
- RenameMissingThirdParameterException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Rename element doesn't have a third parameter.
- RenameMissingThirdParameterException(Delimiters, StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.RenameMissingThirdParameterException
-
- RenameNoSuchTagException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Rename references a Slot or Section element that does not exist.
- RenameNoSuchTagException(TokenList, TokenRename, String) - Constructor for exception org.tmotte.tmplz.exception.parse.RenameNoSuchTagException
-
- replace(int, NodeList) - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
This calls remove(i), then add(i, nodes); The result returned
is the result of the latter function.
- replace(String, Object, boolean) - Method in class org.tmotte.tmplz.Section
-
This provides a slightly different functionality from fillin().
- reset() - Method in class org.tmotte.common.text.StringChunker
-
Sets the internal index back to 0, as if find()
had never been invoked.
- reset(String) - Method in class org.tmotte.common.text.StringChunker
-
Completely reinitializes this StringChunker.
- resetCache() - Method in class org.tmotte.tmplz.load.TextLoadMgr
-
Clears the internal Map object that caches TextLoaders.
- resetOnError() - Method in class org.tmotte.tmplz.parse.TextSource
-
Invoked by TemplateBuilder
- resetShown() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- runCommandLine(String[], Appendable) - Method in class org.tmotte.tmplz.apps.SiteGenerator
-
This is intended for use from a typical public static void main(String[]).
- sameNames(TokenFillin) - Method in class org.tmotte.tmplz.parse.tokenize.TokenFillin
-
- SECTION - Static variable in class org.tmotte.tmplz.parse.Types
-
- Section - Class in org.tmotte.tmplz
-
Section is the main class used to manipulate Tmplz templates.
- Section(String) - Constructor for class org.tmotte.tmplz.Section
-
For internal use.
- SectionHasNoNameException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Section element does not specify a name for the Section.
- SectionHasNoNameException(TokenList, TokenSection) - Constructor for exception org.tmotte.tmplz.exception.parse.SectionHasNoNameException
-
- SectionRenderingException - Exception in org.tmotte.tmplz.exception.template
-
Thrown when Section.appendTo()
catches an Exception.
- SectionRenderingException(CatNodeSection, Exception) - Constructor for exception org.tmotte.tmplz.exception.template.SectionRenderingException
-
- ServletContextTextLoaderFactory - Class in org.tmotte.tmplz.load.builtin
-
Uses javax.servlet.ServletContext to locate resources within a web application's file hierarchy
via ServletContext.getResource().
- ServletContextTextLoaderFactory(ServletContext, String) - Constructor for class org.tmotte.tmplz.load.builtin.ServletContextTextLoaderFactory
-
- ServletContextTextLoaderFactory(ServletContext) - Constructor for class org.tmotte.tmplz.load.builtin.ServletContextTextLoaderFactory
-
- set(int, Node) - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
- set(int, Token) - Method in class org.tmotte.tmplz.parse.tokenize.TokenList
-
- setAutoTrim(boolean) - Method in class org.tmotte.tmplz.parse.tokenize.DocumentTokenizer
-
Turns on/off auto trim of tags on lines by themselves.
- setAutoTrim(boolean) - Method in class org.tmotte.tmplz.TemplateManager
-
Turns on/off auto-trim, which attempts to trim line breaks and extra spaces resulting
from tags placed on lines by themselves (presumably for clarity).
- setBrokenZipResolution(boolean) - Method in class org.tmotte.tmplz.load.builtin.URLTextLoaderFactory
-
Used by ClassLoaderTextLoaderFactory to fix Java's problems with resolving relative URL's in zip
files.
- setCache(Map) - Method in class org.tmotte.tmplz.load.TextLoadMgr
-
Allows one to provide a custom Map implementation for the TextLoader cache.
- setCachedTokens(TokenList) - Method in class org.tmotte.tmplz.parse.TextSource
-
- setCaches(Map, Map) - Method in class org.tmotte.tmplz.TemplateManager
-
Allows one to customize the Maps used for caching data.
- setCheckForChanges(boolean) - Method in class org.tmotte.tmplz.TemplateManager
-
Normally TemplateManager will check the underlying template to see if it's changed
when a template is requested via getTemplate(path)
.
- setDestructiveShow(boolean) - Method in class org.tmotte.tmplz.parse.preprocess.Preprocessor
-
- setDestructiveShowTags(boolean) - Method in class org.tmotte.tmplz.TemplateManager
-
This controls whether Show tag "destroys" the corresponding Section so that
it cannot be shown again, by parent templates or Java code.
- setDoAggressiveTrim(boolean) - Method in class org.tmotte.tmplz.parse.dum.NodeStatic
-
I know, I know, I said it was immutable.
- setFileFilter(FileFilter) - Method in class org.tmotte.tmplz.apps.SiteGenerator
-
The filter will be used to determine whether files should be included.
- setFillins(Map) - Method in class org.tmotte.tmplz.apps.SiteGenerator
-
This will invoke Section.fillin(Map, true)
against every template.
- setFound() - Method in class org.tmotte.tmplz.parse.dum.NodeFillin
-
- setFound() - Method in class org.tmotte.tmplz.parse.dum.NodeRemove
-
- setFound() - Method in class org.tmotte.tmplz.parse.dum.NodeRename
-
- setFound() - Method in class org.tmotte.tmplz.parse.dum.NodeShow
-
- setIndex(int) - Method in class org.tmotte.common.text.StringChunker
-
Sets the internal buffer index to a specific position.
- setInputDir(File) - Method in class org.tmotte.common.refactor.FileChanger
-
- setInputDir(String) - Method in class org.tmotte.tmplz.apps.SiteGenerator
-
Sets the input directory.
- setInteractive(BufferedReader, Appendable) - Method in class org.tmotte.common.refactor.FileChanger
-
- setName(String) - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- setName(String) - Method in class org.tmotte.tmplz.parse.dum.NodeSlot
-
Necessary because of Rename tag.
- setObjectFormatter(ObjectFormatter) - Method in class org.tmotte.tmplz.Section
-
As a convenience feature, ObjectFormatter.format() will be invoked every time Section.fillin() is invoked.
- setObjectFormatter(ObjectFormatter) - Method in class org.tmotte.tmplz.TemplateManager
-
Sets the default ObjectFormatter for all templates produced by this TemplateManager.
- setOriginalTag(OriginalTag) - Method in class org.tmotte.tmplz.parse.tokenize.AbstractToken
-
- setOutputDir(File) - Method in class org.tmotte.common.refactor.FileChanger
-
- setOutputDir(String) - Method in class org.tmotte.tmplz.apps.SiteGenerator
-
Sets the output directory.
- setPreprocessor(Preprocessor) - Method in class org.tmotte.tmplz.parse.TemplateBuilder
-
- setRelativeContext(boolean) - Method in class org.tmotte.tmplz.apps.SiteGenerator
-
Controls whether we fill any Slot named "Context" with a relative dotted-slashed path according
to the position of the containing file in the hierarchy, starting with "./" at the root.
- setTagDelimiters(String, String) - Method in class org.tmotte.tmplz.TemplateManager
-
Changes the default tag delimiters from [$
and ]
to startTag
and endTag
.
- setTemplateFileFilter(FileFilter) - Method in class org.tmotte.tmplz.apps.SiteGenerator
-
This filter determines what files are treated as templates.
- setTemplateInterceptor(TemplateInterceptor) - Method in class org.tmotte.tmplz.node.CatNodeSection
-
For internal use.
- setTemplateInterceptor(TemplateInterceptor) - Method in class org.tmotte.tmplz.TemplateManager
-
This can be used to intercept templates on creation and/or print.
- setText(String) - Method in class org.tmotte.tmplz.parse.tokenize.TokenStatic
-
This gets invoked by auto-trim.
- setTextFilePattern(String) - Method in class org.tmotte.common.refactor.FileChanger
-
- setTokenizer(DocumentTokenizer) - Method in class org.tmotte.tmplz.parse.preprocess.Preprocessor
-
- setTokenizer(DocumentTokenizer) - Method in class org.tmotte.tmplz.parse.TemplateBuilder
-
- show() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- SHOW - Static variable in class org.tmotte.tmplz.parse.Types
-
- show(String) - Method in class org.tmotte.tmplz.Section
-
Obtains a named Section from this Section, makes it visible and returns it.
This method may be invoked with the same Section name any number of times; each time after the first,
a copy is made of the original Section and appended to it.
- ShowHasNoSectionNameException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Show
element does not specify the name of a Section.
- ShowHasNoSectionNameException(TokenList, Token) - Constructor for exception org.tmotte.tmplz.exception.parse.ShowHasNoSectionNameException
-
- ShowNoSuchSectionException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when an Show references a nonexistent Section.
- ShowNoSuchSectionException(TokenList, TokenShow, String) - Constructor for exception org.tmotte.tmplz.exception.parse.ShowNoSuchSectionException
-
- SiteGenerator - Class in org.tmotte.tmplz.apps
-
This class was built for instances where a servlet engine to run ContentViewer isn't available, so it
is preferable to generate a "static" site from template content.
- SiteGenerator() - Constructor for class org.tmotte.tmplz.apps.SiteGenerator
-
- size() - Method in class org.tmotte.common.text.DelimitedString
-
Obtains the size of the internal list.
- size() - Method in class org.tmotte.tmplz.node.CatNodeSection
-
- size() - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
- size() - Method in class org.tmotte.tmplz.parse.tokenize.TokenList
-
- SLOT - Static variable in class org.tmotte.tmplz.parse.Types
-
- SlotHasNoNameException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a Slot tag does not specify a name.
- SlotHasNoNameException(TokenList, TokenSlot) - Constructor for exception org.tmotte.tmplz.exception.parse.SlotHasNoNameException
-
- slotName - Variable in exception org.tmotte.tmplz.exception.parse.FillinNoSuchSlotException
-
- StackTracer - Class in org.tmotte.common.text
-
Converts a java stack trace to a String as well as to Strings written to an Appendable.
- StackTracer() - Constructor for class org.tmotte.common.text.StackTracer
-
- startOfTag - Variable in class org.tmotte.tmplz.parse.tokenize.Delimiters
-
- STATIC - Static variable in class org.tmotte.tmplz.parse.Types
-
- StringChunker - Class in org.tmotte.common.text
-
Provides the ability to "walk" through a String
using find()
methods, parsing found "chunks" one at a time.
- StringChunker(String) - Constructor for class org.tmotte.common.text.StringChunker
-
Creates a StringChunker ready to use.
- StringChunker() - Constructor for class org.tmotte.common.text.StringChunker
-
Creates an uninitialized StringChunker.
- StringLoader - Class in org.tmotte.common.io
-
- StringLoader(InputStream) - Constructor for class org.tmotte.common.io.StringLoader
-
- tag - Variable in exception org.tmotte.tmplz.exception.parse.AttrNameBlankException
-
- tag - Variable in exception org.tmotte.tmplz.exception.parse.NoTailOfTagException
-
- TAG_WITH - Static variable in class org.tmotte.tmplz.parse.Types
-
- TagHasTooManyParametersException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when the starting delimiter & name of a valid tag is found, but the closing delimiter is not found.
- TagHasTooManyParametersException(String[], int, StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.TagHasTooManyParametersException
-
- TagNotClosedException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a tag such as Section
or Fillin
does not have a closing tag.
- TagNotClosedException(TokenList, Token) - Constructor for exception org.tmotte.tmplz.exception.parse.TagNotClosedException
-
- TagWithNoParametersException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a TagWith
element does not specify a shortcut or delimiters, i.e.
- TagWithNoParametersException(StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.TagWithNoParametersException
-
- TagWithNothingToRevertToException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a TagWith Revert
appears without TagWith having first been used to change tagging options.
- TagWithNothingToRevertToException(StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.TagWithNothingToRevertToException
-
- TagWithUnexpectedNameException - Exception in org.tmotte.tmplz.exception.parse
-
Thrown when a TagWith
tag uses a shortcut name that is not in the standard list.
- TagWithUnexpectedNameException(String, StringChunker) - Constructor for exception org.tmotte.tmplz.exception.parse.TagWithUnexpectedNameException
-
- TemplateBuilder - Class in org.tmotte.tmplz.parse
-
- TemplateBuilder() - Constructor for class org.tmotte.tmplz.parse.TemplateBuilder
-
- TemplateContentException - Exception in org.tmotte.tmplz.exception.parse
-
Acts as the base class for most exceptions in this package.
- TemplateErrorInfo - Class in org.tmotte.tmplz.exception.parse
-
This was created so that we have something that can isolate the line where the error occured
and adjust the Exception message to include it.
- TemplateErrorInfo(String, TokenList, Token) - Constructor for class org.tmotte.tmplz.exception.parse.TemplateErrorInfo
-
- TemplateErrorInfo(String, StringChunker) - Constructor for class org.tmotte.tmplz.exception.parse.TemplateErrorInfo
-
- TemplateErrorInfo(String, String) - Constructor for class org.tmotte.tmplz.exception.parse.TemplateErrorInfo
-
- TemplateInterceptor - Interface in org.tmotte.tmplz.util
-
This can be assigned to a TemplateManager so that one can do any necessary manipulations to a template before
it is released for use, or just prior to rendering.
- TemplateLister - Class in org.tmotte.tmplz.apps
-
Obtains a code "skeleton" or Section/Slot listing from a template.
- TemplateLister() - Constructor for class org.tmotte.tmplz.apps.TemplateLister
-
- TemplateManager - Class in org.tmotte.tmplz
-
This class is used to obtain templates (instances of Section) ready for processing.
- TemplateManager() - Constructor for class org.tmotte.tmplz.TemplateManager
-
Creates a TemplateManager for obtaining templates.
- TemplateNestedException - Exception in org.tmotte.tmplz.exception.parse
-
Always thrown with a nested exception.
- TemplateNestedException(Path, Exception) - Constructor for exception org.tmotte.tmplz.exception.parse.TemplateNestedException
-
- TemplateSource - Class in org.tmotte.tmplz.parse
-
This holds the current version of a template.
- TemplateSource(TextSource, TemplateBuilder, ObjectFormatter, TemplateInterceptor) - Constructor for class org.tmotte.tmplz.parse.TemplateSource
-
- TextLoader - Interface in org.tmotte.tmplz.load
-
TextLoaders are responsible for loading the actual text of templates.
- TextLoaderCreateException - Exception in org.tmotte.tmplz.exception.load
-
This is thrown by TextLoadMgr when a TextLoaderFactory.create() throws an Exception that
is not a TmplzException.
- TextLoaderCreateException(Path, Exception) - Constructor for exception org.tmotte.tmplz.exception.load.TextLoaderCreateException
-
- TextLoaderFactory - Interface in org.tmotte.tmplz.load
-
Implement this interface to supply TextLoaders to TextLoadMgr.
- TextLoaderFailureException - Exception in org.tmotte.tmplz.exception.load
-
This is thrown by TextLoadMgr when a TextLoader.get() throws an Exception
that is not a TmplzException.
- TextLoaderFailureException(Path, Exception) - Constructor for exception org.tmotte.tmplz.exception.load.TextLoaderFailureException
-
- TextLoadMgr - Class in org.tmotte.tmplz.load
-
As per its name, this class manages the process of loading text data from a multitude of
possible sources.
- TextLoadMgr() - Constructor for class org.tmotte.tmplz.load.TextLoadMgr
-
- TextSource - Class in org.tmotte.tmplz.parse
-
For internal use.
- TextSource(TextLoader, TextLoadMgr, Path) - Constructor for class org.tmotte.tmplz.parse.TextSource
-
- TmplzException - Exception in org.tmotte.tmplz.exception
-
The base class for all of Tmplz's custom Exception classes.
- TmplzException(String) - Constructor for exception org.tmotte.tmplz.exception.TmplzException
-
- TmplzException(String, Throwable) - Constructor for exception org.tmotte.tmplz.exception.TmplzException
-
- TmplzException(Throwable) - Constructor for exception org.tmotte.tmplz.exception.TmplzException
-
- Token - Interface in org.tmotte.tmplz.parse.tokenize
-
- TokenAttrSection2 - Class in org.tmotte.tmplz.parse.tokenize
-
Denotes an AttrSection tag.
- TokenAttrSection2(String, String, OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenAttrSection2
-
- TokenAttrTarget2 - Class in org.tmotte.tmplz.parse.tokenize
-
Designates an attribute that is the target of an AttrSection.
- TokenAttrTarget2(TokenAttrSection2) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenAttrTarget2
-
- TokenBetween - Class in org.tmotte.tmplz.parse.tokenize
-
- TokenBetween(OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenBetween
-
- TokenFillin - Class in org.tmotte.tmplz.parse.tokenize
-
Represents a Fillin tag.
- TokenFillin(List<String>, OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenFillin
-
- TokenInclude - Class in org.tmotte.tmplz.parse.tokenize
-
Represents an Include tag.
- TokenInclude(String, String, OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenInclude
-
- TokenInclude(OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenInclude
-
- TokenList - Class in org.tmotte.tmplz.parse.tokenize
-
This acts as a list of Token objects.
- TokenList(DocumentTokenizer) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenList
-
- TokenRemove - Class in org.tmotte.tmplz.parse.tokenize
-
- TokenRemove(List<String>, boolean, boolean, OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenRemove
-
- TokenRename - Class in org.tmotte.tmplz.parse.tokenize
-
- TokenRename(List<String>, String, boolean, boolean, String, OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenRename
-
- TokenSection - Class in org.tmotte.tmplz.parse.tokenize
-
- TokenSection(String, OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenSection
-
- TokenSection() - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenSection
-
- TokenShow - Class in org.tmotte.tmplz.parse.tokenize
-
- TokenShow(List<String>, boolean, OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenShow
-
- TokenSlot - Class in org.tmotte.tmplz.parse.tokenize
-
- TokenSlot(String, OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenSlot
-
- TokenStatic - Class in org.tmotte.tmplz.parse.tokenize
-
- TokenStatic(String) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenStatic
-
- TokenTagWith - Class in org.tmotte.tmplz.parse.tokenize
-
- TokenTagWith(Delimiters, OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenTagWith
-
- TokenTrim - Class in org.tmotte.tmplz.parse.tokenize
-
- TokenTrim(OriginalTag) - Constructor for class org.tmotte.tmplz.parse.tokenize.TokenTrim
-
- toString() - Method in class org.tmotte.common.text.DelimitedString
-
Converts the internal list to a String by toString()'ing list members and concatenating them
together in order, delimited by the various delimiters passed to the constructor.
- toString() - Method in class org.tmotte.tmplz.load.Path
-
Returns the internal path string, or the internal URL's URL.toString()
.
- toString() - Method in class org.tmotte.tmplz.node.CatNodeBetween
-
- toString() - Method in class org.tmotte.tmplz.node.CatNodeSlot
-
- toString() - Method in class org.tmotte.tmplz.node.CatNodeStatic
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeBetween
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeFillin
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeInclude
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeList
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeRemove
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeRename
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeSection
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeShow
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeSlot
-
- toString() - Method in class org.tmotte.tmplz.parse.dum.NodeStatic
-
- toString() - Method in class org.tmotte.tmplz.parse.TextSource
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.Delimiters
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenAttrSection2
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenAttrTarget2
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenBetween
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenFillin
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenInclude
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenList
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenSection
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenShow
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenSlot
-
- toString() - Method in class org.tmotte.tmplz.parse.tokenize.TokenTagWith
-
- toString() - Method in class org.tmotte.tmplz.Section
-
Invokes appendTo()
with an internal buffer, and returns the result.
- TRIM - Static variable in class org.tmotte.tmplz.node.CatNodeStatic
-
- TRIM - Static variable in class org.tmotte.tmplz.parse.Types
-
- Types - Class in org.tmotte.tmplz.parse
-
- Types() - Constructor for class org.tmotte.tmplz.parse.Types
-