A B C D E F G H I K L M N O P R S T U V W X _

A

absoluteURL(String) - Static method in class nu.staldal.lsp.Utils
Check whether an URL is absolute.
add(Node) - Method in class nu.staldal.xmltree.NodeWithChildren
 
add(int, Node) - Method in class nu.staldal.xmltree.NodeWithChildren
 
addAll(Collection<? extends Node>) - Method in class nu.staldal.xmltree.NodeWithChildren
 
addAll(int, Collection<? extends Node>) - Method in class nu.staldal.xmltree.NodeWithChildren
 
addAttribute(String, String) - Method in class nu.staldal.xmltree.Element
Add an attribute to this element.
addConfiguredFileset(FileSet) - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
Input files.
addNamespaceMapping(String, String) - Method in class nu.staldal.xmltree.Element
Add a namespace mapping to this element.
afterElement() - Method in interface nu.staldal.lsp.LSPExtLib
Invoked after the element is sent.
afterElement() - Method in class nu.staldal.lsp.SimpleExtLib
 
append(CharSequence) - Method in class nu.staldal.xodus.HTMLSerializer
 
append(char) - Method in class nu.staldal.xodus.HTMLSerializer
 
append(CharSequence, int, int) - Method in class nu.staldal.xodus.HTMLSerializer
 
append(CharSequence) - Method in class nu.staldal.xodus.TextSerializer
 
append(char) - Method in class nu.staldal.xodus.TextSerializer
 
append(CharSequence, int, int) - Method in class nu.staldal.xodus.TextSerializer
 
append(char) - Method in class nu.staldal.xodus.XMLCharacterEncoder
 
append(CharSequence) - Method in class nu.staldal.xodus.XMLCharacterEncoder
 
append(CharSequence, int, int) - Method in class nu.staldal.xodus.XMLCharacterEncoder
 
append(CharSequence) - Method in class nu.staldal.xodus.XMLSerializer
 
append(char) - Method in class nu.staldal.xodus.XMLSerializer
 
append(CharSequence, int, int) - Method in class nu.staldal.xodus.XMLSerializer
 
AppendableStreamResult - Class in nu.staldal.xodus
StreamResult with an Appendable.
AppendableStreamResult() - Constructor for class nu.staldal.xodus.AppendableStreamResult
Default constructor.
AppendableStreamResult(Appendable) - Constructor for class nu.staldal.xodus.AppendableStreamResult
Constructor.
asCharArray() - Method in class nu.staldal.xmltree.Text
Get the charater content as a char[].
attributeDecl(String, String, String, String, String) - Method in class nu.staldal.xodus.HTMLSerializer
 
attributeDecl(String, String, String, String, String) - Method in class nu.staldal.xodus.TextSerializer
 
attributeDecl(String, String, String, String, String) - Method in class nu.staldal.xodus.XMLSerializer
 

B

beforeElement(ContentHandler) - Method in interface nu.staldal.lsp.LSPExtLib
Invoked before the element is sent.
beforeElement(ContentHandler) - Method in class nu.staldal.lsp.SimpleExtLib
 

C

cdata_section_elements - Variable in class nu.staldal.xodus.OutputConfig
 
characters(char[], int, int) - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
characters(char[], int, int) - Method in class nu.staldal.lsp.SimpleExtLib
 
characters(char[], int, int) - Method in class nu.staldal.lsp.StringHandler
 
characters(char[], int, int) - Method in class nu.staldal.xmltree.TreeBuilder
 
characters(CharSequence) - Method in class nu.staldal.xodus.HTMLSerializer
 
characters(char[], int, int) - Method in class nu.staldal.xodus.HTMLSerializer
 
characters(CharSequence) - Method in class nu.staldal.xodus.Serializer
Alternative method for convenience and efficiency (no need to copy a String into a char[]).
characters(CharSequence) - Method in class nu.staldal.xodus.TextSerializer
 
characters(char[], int, int) - Method in class nu.staldal.xodus.TextSerializer
 
characters(char[], int, int) - Method in class nu.staldal.xodus.XMLSerializer
 
characters(CharSequence) - Method in class nu.staldal.xodus.XMLSerializer
 
charAt(int) - Method in class nu.staldal.xodus.CharSequenceWrapper
 
CharSequenceWrapper - Class in nu.staldal.xodus
Wrap char[] as a CharSequence without copying.
clear() - Method in class nu.staldal.lsp.FullMap
 
clear() - Method in class nu.staldal.lsp.LSPForEachStatus
 
clear() - Method in class nu.staldal.xmltree.NodeWithChildren
 
close() - Method in class nu.staldal.lsp.framework.DBConnection
Close connection.
close() - Method in class nu.staldal.xodus.XMLCharacterEncoder
 
closeResultSet(ResultSet) - Method in class nu.staldal.lsp.framework.DBConnection
Close a ResultSet and its Statement.
comment(CharSequence) - Method in class nu.staldal.xodus.HTMLSerializer
 
comment(char[], int, int) - Method in class nu.staldal.xodus.HTMLSerializer
 
comment(CharSequence) - Method in class nu.staldal.xodus.Serializer
Alternative method for convenience and efficiency (no need to copy a String into a char[]).
comment(CharSequence) - Method in class nu.staldal.xodus.TextSerializer
 
comment(char[], int, int) - Method in class nu.staldal.xodus.TextSerializer
 
comment(CharSequence) - Method in class nu.staldal.xodus.XMLSerializer
 
comment(char[], int, int) - Method in class nu.staldal.xodus.XMLSerializer
 
commit() - Method in class nu.staldal.lsp.framework.DBConnection
Commit transaction.
compareEqual(Object, Object) - Static method in class nu.staldal.lsp.LSPPageBase
 
compileDependentFiles - Variable in class nu.staldal.lsp.LSPPageBase
 
compiledVersionName - Variable in class nu.staldal.lsp.LSPPageBase
 
compiledVersionNum - Variable in class nu.staldal.lsp.LSPPageBase
 
compileDynamic - Variable in class nu.staldal.lsp.LSPPageBase
 
contains(Object) - Method in class nu.staldal.xmltree.NodeWithChildren
 
containsAll(Collection<?>) - Method in class nu.staldal.xmltree.NodeWithChildren
 
containsKey(Object) - Method in class nu.staldal.lsp.FullMap
 
containsKey(Object) - Method in class nu.staldal.lsp.LSPForEachStatus
 
containsValue(Object) - Method in class nu.staldal.lsp.FullMap
 
containsValue(Object) - Method in class nu.staldal.lsp.LSPForEachStatus
 
ContentHandlerStartEndDocumentFilter - Class in nu.staldal.lsp
A filter which ignores startDocument and endDocument from a SAX2 ContentHandler.
ContentHandlerStartEndDocumentFilter(ContentHandler) - Constructor for class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
Constructs a filter.
context - Variable in class nu.staldal.lsp.framework.ServiceBase
Deprecated. The ServletContext.
context - Variable in class nu.staldal.lsp.framework.ThrowawayService
The ServletContext.
convertObjectToLSP(Object) - Static method in class nu.staldal.lsp.LSPPageBase
 
convertToBoolean(Object) - Static method in class nu.staldal.lsp.LSPPageBase
 
convertToBooleanAcceptNull(Object) - Static method in class nu.staldal.lsp.LSPPageBase
 
convertToList(Object) - Static method in class nu.staldal.lsp.LSPPageBase
 
convertToNumber(Object) - Static method in class nu.staldal.lsp.LSPPageBase
 
convertToString(Object) - Static method in class nu.staldal.lsp.LSPPageBase
 
convertToTuple(Object) - Static method in class nu.staldal.lsp.LSPPageBase
 
copyResultSet(ResultSet) - Method in class nu.staldal.lsp.framework.DBConnection
Copy a ResultSet into a List of Maps.
copyResultSetRow(ResultSet) - Method in class nu.staldal.lsp.framework.DBConnection
Copy a ResultSet row into a Map.
createOutputConfig(Properties) - Static method in class nu.staldal.xodus.OutputConfig
Factory method.
createSerializer(StreamResult, Properties) - Static method in class nu.staldal.xodus.Serializer
Factory method, create a new Serializer.

D

