Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
T
- TAG - Static variable in class sunlabs.brazil.util.LexML
-
The value returned by
getType
for tag tokens - tag_a(RewriteContext) - Method in class sunlabs.brazil.template.ChangedTemplate
- tag_abort(RewriteContext) - Method in class sunlabs.brazil.template.BSLTemplate
-
Handles the "abort" tag.
- tag_addheader(RewriteContext) - Method in class sunlabs.brazil.template.AddHeaderTemplate
-
Process the special
addheader
tag. - tag_after(RewriteContext) - Method in class sunlabs.brazil.sunlabs.AfterTemplate
- tag_agi(RewriteContext) - Method in class sunlabs.brazil.asterisk.AsteriskAGIHandler
-
Provide the 'agi' tag.
- tag_amicommand(RewriteContext) - Method in class sunlabs.brazil.asterisk.AsteriskHandler
-
Issue a synchronous command to the Asterisk AMI interface.
- tag_append(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Append a value to a property, with an optional delimeter.
- tag_asterisk(RewriteContext) - Method in class sunlabs.brazil.asterisk.AsteriskHandler
-
This only emits diagnostic information to stdout.
- tag_body(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
Grab the "body" attributes, and toss all output to this point.
- tag_break(RewriteContext) - Method in class sunlabs.brazil.template.BSLTemplate
-
Handles the "break" tag.
- tag_changed(RewriteContext) - Method in class sunlabs.brazil.template.ChangedTemplate
- tag_content(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
toss everything up to and including here, but turn on content accumulation.
- tag_continue(RewriteContext) - Method in class sunlabs.brazil.template.BSLTemplate
-
Handles the "continue" tag.
- tag_date(RewriteContext) - Method in class sunlabs.brazil.sunlabs.DateTemplate
- tag_debug(RewriteContext) - Method in class sunlabs.brazil.template.DebugTemplate
- tag_definemacro(RewriteContext) - Method in class sunlabs.brazil.template.MacroTemplate
-
Define a new macro.
- tag_delay(RewriteContext) - Method in class sunlabs.brazil.sunlabs.DelayHandler
-
Pause for "ms" ms and/or "sec" seconds.
- tag_dequeue(RewriteContext) - Method in class sunlabs.brazil.template.QueueTemplate
-
Remove an item from the queue, and generate the appropriate properties.
- tag_digest(RewriteContext) - Method in class sunlabs.brazil.sunlabs.DigestTemplate
- tag_div(RewriteContext) - Method in class sunlabs.brazil.sunlabs.IdUniquificationTemplate
- tag_enqueue(RewriteContext) - Method in class sunlabs.brazil.template.QueueTemplate
-
Add a text message onto a named queue.
- tag_eval(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Evaluate the contents of a variable as a template, as if it was "inline" here.
- tag_exec(RewriteContext) - Method in class sunlabs.brazil.sunlabs.ExecTemplate
- tag_expr(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Set a variable to the result of an arithmetic expression <expr [name=nnn] value="expr" [format="..." ] [namespace="..."]> sets name to "NaN" if the expression was invalid.
- tag_extract(RewriteContext) - Method in class sunlabs.brazil.template.BSLTemplate
-
Handle the [experimental] "extract" tag.
- tag_filelist(RewriteContext) - Method in class sunlabs.brazil.template.DirectoryTemplate
-
Turn on the directory calculator.
- tag_foreach(RewriteContext) - Method in class sunlabs.brazil.template.BSLTemplate
-
Handles the "foreach" tag.
- tag_form(RewriteContext) - Method in class sunlabs.brazil.sunlabs.FormHelpTemplate
-
Look for a "help" attribute, remember its value, then remove it .
- tag_form(RewriteContext) - Method in class sunlabs.brazil.template.FormTemplate
-
Look for a "prepend" attrubute, remember its value, then remove it from the tag.
- tag_get(RewriteContext) - Method in class sunlabs.brazil.template.MultipartSetTemplate
- tag_get(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
-
Replace the tag "get" with the value of the variable specified by the "name" attribute.
- tag_h1(RewriteContext) - Method in class sunlabs.brazil.template.TOCTemplate
-
Add a name anchor to the H1 tag, so we can go there, and set the request properties:
TOC.[anchor]
to the text of theH1
tag. - tag_head(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
-
Don't do highlight inside the following sections
- tag_highlight(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
-
The special entities
highlight
andnohighlight
may be used to turn highlighting on or off in certain areas. - tag_if(RewriteContext) - Method in class sunlabs.brazil.template.BSLTemplate
-
Handles the "if" tag.
- tag_img(RewriteContext) - Method in class sunlabs.brazil.template.NoImageTemplate
-
Convert the html tag img into text using the alt string
- tag_import(RewriteContext) - Method in class sunlabs.brazil.template.MultipartSetTemplate
- tag_import(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
-
Import all the data from the named namespace.
- tag_include(RewriteContext) - Method in class sunlabs.brazil.sunlabs.FetchTemplate
- tag_include(RewriteContext) - Method in class sunlabs.brazil.template.IncludeTemplate
- tag_increment(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Increment the value of a variable.
- tag_inline(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Set a variable to all the markup 'till the /inline tag.
- tag_input(RewriteContext) - Method in class sunlabs.brazil.sunlabs.FormHelpTemplate
-
Look for a "help" attribute, remember its value, then remove it .
- tag_input(RewriteContext) - Method in class sunlabs.brazil.template.FormClientTemplate
-
Look for , and replace the value with the entry in the previously saved client data.
- tag_input(RewriteContext) - Method in class sunlabs.brazil.template.FormTemplate
-
Look for <input name=[x] value=[v]> and replace the value with the entry in the request properties.
- tag_link(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
Extract data out of link tags into the properties.
- tag_list(RewriteContext) - Method in class sunlabs.brazil.sunlabs.ListTemplate
-
Process the list tag.
- tag_lock(RewriteContext) - Method in class sunlabs.brazil.sunlabs.LockTemplate
-
Acquire a lock, preventing any other session from accessing the same locked section of markup.
- tag_mapnames(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Map a set of properties from one namespace to another, and (optionally) change their names and values.
- tag_meta(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
Extract data out of meta tags into the properties.
- tag_modified(RewriteContext) - Method in class sunlabs.brazil.template.ModifiedTemplate
-
Set the content transformation modifiy time to NOW
- tag_namespace(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
-
Set the default namespace for "set" and "import".
- tag_nohighlight(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_option(RewriteContext) - Method in class sunlabs.brazil.sunlabs.FormHelpTemplate
-
Needed to retain parent functionality.
- tag_option(RewriteContext) - Method in class sunlabs.brazil.template.FormTemplate
-
Look at the option tag, set the "selected" attribute as needed.
- tag_param(RewriteContext) - Method in class sunlabs.brazil.handler.SMTPHandler
-
Add an additional email header.
- tag_plain(RewriteContext) - Method in class sunlabs.brazil.sunlabs.PlainTemplate
- tag_pop(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Treat a variable as a stack, and pop a value from it.
- tag_property(RewriteContext) - Method in class sunlabs.brazil.template.FormClientTemplate
-
Convert the html tag "property" in to the request's property.
- tag_property(RewriteContext) - Method in class sunlabs.brazil.template.MultipartSetTemplate
- tag_property(RewriteContext) - Method in class sunlabs.brazil.template.PropsTemplate
-
Convert the html tag "property" in to the request's property
- tag_property(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
-
Convert the html tag "property" in to the request's property DEPRECATED - use "get"
- tag_push(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Treat a variable as a stack, and push a value onto it.
- tag_queueinfo(RewriteContext) - Method in class sunlabs.brazil.template.QueueTemplate
-
Return info about the Q, and optionally clear or remove it.
- tag_random(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
- tag_register(RewriteContext) - Method in class sunlabs.brazil.asterisk.AsteriskHandler
-
Register an event.
- tag_remotehost(RewriteContext) - Method in class sunlabs.brazil.sunlabs.RemoteHostTemplate
- tag_script(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
Append all "script" code while in the head section.
- tag_script(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_script(RewriteContext) - Method in class sunlabs.brazil.template.ScriptEvalTemplate
- tag_section(RewriteContext) - Method in class sunlabs.brazil.sunlabs.IdUniquificationTemplate
- tag_select(RewriteContext) - Method in class sunlabs.brazil.sunlabs.FormHelpTemplate
-
Look for a "help" attribute, remember its value, then remove it .
- tag_select(RewriteContext) - Method in class sunlabs.brazil.template.FormTemplate
-
Remember the variable name for the next group of option tags.
- tag_sendmail(RewriteContext) - Method in class sunlabs.brazil.handler.SMTPHandler
-
set-up an email message for sending.
- tag_sequence(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Generate a (mostly) numeric sequence.
- tag_server(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_set(RewriteContext) - Method in class sunlabs.brazil.template.MultipartSetTemplate
- tag_set(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
-
Set the value of a variable.
- tag_slash_body(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
If no content tags are present, use the entire "body" instead.
- tag_slash_changed(RewriteContext) - Method in class sunlabs.brazil.template.ChangedTemplate
- tag_slash_content(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
Save the content gathered so far, and turn off content accumulation.
- tag_slash_form(RewriteContext) - Method in class sunlabs.brazil.sunlabs.FormHelpTemplate
-
Forget about the "help" action.
- tag_slash_form(RewriteContext) - Method in class sunlabs.brazil.template.FormTemplate
-
Forget about the "prepend" value
- tag_slash_head(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
Mark end of head section.
- tag_slash_head(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_slash_highlight(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_slash_list(RewriteContext) - Method in class sunlabs.brazil.sunlabs.ListTemplate
-
remove the most recent list from the current scope.
- tag_slash_lock(RewriteContext) - Method in class sunlabs.brazil.sunlabs.LockTemplate
-
Release the previosly named lock.
- tag_slash_namespace(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
-
Clear the default namespace for "set" and "import".
- tag_slash_nohighlight(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_slash_script(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_slash_select(RewriteContext) - Method in class sunlabs.brazil.sunlabs.FormHelpTemplate
-
Needed to retain parent functionality.
- tag_slash_select(RewriteContext) - Method in class sunlabs.brazil.template.FormTemplate
-
Forget the variable name for the next group of option tags
- tag_slash_sendmail(RewriteContext) - Method in class sunlabs.brazil.handler.SMTPHandler
-
If we haven't sent the mail yet - send it.
- tag_slash_server(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_slash_snarf(RewriteContext) - Method in class sunlabs.brazil.sunlabs.SnarfTemplate
-
Save the content gathered so far.
- tag_slash_style(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_slash_tag(RewriteContext) - Method in class sunlabs.brazil.template.FormClientTemplate
- tag_slash_tag(RewriteContext) - Method in class sunlabs.brazil.template.MultipartSetTemplate
- tag_slash_tag(RewriteContext) - Method in class sunlabs.brazil.template.PropsTemplate
-
Insert a literal ">"
- tag_slash_tag(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
-
Insert a literal ">"
- tag_slash_title(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
Gather up the title - no tags allowed between title ....
- tag_snarf(RewriteContext) - Method in class sunlabs.brazil.sunlabs.SnarfTemplate
-
Mark the current location in the document.
- tag_source(RewriteContext) - Method in class sunlabs.brazil.sunlabs.SourceTemplate
- tag_span(RewriteContext) - Method in class sunlabs.brazil.sunlabs.IdUniquificationTemplate
- tag_stringlength(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
Compute string length from "value" , return in "name"
- tag_stringop(RewriteContext) - Method in class sunlabs.brazil.sunlabs.MiscTemplate
-
String manipulation functions.
- tag_style(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
Append all "style" code while in the head section.
- tag_style(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
- tag_style(RewriteContext) - Method in class sunlabs.brazil.template.ScriptEvalTemplate
- tag_subst(RewriteContext) - Method in class sunlabs.brazil.template.FormClientTemplate
-
Tag to do substitution of previously uploaded data.
- tag_table(RewriteContext) - Method in class sunlabs.brazil.sunlabs.IdUniquificationTemplate
- tag_tag(RewriteContext) - Method in class sunlabs.brazil.template.FormClientTemplate
-
Using the current scheme, there is no easy way to substitute into a tag parameter.
- tag_tag(RewriteContext) - Method in class sunlabs.brazil.template.MultipartSetTemplate
- tag_tag(RewriteContext) - Method in class sunlabs.brazil.template.PropsTemplate
-
Insert a literal "<".
- tag_tag(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
-
Insert a literal "<".
- tag_template(RewriteContext) - Method in class sunlabs.brazil.template.TemplateTemplate
- tag_textarea(RewriteContext) - Method in class sunlabs.brazil.sunlabs.FormHelpTemplate
-
Look for a "help" attribute, remember its value, then remove it .
- tag_title(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
-
Toss everything up to and including this entity.
- tag_unimport(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
-
Un-import a previously imported namespace.
- tag_unregister(RewriteContext) - Method in class sunlabs.brazil.asterisk.AsteriskHandler
-
Unregister an event (or events).
- tag_validate(RewriteContext) - Method in class sunlabs.brazil.sunlabs.ValidateTemplate
- tag_xmltree(RewriteContext) - Method in class sunlabs.brazil.sunlabs.XmlTreeTemplate
- tagCount() - Method in class sunlabs.brazil.handler.HtmlRewriter
-
Return count of tags seen so far
- tagMap - Variable in class sunlabs.brazil.handler.MapPage
-
Initialized to all tag/attribute pairs whose attribute values are considered for rewriting.
- tagsProcessed() - Method in class sunlabs.brazil.template.TemplateRunner
-
Return the # of tags replaced in the previous call to "process".
- tagsSeen() - Method in class sunlabs.brazil.template.RewriteContext
-
Return the number of HTML tags seen to this point.
- tagsSeen() - Method in class sunlabs.brazil.template.TemplateRunner
-
Return the # of HTML tags seen in the previous call to "process".
- Template - Class in sunlabs.brazil.template
- Template() - Constructor for class sunlabs.brazil.template.Template
- TemplateFilter - Class in sunlabs.brazil.filter
-
The
TemplateFilter
sends HTML content through an Html/XML parser to a set ofTemplate
s. - TemplateFilter() - Constructor for class sunlabs.brazil.filter.TemplateFilter
- templateFromTag(String) - Method in class sunlabs.brazil.template.RewriteContext
-
Get the template that will process the supplied tag (if any).
- templateFromTag(RewriteContext, String) - Method in class sunlabs.brazil.template.TemplateRunner
-
Return the object instance of the template that will process this tag (if any).
- TemplateHandler - Class in sunlabs.brazil.template
-
The
TemplateHandler
reads a template file from the document root, based on the URL, and passes the content through one or more template filters. - TemplateHandler() - Constructor for class sunlabs.brazil.template.TemplateHandler
- TemplateInterface - Interface in sunlabs.brazil.template
-
Interface for templates.
- templatePrefix - Variable in class sunlabs.brazil.template.RewriteContext
-
This is the prefix defined by the invoker of a set of templates.
- TemplateRunner - Class in sunlabs.brazil.template
-
Class for processing html templates.
- TemplateRunner(Server, String, String) - Constructor for class sunlabs.brazil.template.TemplateRunner
-
Process an HTML template with a template processing class.
- TemplateTemplate - Class in sunlabs.brazil.template
-
Template class for processing markup through a sequence of template filters.
- TemplateTemplate() - Constructor for class sunlabs.brazil.template.TemplateTemplate
- TestRequest - Class in sunlabs.brazil.server
-
Version of Request for testing purposes.
- TestRequest(Server, String) - Constructor for class sunlabs.brazil.server.TestRequest
- timeout - Variable in class sunlabs.brazil.server.Server
-
Time in milliseconds before this Server closes an idle socket or in-progress request.
- timestamp - Variable in class sunlabs.brazil.template.QueueTemplate.QueueItem
- timesUsed - Variable in class sunlabs.brazil.util.http.HttpSocket
- title - Variable in class sunlabs.brazil.handler.DialogHandler
- title - Variable in class sunlabs.brazil.handler.LogHandler
- TitleTemplate - Class in sunlabs.brazil.sunlabs
-
Template to look up "title" attributes in a database, and rewrite them.
- TitleTemplate() - Constructor for class sunlabs.brazil.sunlabs.TitleTemplate
- toAlpha(int) - Static method in class sunlabs.brazil.sunlabs.MiscTemplate
- TOCTemplate - Class in sunlabs.brazil.template
-
Template class for extracting table of contents information out of an html page by examining the "H1" tags, and setting request properties that can be used to build a table of contents.
- TOCTemplate() - Constructor for class sunlabs.brazil.template.TOCTemplate
- tokenCount() - Method in class sunlabs.brazil.handler.HtmlRewriter
-
Return count of tokens seen so far
- tokens - Variable in class sunlabs.brazil.handler.GenericProxyHandler
- toString() - Method in class sunlabs.brazil.asterisk.AsteriskHandler.EventItem
- toString() - Method in class sunlabs.brazil.asterisk.AsteriskHandler.Events
- toString() - Method in class sunlabs.brazil.handler.HtmlRewriter
-
Returns the "new" rewritten HTML document.
- toString() - Method in class sunlabs.brazil.handler.RePollHandler.Extract
- toString() - Method in class sunlabs.brazil.properties.PropertiesList
-
Returns a
String
containing theSystem.identityHashCode
s of this object, the wrapped object, and the preceding and succeding objects on the list of which this object is a member. - toString() - Method in class sunlabs.brazil.properties.SubstPropsHandler
- toString() - Method in class sunlabs.brazil.server.Request
-
Returns a string representation of this
Request
. - toString() - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
- toString() - Method in class sunlabs.brazil.sunlabs.XmlTree.DefaultNodeName
- toString() - Method in exception sunlabs.brazil.sunlabs.XmlTree.IllegalXmlException
- toString() - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
- toString() - Method in class sunlabs.brazil.sunlabs.XmlTree
-
Print a tree
- toString() - Method in class sunlabs.brazil.template.QueueTemplate.Queue
- toString() - Method in class sunlabs.brazil.template.QueueTemplate.QueueItem
- toString() - Method in class sunlabs.brazil.util.http.HttpSocket
- toString() - Method in class sunlabs.brazil.util.MatchString
-
print nicely
- toString() - Method in class sunlabs.brazil.util.regexp.Regexp
-
Returns a string representation of this compiled regular expression.
- toString() - Method in class sunlabs.brazil.util.StringMap
-
Returns a string representation of this
StringMap
in the form of a set of entries, enclosed in braces and separated by the characters ", ". - toString(String, String) - Method in class sunlabs.brazil.asterisk.AsteriskHandler.EventItem
-
Machine readable version
- toString(XmlTree.Node, StringBuffer, int) - Method in class sunlabs.brazil.sunlabs.XmlTree
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form