dateFormatter - Variable in class nu.staldal.lsp.framework.DBConnection
Formatter for the SQL DATE type.
dbConn - Variable in class nu.staldal.lsp.framework.DBConnection
The wrapped Connection.
dbConn - Variable in class nu.staldal.lsp.framework.ThrowawayService
database connection to use for this request, or null if no database has been setup
DBConnection - Class in nu.staldal.lsp.framework
Wrapper around a JDBC Connection with convenience methods.
DBConnection(Connection) - Constructor for class nu.staldal.lsp.framework.DBConnection
Create a DBConnection.
DEBUG - Static variable in class nu.staldal.xmltree.TreeBuilder
 
DEFAULT_DATE_FORMAT - Static variable in class nu.staldal.lsp.framework.DBConnection
Default formatter for SQL DATE type.
DEFAULT_TIME_FORMAT - Static variable in class nu.staldal.lsp.framework.DBConnection
Default formatter for the SQL TIME type.
DEFAULT_TIMESTAMP_FORMAT - Static variable in class nu.staldal.lsp.framework.DBConnection
Default formatter for the SQL TIMESTAMP type.
deleteRow(String, String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Delete rows from a table.
destroy() - Method in class nu.staldal.lsp.framework.DispatcherServlet
 
destroy() - Method in interface nu.staldal.lsp.framework.Service
Deprecated. Invoked once by the Servlet.destroy() method.
destroy() - Method in class nu.staldal.lsp.framework.ServiceBase
Deprecated. Invoked once by the Servlet.destroy() method.
DispatcherServlet - Class in nu.staldal.lsp.framework
Dispatcher Servlet for LSP framework.
DispatcherServlet() - Constructor for class nu.staldal.lsp.framework.DispatcherServlet
 
dispatchService(HttpServletRequest) - Method in class nu.staldal.lsp.framework.DispatcherServlet
Strip leading '/' and extension, apply defaultService.
dispatchService(HttpServletRequest) - Method in class nu.staldal.lsp.framework.RestfulDispatcherServlet
 
doCompile(String, boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Compiles an LSP file.
doctype_public - Variable in class nu.staldal.xodus.OutputConfig
 
doctype_system - Variable in class nu.staldal.xodus.OutputConfig
 
doDelete(HttpServletRequest, HttpServletResponse) - Method in class nu.staldal.lsp.framework.DispatcherServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class nu.staldal.lsp.framework.DispatcherServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class nu.staldal.lsp.framework.DispatcherServlet
 
doPut(HttpServletRequest, HttpServletResponse) - Method in class nu.staldal.lsp.framework.DispatcherServlet
 
doubleValueOf(double) - Static method in class nu.staldal.lsp.LSPPageBase
 
dumpRequestParameters(HttpServletRequest) - Method in class nu.staldal.lsp.framework.ServiceBase
Deprecated. Dump all request parameters to the Servlet log.

E

EasyService - Class in nu.staldal.lsp.framework
Abstract base class for easy services.
EasyService() - Constructor for class nu.staldal.lsp.framework.EasyService
 
Element - Class in nu.staldal.xmltree
An XML Element.
Element(String, String) - Constructor for class nu.staldal.xmltree.Element
Construct an element.
Element(String, String, int) - Constructor for class nu.staldal.xmltree.Element
Construct an element.
Element(String, String, int, int) - Constructor for class nu.staldal.xmltree.Element
Construct an element.
Element(Element) - Constructor for class nu.staldal.xmltree.Element
Pseudo-copy constructor, do not copy the children, but allocate room for them.
elementDecl(String, String) - Method in class nu.staldal.xodus.HTMLSerializer
 
elementDecl(String, String) - Method in class nu.staldal.xodus.TextSerializer
 
elementDecl(String, String) - Method in class nu.staldal.xodus.XMLSerializer
 
encodePath(String) - Static method in class nu.staldal.lsp.Utils
Encode a path name or URL into a filename.
encodePathAsIdentifier(String) - Static method in class nu.staldal.lsp.Utils
Encode a path name or URL into a Java identifier.
encodeURL(String) - Method in class nu.staldal.lsp.servlet.LSPServletContext
Encode an URL for Servlet session tracking.
encodeURL(Object, String) - Static method in class nu.staldal.lsp.servlet.XSLTExt
Encode an URL for Servlet session tracking.
encoding - Variable in class nu.staldal.xodus.OutputConfig
 
endCDATA() - Method in class nu.staldal.xodus.HTMLSerializer
 
endCDATA() - Method in class nu.staldal.xodus.TextSerializer
 
endCDATA() - Method in class nu.staldal.xodus.XMLSerializer
 
endDocument() - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
endDocument() - Method in class nu.staldal.lsp.SimpleExtLib
 
endDocument() - Method in class nu.staldal.lsp.StringHandler
 
endDocument() - Method in class nu.staldal.xmltree.TreeBuilder
 
endDocument() - Method in class nu.staldal.xodus.HTMLSerializer
 
endDocument() - Method in class nu.staldal.xodus.TextSerializer
 
endDocument() - Method in class nu.staldal.xodus.XMLSerializer
 
endDTD() - Method in class nu.staldal.xodus.HTMLSerializer
 
endDTD() - Method in class nu.staldal.xodus.TextSerializer
 
endDTD() - Method in class nu.staldal.xodus.XMLSerializer
 
endElement(String, String, String) - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
endElement(String, String, String) - Method in class nu.staldal.lsp.SimpleExtLib
 
endElement(String, String, String) - Method in class nu.staldal.lsp.StringHandler
 
endElement(String, String, String) - Method in class nu.staldal.xmltree.TreeBuilder
 
endElement(String, String, String) - Method in class nu.staldal.xodus.HTMLSerializer
 
endElement(String, String, String) - Method in class nu.staldal.xodus.TextSerializer
 
endElement(String, String, String) - Method in class nu.staldal.xodus.XMLSerializer
 
endEntity(String) - Method in class nu.staldal.xodus.HTMLSerializer
Does nothing.
endEntity(String) - Method in class nu.staldal.xodus.TextSerializer
 
endEntity(String) - Method in class nu.staldal.xodus.XMLSerializer
Does nothing.
endPage() - Method in interface nu.staldal.lsp.LSPExtLib
Indicate the end of an LSP page.
endPage() - Method in class nu.staldal.lsp.SimpleExtLib
 
endPrefixMapping(String) - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
endPrefixMapping(String) - Method in class nu.staldal.lsp.SimpleExtLib
 
endPrefixMapping(String) - Method in class nu.staldal.lsp.StringHandler
 
endPrefixMapping(String) - Method in class nu.staldal.xmltree.TreeBuilder
 
endPrefixMapping(String) - Method in class nu.staldal.xodus.HTMLSerializer
 
endPrefixMapping(String) - Method in class nu.staldal.xodus.TextSerializer
 
endPrefixMapping(String) - Method in class nu.staldal.xodus.XMLSerializer
 
entrySet() - Method in class nu.staldal.lsp.FullMap
 
entrySet() - Method in class nu.staldal.lsp.LSPForEachStatus
 
error(SAXParseException) - Method in class nu.staldal.xmltree.TreeBuilder
 
escapeJavascriptString(CharSequence) - Static method in class nu.staldal.lsp.framework.Utils
Escape a string for a Javascript literal.
execute() - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
 
execute(Map<String, Object>) - Method in class nu.staldal.lsp.framework.EasyService
Do not override this method.
execute() - Method in class nu.staldal.lsp.framework.EasyService
Invoked for a request to this Service.
execute(HttpServletRequest, HttpServletResponse, Map<String, Object>, int) - Method in interface nu.staldal.lsp.framework.Service
Deprecated. Invoked for each request to this Service.
execute(HttpServletRequest, HttpServletResponse, Map<String, Object>, int, DBConnection) - Method in class nu.staldal.lsp.framework.ServiceBase
Deprecated. Invoked for each request to this Service.
execute(HttpServletRequest, HttpServletResponse, Map<String, Object>, int) - Method in class nu.staldal.lsp.framework.ServiceBase
Deprecated.  
execute(Map<String, Object>) - Method in class nu.staldal.lsp.framework.ThrowawayService
Invoked for a request to this Service.
execute(ContentHandler, Map<String, Object>, Object) - Method in interface nu.staldal.lsp.LSPPage
Execute this LSP page and sends the output as SAX2 events to the supplied ContentHandler.
execute(ContentHandler, Map<String, Object>, Object) - Method in class nu.staldal.lsp.LSPPageBase
 
executePage(LSPPage, Map<String, Object>, Object, StreamResult) - Method in class nu.staldal.lsp.LSPHelper
Executes an LSP page and serialize the result to an StreamResult.
executePage(LSPPage, Map<String, Object>, Object, OutputStream) - Method in class nu.staldal.lsp.LSPHelper
Executes an LSP page and serialize the result to an OutputStream.
executePage(LSPPage, Map<String, Object>, Object) - Method in class nu.staldal.lsp.LSPHelper
Executes an LSP page and serialize the result to a String Uses any stylesheet specified in the LSP page.
executePage(LSPPage, Map<String, Object>, Object, Templates, StreamResult) - Method in class nu.staldal.lsp.LSPHelper
Executes an LSP page, transform the the result with an XSLT stylesheet and serialize the result to an StreamResult The output properties specified in the stylesheet will be used, and those specified in the LSP page will be ignored.
executePage(LSPPage, Map<String, Object>, Object, Templates, OutputStream) - Method in class nu.staldal.lsp.LSPHelper
Executes an LSP page, transform the the result with an XSLT stylesheet and serialize the result to an OutputStream The output properties specified in the stylesheet will be used, and those specified in the LSP page will be ignored.
executePage(LSPPage, Map<String, Object>, Object, Templates) - Method in class nu.staldal.lsp.LSPHelper
Executes an LSP page, transform the the result with an XSLT stylesheet and serialize the result to a String.
executePage(LSPPage, Map<String, Object>, ServletRequest, ServletResponse) - Method in class nu.staldal.lsp.servlet.LSPManager
Deprecated. use LSPManager.executePage(LSPPage,Map,HttpServletRequest,HttpServletResponse) instead
executePage(LSPPage, Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class nu.staldal.lsp.servlet.LSPManager
Executes an LSP page and write the result to a HttpServletResponse.
executePage(LSPPage, Map<String, Object>, String, ServletRequest, ServletResponse) - Method in class nu.staldal.lsp.servlet.LSPManager
Deprecated. use LSPManager.executePage(LSPPage,Map,String,HttpServletRequest,HttpServletResponse) instead
executePage(LSPPage, Map<String, Object>, String, HttpServletRequest, HttpServletResponse) - Method in class nu.staldal.lsp.servlet.LSPManager
Executes an LSP page and transform the the result with an XSLT stylesheet.
executeQuery(String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Execute a parameterized query.
executeQueryAndCopy(String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Execute a parameterized query, copy and close the ResultSet.
executeService(Object, HttpServletRequest, HttpServletResponse, Map<String, Object>, int) - Method in class nu.staldal.lsp.framework.DispatcherServlet
Execute a service
executeUpdate(String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Execute a parameterized update query.
exists(String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Execute a parameterized query which and check whether it returns any rows.
extContext - Variable in class nu.staldal.lsp.SimpleExtLib
External context, or null if not currently executing a page.
externalEntityDecl(String, String, String) - Method in class nu.staldal.xodus.HTMLSerializer
 
externalEntityDecl(String, String, String) - Method in class nu.staldal.xodus.TextSerializer
 
externalEntityDecl(String, String, String) - Method in class nu.staldal.xodus.XMLSerializer
 
extLibsClassNames - Variable in class nu.staldal.lsp.LSPPageBase
 
extLibsURLs - Variable in class nu.staldal.lsp.LSPPageBase
 
EXTRA_ARGS - Static variable in class nu.staldal.lsp.framework.RestfulDispatcherServlet
 
extraArgs - Variable in class nu.staldal.lsp.framework.ThrowawayService
Any extra URL path components from RestfulDispatcherServlet, or null if another dispatcher is used.

F

fatalError(SAXParseException) - Method in class nu.staldal.xmltree.TreeBuilder
 
fileToInputSource(File) - Static method in class nu.staldal.xmltree.TreeBuilder
Create an SAX InputSource from a File object.
finish() - Method in class nu.staldal.xodus.XMLCharacterEncoder
 
finishCompile(OutputStream) - Method in class nu.staldal.lsp.compiler.LSPCompiler
Finish the compilation.
finishOutput() - Method in class nu.staldal.xodus.Serializer
Finish writing to output.
fnContains(String, String) - Static method in class nu.staldal.lsp.LSPPageBase
 
fnNormalizeSpace(String) - Static method in class nu.staldal.lsp.LSPPageBase
 
fnRound(double) - Static method in class nu.staldal.lsp.LSPPageBase
 
fnSeq(double, double, double) - Static method in class nu.staldal.lsp.LSPPageBase
 
fnSubstring(String, double) - Static method in class nu.staldal.lsp.LSPPageBase
 
fnSubstring(String, double, double) - Static method in class nu.staldal.lsp.LSPPageBase
 
fnSubstringAfter(String, String) - Static method in class nu.staldal.lsp.LSPPageBase
 
fnSubstringBefore(String, String) - Static method in class nu.staldal.lsp.LSPPageBase
 
fnTranslate(String, String, String) - Static method in class nu.staldal.lsp.LSPPageBase
 
formatCustomDateTime(Object, String, Date) - Static method in class nu.staldal.lsp.servlet.XSLTExt
Format a java.util.Date as String using the user's locale with custom format.
formatDate(Object, Date) - Static method in class nu.staldal.lsp.servlet.XSLTExt
Format a java.util.Date as String using the user's locale.
formatDateTime(Object, Date) - Static method in class nu.staldal.lsp.servlet.XSLTExt
Format a java.util.Date as String using the user's locale.
formatTime(Object, Date) - Static method in class nu.staldal.lsp.servlet.XSLTExt
Format a java.util.Date as String using the user's locale.
FullMap - Class in nu.staldal.lsp
A special implementation of Map which pretends to have all possible keys.

G

get(Object) - Method in class nu.staldal.lsp.FullMap
 
get(Object) - Method in class nu.staldal.lsp.LSPForEachStatus
 
get(int) - Method in class nu.staldal.xmltree.NodeWithChildren
 
getAppendable() - Method in class nu.staldal.xodus.AppendableStreamResult
Get the Appendable.
getAttribute(String) - Method in class nu.staldal.xmltree.Element
Shortcut method for getting the value of an attribute.
getAttributeOrNull(String) - Method in class nu.staldal.xmltree.Element
Shortcut method for getting the value of an attribute.
getAttributes() - Method in class nu.staldal.xmltree.Element
Get the Map with attributes for this element.
getBaseURI() - Method in class nu.staldal.xmltree.Element
 
getBaseURI() - Method in class nu.staldal.xmltree.Node
Returns the absolute base URI of this node.
getBuf() - Method in class nu.staldal.lsp.StringHandler
Obtain the captured PCDATA.
getChildElements() - Method in class nu.staldal.xmltree.NodeWithChildren
Returns an read-only Collection of all children which are Elements.
getClassLoader() - Method in class nu.staldal.lsp.servlet.LSPManager
Get the ClassLoader used to load LSP pages and associated resources.
getColumnNumber() - Method in class nu.staldal.xmltree.Node
Return the column number where this node ends.
getCompileDependentFiles() - Method in interface nu.staldal.lsp.LSPPage
Get a list of files which was imported with this page was compiled.
getCompileDependentFiles() - Method in class nu.staldal.lsp.LSPPageBase
 
getConnection() - Method in class nu.staldal.lsp.framework.DBConnection
Return the wrapped Connection.
getContentType(LSPPage) - Method in class nu.staldal.lsp.LSPHelper
Get Content-Type (Internet Media Type, MIME type) with character encoding as "charset" parameter from an LSP page.
getContentType(Templates) - Method in class nu.staldal.lsp.LSPHelper
Get Content-Type (Internet Media Type, MIME type) with character encoding as "charset" parameter from compiled stylesheet.
getContentType(Properties) - Static method in class nu.staldal.lsp.LSPHelper
Get Content-Type (Internet Media Type, MIME type) with character encoding as "charset" parameter from an JAXP/TrAX OutputProperties object.
getDateFormatter() - Method in class nu.staldal.lsp.framework.DBConnection
Get formatter for the SQL DATE type.
getElementFromTuple(Map<?, ?>, String) - Static method in class nu.staldal.lsp.LSPPageBase
 
getElementFromTupleAcceptNull(Map<?, ?>, String) - Static method in class nu.staldal.lsp.LSPPageBase
 
getFirstChildElement(String) - Method in class nu.staldal.xmltree.NodeWithChildren
Shortcut method for getting the first Element child with a specified name.
getFirstChildElement() - Method in class nu.staldal.xmltree.NodeWithChildren
Shortcut method for getting the first Element children with any name.
getFirstChildElementOrNull(String) - Method in class nu.staldal.xmltree.NodeWithChildren
Shortcut method for getting the first Element child with a specified name.
getFirstChildElementOrNull() - Method in class nu.staldal.xmltree.NodeWithChildren
Shortcut method for getting the first Element children with any name.
getInheritedAttribute(String) - Method in class nu.staldal.xmltree.Element
 
getInheritedAttribute(String) - Method in class nu.staldal.xmltree.Node
Return the value of an inherited attribute.
getInstance() - Static method in class nu.staldal.lsp.FullMap
Singleton.
getInstance(ServletContext) - Static method in class nu.staldal.lsp.servlet.LSPManager
Obtain the the LSPManager instance for the given ServletContext.
getInstance(ServletContext, ClassLoader) - Static method in class nu.staldal.lsp.servlet.LSPManager
Obtain the the LSPManager instance for the given ServletContext.
getLineNumber() - Method in class nu.staldal.xmltree.Node
Return the line number where this node ends.
getLocalizedString(HttpServletRequest, String) - Method in class nu.staldal.lsp.servlet.LSPManager
Get a localized resource for the user's locale.
getLocalizedString(HttpServletRequest, String, String) - Method in class nu.staldal.lsp.servlet.LSPManager
Get a localized resource for the user's locale.
getLocalName() - Method in class nu.staldal.xmltree.Element
Get the name of this element.
getLSPHelper() - Method in class nu.staldal.lsp.servlet.LSPManager
Obtain the underlaying LSPHelper.
getLSPManager() - Method in class nu.staldal.lsp.servlet.LSPServletContext
Get the LSPManager.
getName() - Method in class nu.staldal.xmltree.Element
Get the qualified name of this element.
getNamespaceMapping(int) - Method in class nu.staldal.xmltree.Element
Return a namespace mapping at the specified index.
getNamespaceURI() - Method in class nu.staldal.xmltree.Element
Get the namespace URI for this element.
getNullReplacement() - Method in class nu.staldal.lsp.framework.DBConnection
Get the object to use when copying a ResultSet (row) and a JDBC NULL occurs.
getOutputProperties() - Method in interface nu.staldal.lsp.LSPPage
Output properties to use then this page is serialized.
getOutputProperties() - Method in class nu.staldal.lsp.LSPPageBase
 
getPage(String) - Method in class nu.staldal.lsp.LSPHelper
Get the LSPPage instance for a given page name.
getPage(String) - Method in class nu.staldal.lsp.servlet.LSPManager
Get the LSPPage instance for a given page name.
getPageName(String) - Static method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Get pageName.
getPageName() - Method in interface nu.staldal.lsp.LSPPage
Get the name of this page.
getPageName() - Method in class nu.staldal.lsp.LSPPageBase
 
getParent() - Method in class nu.staldal.xmltree.Node
Get the parent of this node.
getPreserveSpace() - Method in class nu.staldal.xmltree.Element
 
getPreserveSpace() - Method in class nu.staldal.xmltree.Node
Return the value of any xml:space attribute in force for this node.
getPublicId() - Method in class nu.staldal.xmltree.Node
Return the public identifier for this node.
getRequestDispatcher(String) - Method in class nu.staldal.lsp.servlet.LSPManager
Get a RequestDispatcher for a given page name.
getServletContext() - Method in class nu.staldal.lsp.framework.ServiceBase
Deprecated. Get the ServletContext.
getServletContext() - Method in class nu.staldal.lsp.servlet.LSPServletContext
Get the ServletContext.
getServletRequest() - Method in class nu.staldal.lsp.servlet.LSPServletContext
Get the HttpServletRequest.
getServletResponse() - Method in class nu.staldal.lsp.servlet.LSPServletContext
Get the HttpServletResponse.
getStylesheet(String) - Method in class nu.staldal.lsp.LSPHelper
Get an compiled XSLT stylesheet.
getSystemId() - Method in class nu.staldal.xmltree.Node
Return the system identifier for this node.
getTarget() - Method in class nu.staldal.xmltree.ProcessingInstruction
Get the target.
getTextContent() - Method in class nu.staldal.xmltree.Element
Shortcut method for getting the text content of an Element.
getTextContentOrNull() - Method in class nu.staldal.xmltree.Element
Shortcut method for getting the text content of an Element.
getTimeCompiled() - Method in interface nu.staldal.lsp.LSPPage
When this page was compiled.
getTimeCompiled() - Method in class nu.staldal.lsp.LSPPageBase
 
getTimeFormatter() - Method in class nu.staldal.lsp.framework.DBConnection
Get formatter for the SQL TIME type.
getTimestampFormatter() - Method in class nu.staldal.lsp.framework.DBConnection
Get formatter for the SQL TIMESTAMP type.
getTree() - Method in class nu.staldal.xmltree.TreeBuilder
Obtain the XTree built from SAX events.
getUserLocale() - Method in class nu.staldal.lsp.framework.ThrowawayService
Get the user's locale.
getUserLocale(HttpServletRequest) - Method in class nu.staldal.lsp.servlet.LSPManager
Get the user's locale.
getValue() - Method in class nu.staldal.xmltree.ProcessingInstruction
Get the value.
getValue() - Method in class nu.staldal.xmltree.Text
Get the charater content as a string
getVariableValue(Environment<String, Object>, String) - Static method in class nu.staldal.lsp.LSPPageBase
 
getVariableValueAcceptNull(Environment<String, Object>, String) - Static method in class nu.staldal.lsp.LSPPageBase
 

H

handleElement(String, Attributes, ContentHandler) - Method in class nu.staldal.lsp.servlet.ServletExtLib
 
handleElement(String, Attributes, ContentHandler) - Method in class nu.staldal.lsp.SimpleExtLib
Handle an extension element.
HTMLSerializer - Class in nu.staldal.xodus
 

I

ignorableWhitespace(char[], int, int) - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
ignorableWhitespace(char[], int, int) - Method in class nu.staldal.lsp.SimpleExtLib
 
ignorableWhitespace(char[], int, int) - Method in class nu.staldal.lsp.StringHandler
 
ignorableWhitespace(char[], int, int) - Method in class nu.staldal.xmltree.TreeBuilder
 
ignorableWhitespace(CharSequence) - Method in class nu.staldal.xodus.HTMLSerializer
 
ignorableWhitespace(char[], int, int) - Method in class nu.staldal.xodus.HTMLSerializer
 
ignorableWhitespace(CharSequence) - Method in class nu.staldal.xodus.Serializer
Alternative method for convenience and efficiency (no need to copy a String into a char[]).
ignorableWhitespace(CharSequence) - Method in class nu.staldal.xodus.TextSerializer
 
ignorableWhitespace(char[], int, int) - Method in class nu.staldal.xodus.TextSerializer
 
ignorableWhitespace(CharSequence) - Method in class nu.staldal.xodus.XMLSerializer
 
ignorableWhitespace(char[], int, int) - Method in class nu.staldal.xodus.XMLSerializer
 
INCLUDE_ATTR_PREFIX - Static variable in interface nu.staldal.lsp.framework.Service
Deprecated. Prefix for request attributes for include attributes.
INCLUDE_ATTR_PREFIX - Static variable in class nu.staldal.lsp.framework.ThrowawayService
Prefix for request attributes for include attributes.
indent - Variable in class nu.staldal.xodus.OutputConfig
 
indexOf(Object) - Method in class nu.staldal.xmltree.NodeWithChildren
 
init() - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
 
init() - Method in class nu.staldal.lsp.framework.DispatcherServlet
 
init(ServletContext) - Method in interface nu.staldal.lsp.framework.Service
Deprecated. Invoked once directly after instantiation, before first use.
init(DBConnection) - Method in class nu.staldal.lsp.framework.ServiceBase
Deprecated. Invoked once directly after instantiation, before first use.
init(ServletContext) - Method in class nu.staldal.lsp.framework.ServiceBase
Deprecated.  
init(String) - Method in interface nu.staldal.lsp.LSPExtLib
Initialize this Extension Library.
init(ClassLoader, ServletContext) - Method in interface nu.staldal.lsp.servlet.LocaleBundleFactory
Initialize this factory.
init(String) - Method in class nu.staldal.lsp.SimpleExtLib
 
insertRow(String, String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Insert a row into a table
internalEntityDecl(String, String) - Method in class nu.staldal.xodus.HTMLSerializer
 
internalEntityDecl(String, String) - Method in class nu.staldal.xodus.TextSerializer
 
internalEntityDecl(String, String) - Method in class nu.staldal.xodus.XMLSerializer
 
isCompileDynamic() - Method in interface nu.staldal.lsp.LSPPage
Currently not used.
isCompileDynamic() - Method in class nu.staldal.lsp.LSPPageBase
 
isEmpty() - Method in class nu.staldal.lsp.FullMap
 
isEmpty() - Method in class nu.staldal.lsp.LSPForEachStatus
 
isEmpty() - Method in class nu.staldal.xmltree.NodeWithChildren
 
isHtml - Variable in class nu.staldal.xodus.OutputConfig
 
isSpecial - Variable in class nu.staldal.xodus.OutputConfig
 
isText - Variable in class nu.staldal.xodus.OutputConfig
 
isUserInRole(String) - Method in class nu.staldal.lsp.servlet.LSPServletContext
Check if user is in role.
isUserInRole(Object, String) - Static method in class nu.staldal.lsp.servlet.XSLTExt
Check if user is in role.
isWhitespaceNode() - Method in class nu.staldal.xmltree.Node
Check if this node consist of whitespace only.
isWhitespaceNode() - Method in class nu.staldal.xmltree.Text
 
isXhtml - Variable in class nu.staldal.xodus.OutputConfig
 
iterator() - Method in class nu.staldal.xmltree.NodeWithChildren
 

K

keySet() - Method in class nu.staldal.lsp.FullMap
 
keySet() - Method in class nu.staldal.lsp.LSPForEachStatus
 

L

lang(String, String) - Method in class nu.staldal.lsp.servlet.LSPServletContext
Get a localized resource for the user's locale.
lang(String) - Method in class nu.staldal.lsp.servlet.LSPServletContext
Get a localized resource for the user's locale.
lang(Object, String, String) - Static method in class nu.staldal.lsp.servlet.XSLTExt
Get a localized resource for the user's locale.
lang(Object, String) - Static method in class nu.staldal.lsp.servlet.XSLTExt
Get a localized resource for the user's locale.
lastIndexOf(Object) - Method in class nu.staldal.xmltree.NodeWithChildren
 
length() - Method in class nu.staldal.xodus.CharSequenceWrapper
 
listIterator() - Method in class nu.staldal.xmltree.NodeWithChildren
 
listIterator(int) - Method in class nu.staldal.xmltree.NodeWithChildren
 
loadBundle(Locale) - Method in interface nu.staldal.lsp.servlet.LocaleBundleFactory
Load a localization bundle for a given locale.
LOCALE_KEY - Static variable in class nu.staldal.lsp.servlet.LSPManager
Use this key to store a user's locale in HttpSession.setAttribute(java.lang.String, java.lang.Object) to override the default use of ServletRequest.getLocales().
LocaleBundleFactory - Interface in nu.staldal.lsp.servlet
Interface for localization bundle factories.
lookupBoolean(String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Execute a parameterized query which and return the first object in the first row of the ResultSet as a boolean.
lookupExtensionHandler(Map<String, LSPExtLib>, String, String) - Static method in class nu.staldal.lsp.LSPPageBase
 
lookupInt(String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Execute a parameterized query which and return the first object in the first row of the ResultSet as an integer.
lookupNamespacePrefix(String) - Method in class nu.staldal.xmltree.Element
 
lookupNamespacePrefix(String) - Method in class nu.staldal.xmltree.Node
Lookup a prefix which has been mapped to a namespace URI.
lookupNamespaceURI(String) - Method in class nu.staldal.xmltree.Element
 
lookupNamespaceURI(String) - Method in class nu.staldal.xmltree.Node
Lookup the namespace URI which has been mapped to a prefix.
lookupObject(String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Execute a parameterized query which and return the first object in the first row of the ResultSet.
lookupRow(String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Execute a parameterized query which and return a copy of the first row of the ResultSet.
lookupService(String) - Method in class nu.staldal.lsp.framework.DispatcherServlet
Lookup a service.
lookupString(String, Object...) - Method in class nu.staldal.lsp.framework.DBConnection
Execute a parameterized query which and return the first object in the first row of the ResultSet as a string.
LSP_VERSION_NAME - Static variable in interface nu.staldal.lsp.LSPPage
Current version of LSP.
LSP_VERSION_NUM - Static variable in interface nu.staldal.lsp.LSPPage
Version number to check compatibility between runtime and compiled pages.
LSPCompiler - Class in nu.staldal.lsp.compiler
Compiles an LSP page into JVM bytecode.
LSPCompiler() - Constructor for class nu.staldal.lsp.compiler.LSPCompiler
Create a new LSP compiler.
LSPCompilerAntTask - Class in nu.staldal.lsp.compiler
Apache Ant interface to the LSP compiler.
LSPCompilerAntTask() - Constructor for class nu.staldal.lsp.compiler.LSPCompilerAntTask
Create a new LSPCompilerAntTask.
LSPCompilerCLI - Class in nu.staldal.lsp.compiler
Command Line interface to the LSP compiler.
LSPCompilerCLI() - Constructor for class nu.staldal.lsp.compiler.LSPCompilerCLI
 
LSPCompilerHelper - Class in nu.staldal.lsp.compiler
Wrapper around LSPCompiler to handle reading input files and writing the result to a file.
LSPCompilerHelper() - Constructor for class nu.staldal.lsp.compiler.LSPCompilerHelper
Create a new LSP compiler.
LSPException - Exception in nu.staldal.lsp
An exception which occurs when compiling or executing and LSP page.
LSPException(String) - Constructor for exception nu.staldal.lsp.LSPException
Create an LSPException
LSPExpr - Class in nu.staldal.lsp.compiler
LSP expression.
LSPExpr() - Constructor for class nu.staldal.lsp.compiler.LSPExpr
 
LSPExtLib - Interface in nu.staldal.lsp
LSP Extension Library.
LSPForEachStatus - Class in nu.staldal.lsp
Used compiled LSP pages to implement the status object in for-each loops.
LSPForEachStatus(Iterator<?>) - Constructor for class nu.staldal.lsp.LSPForEachStatus
Create an LSPForEachStatus.
LSPHelper - Class in nu.staldal.lsp
Helper class for loading and executing an LSP pages and serialize the output to a byte stream.
LSPHelper(ClassLoader) - Constructor for class nu.staldal.lsp.LSPHelper
Create an LSPHelper.
LSPManager - Class in nu.staldal.lsp.servlet
Handle execution of LSP pages in a Servlet environment.
LSPPage - Interface in nu.staldal.lsp
A compiled LSP Page.
LSPPageBase - Class in nu.staldal.lsp
Base class for compiled LSP pages.
LSPPageBase(String[], String[], String[], boolean, long, String, String, int) - Constructor for class nu.staldal.lsp.LSPPageBase
 
LSPRunner - Class in nu.staldal.lsp
Execute LSP pages in a stand-alone environment.
LSPRunner() - Constructor for class nu.staldal.lsp.LSPRunner
 
LSPServletContext - Class in nu.staldal.lsp.servlet
Context for LSP extension libraries executed in Servlet environment.
LSPServletContext(ServletContext, HttpServletRequest, HttpServletResponse, LSPManager) - Constructor for class nu.staldal.lsp.servlet.LSPServletContext
Create an LSPServletContext.

M

main(String[]) - Static method in class nu.staldal.lsp.compiler.LSPCompilerCLI
Application main method.
main(String[]) - Static method in class nu.staldal.lsp.LSPRunner
Application main method.
mainDB - Variable in class nu.staldal.lsp.framework.ServiceBase
Deprecated. The DataSource to main database, or null if no database is setup.
mainDB - Variable in class nu.staldal.lsp.framework.ThrowawayService
The DataSource to main database, or null if no database is setup.
Mandatory - Annotation Type in nu.staldal.lsp.framework
Indicates that a parameter is mandatory.
media_type - Variable in class nu.staldal.xodus.OutputConfig
 
method - Variable in class nu.staldal.xodus.OutputConfig
 
myNamespaceURI - Variable in class nu.staldal.lsp.SimpleExtLib
Namespace URI for this extension library.

N

nChars(int, char) - Static method in class nu.staldal.lsp.Utils
Generate a String with a specified number of a given character.
newline() - Method in class nu.staldal.xodus.Serializer
Write a newline.
next() - Method in class nu.staldal.lsp.LSPForEachStatus
Should be invoked when the iterator is advanced.
Node - Class in nu.staldal.xmltree
Base class for a node in an XMLTree.
Node() - Constructor for class nu.staldal.xmltree.Node
Default constructor.
Node(Node) - Constructor for class nu.staldal.xmltree.Node
Copy constructor.
NodeWithChildren - Class in nu.staldal.xmltree
Base class for a node with children.
NodeWithChildren() - Constructor for class nu.staldal.xmltree.NodeWithChildren
Construct a node which children.
NodeWithChildren(int) - Constructor for class nu.staldal.xmltree.NodeWithChildren
Construct a node which children.
NodeWithChildren(NodeWithChildren) - Constructor for class nu.staldal.xmltree.NodeWithChildren
Pseudo-copy constructor, do not copy the children, but allocate room for them.
notationDecl(String, String, String) - Method in class nu.staldal.xodus.HTMLSerializer
 
notationDecl(String, String, String) - Method in class nu.staldal.xodus.TextSerializer
 
notationDecl(String, String, String) - Method in class nu.staldal.xodus.XMLSerializer
 
nu.staldal.lsp - package nu.staldal.lsp
LSP main package.
nu.staldal.lsp.compiler - package nu.staldal.lsp.compiler
LSP compiler.
nu.staldal.lsp.framework - package nu.staldal.lsp.framework
Simple framework for web applications with LSP.
nu.staldal.lsp.servlet - package nu.staldal.lsp.servlet
Use LSP in a Servlet environment.
nu.staldal.xmltree - package nu.staldal.xmltree
XMLTree is a lightweight tree representation of an XML document.
nu.staldal.xodus - package nu.staldal.xodus
Serialize SAX2 events to its textual XML representation.
nullReplacement - Variable in class nu.staldal.lsp.framework.DBConnection
The object to use when copying a ResultSet (row) and a JDBC NULL occurs.
numberOfNamespaceMappings() - Method in class nu.staldal.xmltree.Element
Return the number of namespace mappings for this element.

O

omit_xml_declaration - Variable in class nu.staldal.xodus.OutputConfig
 
out - Variable in class nu.staldal.xodus.Serializer
 
OutputConfig - Class in nu.staldal.xodus
Output config.
outputConfig - Variable in class nu.staldal.xodus.Serializer
 
outputEndElement(ContentHandler) - Method in class nu.staldal.xmltree.Element
Fire the endElement event to the given SAX2 ContentHandler.
outputProperties - Variable in class nu.staldal.lsp.LSPPageBase
 
outputStartElement(ContentHandler) - Method in class nu.staldal.xmltree.Element
Fire the startElement event to the given SAX2 ContentHandler.
outputStartElement(ContentHandler, Map<String, String>) - Method in class nu.staldal.xmltree.Element
Fire the startElement event to the given SAX2 ContentHandler.
outputStringWithoutCR(ContentHandler, String, boolean) - Static method in class nu.staldal.lsp.LSPPageBase
 

P

pageName - Variable in class nu.staldal.lsp.LSPPageBase
 
pageName - Variable in class nu.staldal.lsp.SimpleExtLib
Current page name, or null if not currently executing a page.
PageParameter - Annotation Type in nu.staldal.lsp.framework
A field in a EasyService with this annotation set will be automatically passed as a page parameter to the template.
Parameter - Annotation Type in nu.staldal.lsp.framework
Mark a field in a ThrowawayService or EasyService with this annotation to set have it automatically populated with the value of a HTTP request parameter.
parent - Variable in class nu.staldal.xmltree.Node
 
parseFromString(String) - Static method in class nu.staldal.lsp.compiler.LSPExpr
Parse an LSP expression from a String.
parseInteger(String, int) - Static method in class nu.staldal.lsp.framework.Utils
Parse a string as an integer.
parseXML(InputSource, boolean) - Static method in class nu.staldal.xmltree.TreeBuilder
Parse an XML document into an XTree.
processingInstruction(String, String) - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
processingInstruction(String, String) - Method in class nu.staldal.lsp.SimpleExtLib
 
processingInstruction(String, String) - Method in class nu.staldal.lsp.StringHandler
 
ProcessingInstruction - Class in nu.staldal.xmltree
An XML processing instruction.
ProcessingInstruction(String, String) - Constructor for class nu.staldal.xmltree.ProcessingInstruction
Constructs a processing instruction.
processingInstruction(String, String) - Method in class nu.staldal.xmltree.TreeBuilder
 
processingInstruction(String, String) - Method in class nu.staldal.xodus.HTMLSerializer
Will honor Result.PI_DISABLE_OUTPUT_ESCAPING and Result.PI_ENABLE_OUTPUT_ESCAPING.
processingInstruction(String, String) - Method in class nu.staldal.xodus.TextSerializer
 
processingInstruction(String, String) - Method in class nu.staldal.xodus.XMLSerializer
Will honor Result.PI_DISABLE_OUTPUT_ESCAPING and Result.PI_ENABLE_OUTPUT_ESCAPING.
pseudoAbsoluteURL(String) - Static method in class nu.staldal.lsp.Utils
Check whether an URL is pseudo-absolute.
put(String, Object) - Method in class nu.staldal.lsp.FullMap
 
put(String, Object) - Method in class nu.staldal.lsp.LSPForEachStatus
 
putAll(Map<? extends String, ?>) - Method in class nu.staldal.lsp.FullMap
 
putAll(Map<? extends String, ? extends Object>) - Method in class nu.staldal.lsp.LSPForEachStatus
 

R

remove(Object) - Method in class nu.staldal.lsp.FullMap
 
remove(Object) - Method in class nu.staldal.lsp.LSPForEachStatus
 
remove(Object) - Method in class nu.staldal.xmltree.NodeWithChildren
 
remove(int) - Method in class nu.staldal.xmltree.NodeWithChildren
 
removeAll(Collection<?>) - Method in class nu.staldal.xmltree.NodeWithChildren
 
request - Variable in class nu.staldal.lsp.framework.ThrowawayService
The HttpServletRequest.
REQUEST_DELETE - Static variable in interface nu.staldal.lsp.framework.Service
Deprecated. Request type DELETE.
REQUEST_DELETE - Static variable in class nu.staldal.lsp.framework.ThrowawayService
Request type DELETE.
REQUEST_GET - Static variable in interface nu.staldal.lsp.framework.Service
Deprecated. Request type GET.
REQUEST_GET - Static variable in class nu.staldal.lsp.framework.ThrowawayService
Request type GET.
REQUEST_INCLUDE - Static variable in interface nu.staldal.lsp.framework.Service
Deprecated. Request type include.
REQUEST_INCLUDE - Static variable in class nu.staldal.lsp.framework.ThrowawayService
Request type include.
REQUEST_POST - Static variable in interface nu.staldal.lsp.framework.Service
Deprecated. Request type POST.
REQUEST_POST - Static variable in class nu.staldal.lsp.framework.ThrowawayService
Request type POST.
REQUEST_PUT - Static variable in interface nu.staldal.lsp.framework.Service
Deprecated. Request type PUT.
REQUEST_PUT - Static variable in class nu.staldal.lsp.framework.ThrowawayService
Request type PUT.
requestType - Variable in class nu.staldal.lsp.framework.ThrowawayService
The request type.
resolve(String, ContentHandler) - Method in interface nu.staldal.lsp.URLResolver
Resolvs an URL and feed the XML data into the supplied SAX2 ContentHandler.
response - Variable in class nu.staldal.lsp.framework.ThrowawayService
The HttpServletResponse.
RestfulDispatcherServlet - Class in nu.staldal.lsp.framework
Dispatcher Servlet for LSP framework with RESTful dispatching.
RestfulDispatcherServlet() - Constructor for class nu.staldal.lsp.framework.RestfulDispatcherServlet
 
retainAll(Collection<?>) - Method in class nu.staldal.xmltree.NodeWithChildren
 
rollback() - Method in class nu.staldal.lsp.framework.DBConnection
Rollback transaction.

S

Serializer - Class in nu.staldal.xodus
Serialize SAX2 events to its textual XML representation.
Serializer(StreamResult, OutputConfig) - Constructor for class nu.staldal.xodus.Serializer
 
Service - Interface in nu.staldal.lsp.framework
Deprecated. 
ServiceBase - Class in nu.staldal.lsp.framework
Deprecated. 
ServiceBase() - Constructor for class nu.staldal.lsp.framework.ServiceBase
Deprecated.  
ServletExtLib - Class in nu.staldal.lsp.servlet
LSP extension library for Servlet environment.
ServletExtLib() - Constructor for class nu.staldal.lsp.servlet.ServletExtLib
 
set(int, Node) - Method in class nu.staldal.xmltree.NodeWithChildren
 
setAcceptNull(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompiler
Deprecated. use LSPCompiler.setAcceptUnbound(boolean) instead
setAcceptNull(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
Deprecated. use LSPCompilerAntTask.setAcceptUnbound(boolean) instead
setAcceptNull(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Deprecated. use LSPCompilerHelper.setAcceptUnbound(boolean) instead
setAcceptUnbound(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompiler
Set to true to make the compiled page accept unbound values without runtime error.
setAcceptUnbound(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
Accept unbound variables and tuple values value without runtime exception.
setAcceptUnbound(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Set to true to make the compiled page accept unbound values without runtime error.
setAppendable(Appendable) - Method in class nu.staldal.xodus.AppendableStreamResult
Set the Appendable
setBaseURI(URL) - Method in class nu.staldal.xmltree.Element
Set the baseURI property of this element.
setColumn(int) - Method in class nu.staldal.xmltree.Node
 
setDateFormatter(DateFormat) - Method in class nu.staldal.lsp.framework.DBConnection
Set formatter for the SQL DATE type.
setDestdir(File) - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
Where to place generated class files.
setDocumentLocator(Locator) - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
setDocumentLocator(Locator) - Method in class nu.staldal.lsp.SimpleExtLib
 
setDocumentLocator(Locator) - Method in class nu.staldal.lsp.StringHandler
 
setDocumentLocator(Locator) - Method in class nu.staldal.xmltree.TreeBuilder
 
setDocumentLocator(Locator) - Method in class nu.staldal.xodus.HTMLSerializer
Does nothing.
setDocumentLocator(Locator) - Method in class nu.staldal.xodus.TextSerializer
Does nothing.
setDocumentLocator(Locator) - Method in class nu.staldal.xodus.XMLSerializer
Does nothing.
setEnclose(String) - Method in class nu.staldal.lsp.compiler.LSPCompiler
Set enclose to use.
setEnclose(File) - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
Set enclose file.
setEncloseFile(File) - Method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Enclose to use.
setForce(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
Force compilation even if the compiled class exists and is up-to-date.
setHtml(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompiler
Set to true to use html as default output type.
setHtml(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
Use HTML as default output method instead of XHTML.
setHtml(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Set to true to use html as default output type.
setHtmlEncoding(String) - Method in class nu.staldal.lsp.LSPHelper
Set the default character encoding for HTML.
setHtmlType(String) - Method in class nu.staldal.lsp.LSPHelper
Set the default media-type for HTML.
setLine(int) - Method in class nu.staldal.xmltree.Node
 
setNullReplacement(Object) - Method in class nu.staldal.lsp.framework.DBConnection
Set the object to use when copying a ResultSet (row) and a JDBC NULL occurs.
setOutputProperty(String, String) - Method in class nu.staldal.lsp.LSPPageBase
 
setPublicId(String) - Method in class nu.staldal.xmltree.Node
 
setSourcepath(Path) - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
Path to search for enclose and included files.
setSourcePath(File[]) - Method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Where to look for imported files with relative URL:s (will search the directory where the source file is as well).
setStartDir(File) - Method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Where to look for files to compile, default is current directory.
setSystemId(String) - Method in class nu.staldal.xmltree.Node
 
setTargetDir(File) - Method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Where to place generated files, default is current directory.
setTextEncoding(String) - Method in class nu.staldal.lsp.LSPHelper
Set the default character encoding for TEXT.
setTextType(String) - Method in class nu.staldal.lsp.LSPHelper
Set the default media-type for TEXT.
setTimeFormatter(DateFormat) - Method in class nu.staldal.lsp.framework.DBConnection
Set formatter for the SQL TIME type.
setTimestampFormatter(DateFormat) - Method in class nu.staldal.lsp.framework.DBConnection
Set formatter for the SQL TIMESTAMP type.
setXhtml(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompiler
Deprecated. XHTML is now default, use LSPCompiler.setHtml(boolean) to override it.
setXhtml(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerAntTask
Deprecated. XHTML is now default, use LSPCompilerAntTask.setHtml(boolean) to override it.
setXhtml(boolean) - Method in class nu.staldal.lsp.compiler.LSPCompilerHelper
Deprecated. XHTML is now default, use LSPCompilerHelper.setHtml(boolean) to override it.
setXhtmlEncoding(String) - Method in class nu.staldal.lsp.LSPHelper
Set the default character encoding for XHTML.
setXhtmlType(String) - Method in class nu.staldal.lsp.LSPHelper
Set the default media-type for XHTML.
setXmlEncoding(String) - Method in class nu.staldal.lsp.LSPHelper
Set the default character encoding for XML.
setXmlType(String) - Method in class nu.staldal.lsp.LSPHelper
Set the default media-type for XML.
SimpleExtLib - Class in nu.staldal.lsp
Convenience class for implementing LSP extension libraries with only empty elements.
SimpleExtLib() - Constructor for class nu.staldal.lsp.SimpleExtLib
 
size() - Method in class nu.staldal.lsp.FullMap
 
size() - Method in class nu.staldal.lsp.LSPForEachStatus
 
size() - Method in class nu.staldal.xmltree.NodeWithChildren
 
skippedEntity(String) - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
skippedEntity(String) - Method in class nu.staldal.lsp.SimpleExtLib
 
skippedEntity(String) - Method in class nu.staldal.lsp.StringHandler
 
skippedEntity(String) - Method in class nu.staldal.xmltree.TreeBuilder
 
skippedEntity(String) - Method in class nu.staldal.xodus.HTMLSerializer
 
skippedEntity(String) - Method in class nu.staldal.xodus.TextSerializer
 
skippedEntity(String) - Method in class nu.staldal.xodus.XMLSerializer
 
splitString(CharSequence, char) - Static method in class nu.staldal.lsp.framework.Utils
Split a string into a list of substrings using a specified character as delimiter.
standalone - Variable in class nu.staldal.xodus.OutputConfig
 
startCDATA() - Method in class nu.staldal.xodus.HTMLSerializer
 
startCDATA() - Method in class nu.staldal.xodus.TextSerializer
 
startCDATA() - Method in class nu.staldal.xodus.XMLSerializer
 
startCompile(String, URLResolver) - Method in class nu.staldal.lsp.compiler.LSPCompiler
Start compilation of an LSP page.
startDocument() - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
startDocument() - Method in class nu.staldal.lsp.SimpleExtLib
 
startDocument() - Method in class nu.staldal.lsp.StringHandler
 
startDocument() - Method in class nu.staldal.xmltree.TreeBuilder
 
startDocument() - Method in class nu.staldal.xodus.HTMLSerializer
 
startDocument() - Method in class nu.staldal.xodus.TextSerializer
 
startDocument() - Method in class nu.staldal.xodus.XMLSerializer
 
startDTD(String, String, String) - Method in class nu.staldal.xodus.HTMLSerializer
 
startDTD(String, String, String) - Method in class nu.staldal.xodus.TextSerializer
 
startDTD(String, String, String) - Method in class nu.staldal.xodus.XMLSerializer
 
startElement(String, String, String, Attributes) - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
startElement(String, String, String, Attributes) - Method in class nu.staldal.lsp.SimpleExtLib
 
startElement(String, String, String, Attributes) - Method in class nu.staldal.lsp.StringHandler
 
startElement(String, String, String, Attributes) - Method in class nu.staldal.xmltree.TreeBuilder
 
startElement(String, String, String, Attributes) - Method in class nu.staldal.xodus.HTMLSerializer
 
startElement(String, String, String, Attributes) - Method in class nu.staldal.xodus.TextSerializer
 
startElement(String, String, String, Attributes) - Method in class nu.staldal.xodus.XMLSerializer
 
startEntity(String) - Method in class nu.staldal.xodus.HTMLSerializer
Does nothing.
startEntity(String) - Method in class nu.staldal.xodus.TextSerializer
 
startEntity(String) - Method in class nu.staldal.xodus.XMLSerializer
Does nothing.
startPage(Object, String) - Method in interface nu.staldal.lsp.LSPExtLib
Indicate the start of an LSP page.
startPage(Object, String) - Method in class nu.staldal.lsp.SimpleExtLib
 
startPrefixMapping(String, String) - Method in class nu.staldal.lsp.ContentHandlerStartEndDocumentFilter
 
startPrefixMapping(String, String) - Method in class nu.staldal.lsp.SimpleExtLib
 
startPrefixMapping(String, String) - Method in class nu.staldal.lsp.StringHandler
 
startPrefixMapping(String, String) - Method in class nu.staldal.xmltree.TreeBuilder
 
startPrefixMapping(String, String) - Method in class nu.staldal.xodus.HTMLSerializer
 
startPrefixMapping(String, String) - Method in class nu.staldal.xodus.TextSerializer
 
startPrefixMapping(String, String) - Method in class nu.staldal.xodus.XMLSerializer
 
StringHandler - Class in nu.staldal.lsp
A SAX2 ContentHandler implementation which captures all PCDATA into a string buffer and ignore all other events.
StringHandler() - Constructor for class nu.staldal.lsp.StringHandler
Constructor.
subList(int, int) - Method in class nu.staldal.xmltree.NodeWithChildren
 
subSequence(int, int) - Method in class nu.staldal.xodus.CharSequenceWrapper
 
systemId - Variable in class nu.staldal.xodus.Serializer
 

T

Text - Class in nu.staldal.xmltree
Character content in an XML document.
Text(char[], int, int, boolean) - Constructor for class nu.staldal.xmltree.Text
Constructs a text node from a char[] buffer.
Text(String) - Constructor for class nu.staldal.xmltree.Text
Constructs a text node from a String.
TextSerializer - Class in nu.staldal.xodus
 
ThrowawayService - Class in nu.staldal.lsp.framework
Abstract base class for Throwaway Service.
ThrowawayService() - Constructor for class nu.staldal.lsp.framework.ThrowawayService
 
timeCompiled - Variable in class nu.staldal.lsp.LSPPageBase
 
timeFormatter - Variable in class nu.staldal.lsp.framework.DBConnection
Formatter for the SQL TIME type.
timestampFormatter - Variable in class nu.staldal.lsp.framework.DBConnection
Formatter for the SQL TIMESTAMP type.
toArray() - Method in class nu.staldal.xmltree.NodeWithChildren
 
toArray(T[]) - Method in class nu.staldal.xmltree.NodeWithChildren
 
toSAX(ContentHandler) - Method in class nu.staldal.xmltree.Element
 
toSAX(ContentHandler) - Method in class nu.staldal.xmltree.Node
Serialize this node, and recursively the (sub)tree beneath, into SAX2 events.
toSAX(ContentHandler) - Method in class nu.staldal.xmltree.ProcessingInstruction
 
toSAX(ContentHandler) - Method in class nu.staldal.xmltree.Text
 
toString() - Method in class nu.staldal.xodus.CharSequenceWrapper
 
TreeBuilder - Class in nu.staldal.xmltree
Build an XMLTree from a SAX2 event stream, or by parsing an XML document.
TreeBuilder() - Constructor for class nu.staldal.xmltree.TreeBuilder
Constructs a TreeBuilder, ready to receive SAX events.
TreeBuilder(URL) - Constructor for class nu.staldal.xmltree.TreeBuilder
Constructs a TreeBuilder, ready to receive SAX events.

U

unparsedEntityDecl(String, String, String, String) - Method in class nu.staldal.xodus.HTMLSerializer
 
unparsedEntityDecl(String, String, String, String) - Method in class nu.staldal.xodus.TextSerializer
 
unparsedEntityDecl(String, String, String, String) - Method in class nu.staldal.xodus.XMLSerializer
 
URLResolver - Interface in nu.staldal.lsp
Resolvs an URL into an XML resource.
useTemplateIfServiceIsNotFound() - Method in class nu.staldal.lsp.framework.DispatcherServlet
 
useTemplateIfServiceIsNotFound() - Method in class nu.staldal.lsp.framework.RestfulDispatcherServlet
 
Utils - Class in nu.staldal.lsp.framework
Miscellaneous static utility methods.
Utils - Class in nu.staldal.lsp
Some utility methods.

V

valueOf(char[]) - Static method in class nu.staldal.xodus.CharSequenceWrapper
Create a CharSequenceWrapper using a whole char[].
valueOf(char[], int, int) - Static method in class nu.staldal.xodus.CharSequenceWrapper
Create a CharSequenceWrapper using part of a char[].
values() - Method in class nu.staldal.lsp.FullMap
 
values() - Method in class nu.staldal.lsp.LSPForEachStatus
 
version - Variable in class nu.staldal.xodus.OutputConfig
 

W

warning(SAXParseException) - Method in class nu.staldal.xmltree.TreeBuilder
 
write(int) - Method in class nu.staldal.xodus.XMLCharacterEncoder
 
write(char[]) - Method in class nu.staldal.xodus.XMLCharacterEncoder
 
write(char[], int, int) - Method in class nu.staldal.xodus.XMLCharacterEncoder
 
write(String) - Method in class nu.staldal.xodus.XMLCharacterEncoder
 
write(String, int, int) - Method in class nu.staldal.xodus.XMLCharacterEncoder
 

X

XMLCharacterEncoder - Class in nu.staldal.xodus
Encodes output to an XML stream.
XMLCharacterEncoder(OutputStream, String) - Constructor for class nu.staldal.xodus.XMLCharacterEncoder
Constructs an XMLCharacterEncoder which writes to the given OutputStream.
XMLCharacterEncoder(Writer) - Constructor for class nu.staldal.xodus.XMLCharacterEncoder
Constructs an XMLCharacterEncoder which writes to the given Writer.
XMLCharacterEncoder(Appendable, boolean) - Constructor for class nu.staldal.xodus.XMLCharacterEncoder
Constructs an XMLCharacterEncoder which writes to the given Appendable.
XMLSerializer - Class in nu.staldal.xodus
 
XSLTExt - Class in nu.staldal.lsp.servlet
Access LSP functions from XSLT stylesheets.

_

_encodeURL(Object) - Method in class nu.staldal.lsp.servlet.ServletExtLib
Extension function encodeURL(url).
_execute(ContentHandler, Environment<String, Object>, Map<String, LSPExtLib>, ContentHandler, AttributesImpl) - Method in class nu.staldal.lsp.LSPPageBase
 
_formatCustomDateTime(Object, Object) - Method in class nu.staldal.lsp.servlet.ServletExtLib
Extension function formatCustomDateTime(date).
_formatDate(Object) - Method in class nu.staldal.lsp.servlet.ServletExtLib
Extension function formatDate(date).
_formatDateTime(Object) - Method in class nu.staldal.lsp.servlet.ServletExtLib
Extension function formatDateTime(date).
_formatTime(Object) - Method in class nu.staldal.lsp.servlet.ServletExtLib
Extension function formatTime(date).
_formatXMLDateTime(Object) - Method in class nu.staldal.lsp.servlet.ServletExtLib
Extension function formatXMLDateTime(date).
_isUserInRole(Object) - Method in class nu.staldal.lsp.servlet.ServletExtLib
Extension function isUserInRole(role).
_lang(Object) - Method in class nu.staldal.lsp.servlet.ServletExtLib
Extension function lang(key).

A B C D E F G H I K L M N O P R S T U V W X _