A C D E F G H I J L N O P R S T U V W

A

addPart(DuelPart) - Method in class org.duelengine.duel.DuelView
Sets the partial view for a named area
asList(T...) - Static method in class org.duelengine.duel.DuelData
Builds a mutable List from a sequence of items
asMap(Object...) - Static method in class org.duelengine.duel.DuelData
Builds a mutable Map from an interlaced sequence of key-value pairs
asSnippet(String) - Static method in class org.duelengine.duel.DataEncoder
 
asSparseMap(Object...) - Static method in class org.duelengine.duel.SparseMap
Builds a mutable Map from an interlaced sequence of key-value pairs

C

CDNLinkInterceptor - Class in org.duelengine.duel
 
CDNLinkInterceptor(String, ResourceBundle, boolean) - Constructor for class org.duelengine.duel.CDNLinkInterceptor
 
CDNLinkInterceptor(String, Map<String, String>, boolean) - Constructor for class org.duelengine.duel.CDNLinkInterceptor
 
ClassEnumerator - Class in org.duelengine.duel.util
Utility for enumerating available classes in a particular package
ClassEnumerator() - Constructor for class org.duelengine.duel.util.ClassEnumerator
 
clearExtras() - Method in class org.duelengine.duel.DuelContext
 
ClientIDStrategy - Interface in org.duelengine.duel
 
ClockClientIDStrategy - Class in org.duelengine.duel
 
ClockClientIDStrategy() - Constructor for class org.duelengine.duel.ClockClientIDStrategy
 
ClockClientIDStrategy(String) - Constructor for class org.duelengine.duel.ClockClientIDStrategy
 
coerceBoolean(Object) - Static method in class org.duelengine.duel.DuelData
Coerces any Object to a JS-style Boolean
coerceCollection(Object) - Static method in class org.duelengine.duel.DuelData
Coerces any Object to a JS-style Array (List)
coerceEqual(Object, Object) - Method in class org.duelengine.duel.DuelView
Coerces objects before performing equality test
coerceMap(Object) - Static method in class org.duelengine.duel.DuelData
Coerces any Object to a JS-style Object (Map)
coerceNumber(Object) - Static method in class org.duelengine.duel.DuelData
Coerces any Object to a JS-style Number (double)
coerceString(Object) - Static method in class org.duelengine.duel.DuelData
Coerces any Object to a JS-style String

D

data(Object) - Method in class org.duelengine.duel.rs.ViewResult
 
dataEncode(DuelContext, Object, int) - Method in class org.duelengine.duel.DuelView
Emits data object as a graph of JavaScript literals
DataEncoder - Class in org.duelengine.duel
Utility for writing data as JavaScript literals Inherently thread-safe as contains no mutable instance data.
DataEncoder() - Constructor for class org.duelengine.duel.DataEncoder
 
DataEncoder(String, String) - Constructor for class org.duelengine.duel.DataEncoder
 
DataEncoder.Snippet - Class in org.duelengine.duel
 
DataEncoder.Snippet(String) - Constructor for class org.duelengine.duel.DataEncoder.Snippet
 
DefaultWrapperServlet - Class in org.duelengine.duel.util
Simple wrapper for passing the request onto the default servlet
DefaultWrapperServlet() - Constructor for class org.duelengine.duel.util.DefaultWrapperServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.duelengine.duel.util.DefaultWrapperServlet
 
DuelContext - Class in org.duelengine.duel
Maintains context state for a single binding/render cycle (usually a request).
DuelContext() - Constructor for class org.duelengine.duel.DuelContext
 
DuelController - Class in org.duelengine.duel.rs
Simple MVC-style controller for using DUEL views in JAX-RS
DuelController() - Constructor for class org.duelengine.duel.rs.DuelController
 
DuelData - Class in org.duelengine.duel
 
DuelPart - Class in org.duelengine.duel
 
DuelPart() - Constructor for class org.duelengine.duel.DuelPart
 
DuelView - Class in org.duelengine.duel
The skeletal implementation of DUEL view runtime.
DuelView() - Constructor for class org.duelengine.duel.DuelView
 
DuelView(DuelPart...) - Constructor for class org.duelengine.duel.DuelView
 

E

echo(double, double) - Method in class org.duelengine.duel.DuelView
A work-around for dynamic post-inc/dec operator semantics
equal(Object, Object) - Method in class org.duelengine.duel.DuelView
Performs equality test
error(Exception) - Method in class org.duelengine.duel.rs.DuelController
Renders an error message to the response
extra(String, Object) - Method in class org.duelengine.duel.rs.ViewResult
 
extras(Map<String, ?>) - Method in class org.duelengine.duel.rs.ViewResult
 

F

FormatPrefs - Class in org.duelengine.duel
 
FormatPrefs() - Constructor for class org.duelengine.duel.FormatPrefs
 

G

getClasses(String) - Static method in class org.duelengine.duel.util.ClassEnumerator
Loads classes in the specified package from the current thread ClassLoader
getClasses(String, ClassLoader) - Static method in class org.duelengine.duel.util.ClassEnumerator
Loads classes in the specified package from the specified ClassLoader
getData() - Method in class org.duelengine.duel.DuelContext
 
getEncodeNonASCII() - Method in class org.duelengine.duel.FormatPrefs
 
getEncoding() - Method in class org.duelengine.duel.FormatPrefs
 
getExtra(DuelContext, String) - Method in class org.duelengine.duel.DuelView
 
getFormat() - Method in class org.duelengine.duel.DuelContext
 
getFromDirectory(String, File) - Static method in class org.duelengine.duel.util.ClassEnumerator
Loads classes in the specified package from the specified directory
getFromJAR(String, String) - Static method in class org.duelengine.duel.util.ClassEnumerator
Loads classes in the specified package from the specified JAR
getIndent() - Method in class org.duelengine.duel.FormatPrefs
 
getNewline() - Method in class org.duelengine.duel.FormatPrefs
 
getOutput() - Method in class org.duelengine.duel.DuelContext
 
getPartName() - Method in class org.duelengine.duel.DuelPart
 
getProperty(Object, Object) - Method in class org.duelengine.duel.DuelView
Retrieves the value of a property from the data object
getSnippet() - Method in class org.duelengine.duel.DataEncoder.Snippet
 
getViewContext() - Method in class org.duelengine.duel.rs.DuelController
 

H

hasExtras(DuelContext, String...) - Method in class org.duelengine.duel.DuelView
 
htmlEncode(DuelContext, Object) - Method in class org.duelengine.duel.DuelView
Ensures the value is properly encoded as HTML text
HTMLFormatter - Class in org.duelengine.duel
A simple abstraction for writing HTML.
HTMLFormatter() - Constructor for class org.duelengine.duel.HTMLFormatter
 

I

IncClientIDStrategy - Class in org.duelengine.duel
 
IncClientIDStrategy() - Constructor for class org.duelengine.duel.IncClientIDStrategy
 
IncClientIDStrategy(String) - Constructor for class org.duelengine.duel.IncClientIDStrategy
 
indent(Appendable, int) - Method in class org.duelengine.duel.DataEncoder
 
INDENT - Static variable in class org.duelengine.duel.FormatPrefs
 
init() - Method in class org.duelengine.duel.DuelView
Initialization of parts and child-views
isArray(Class<?>) - Static method in class org.duelengine.duel.DuelData
 
isBoolean(Class<?>) - Static method in class org.duelengine.duel.DuelData
 
isGlobalIdent(String) - Static method in class org.duelengine.duel.JSUtility
 
isNumber(Class<?>) - Static method in class org.duelengine.duel.DuelData
 
isObjectProperty(String) - Static method in class org.duelengine.duel.JSUtility
 
isPrettyPrint() - Method in class org.duelengine.duel.DataEncoder
 
isPrimitive(Class<?>) - Static method in class org.duelengine.duel.DuelData
 
isString(Class<?>) - Static method in class org.duelengine.duel.DuelData
 
isValidIdentifier(String, boolean) - Static method in class org.duelengine.duel.JSUtility
 

J

JSUtility - Class in org.duelengine.duel
 

L

LinkInterceptor - Interface in org.duelengine.duel
Allows links within view markup to be transformed at runtime.
LogicalAND(Object, Object) - Method in class org.duelengine.duel.DuelView
 
LogicalOR(Object, Object) - Method in class org.duelengine.duel.DuelView
 

N

NEWLINE - Static variable in class org.duelengine.duel.FormatPrefs
 
nextID() - Method in interface org.duelengine.duel.ClientIDStrategy
 
nextID() - Method in class org.duelengine.duel.ClockClientIDStrategy
 
nextID(DuelContext) - Method in class org.duelengine.duel.DuelView
 
nextID() - Method in class org.duelengine.duel.IncClientIDStrategy
 
nextID() - Method in class org.duelengine.duel.UniqueClientIDStrategy
 

O

org.duelengine.duel - package org.duelengine.duel
 
org.duelengine.duel.rs - package org.duelengine.duel.rs
 
org.duelengine.duel.util - package org.duelengine.duel.util
 

P

putExtra(String, Object) - Method in class org.duelengine.duel.DuelContext
 
putExtra(DuelContext, String, Object) - Method in class org.duelengine.duel.DuelView
 
putExtras(Map<String, ?>) - Method in class org.duelengine.duel.DuelContext
 
putSparse(String, Object) - Method in class org.duelengine.duel.SparseMap
 

R

render(Appendable) - Method in class org.duelengine.duel.DuelView
Renders the view to the output
render(Appendable, Object) - Method in class org.duelengine.duel.DuelView
Binds the view to the data and renders the view to the output
render(DuelContext) - Method in class org.duelengine.duel.DuelView
Binds the view to any data and renders the view to the output
render(DuelContext, Object, int, int, String) - Method in class org.duelengine.duel.DuelView
The entry point into the view tree
renderPart(DuelContext, String, Object, int, int, String) - Method in class org.duelengine.duel.DuelView
Renders a named partial view
renderView(DuelContext, DuelView, Object, int, int, String) - Method in class org.duelengine.duel.DuelView
Allows one view to render another
resetID() - Method in class org.duelengine.duel.IncClientIDStrategy
 

S

setClientID(ClientIDStrategy) - Method in class org.duelengine.duel.DuelContext
 
setData(Object) - Method in class org.duelengine.duel.DuelContext
 
setEncodeNonASCII(boolean) - Method in class org.duelengine.duel.FormatPrefs
 
setEncoding(String) - Method in class org.duelengine.duel.FormatPrefs
 
setFormat(FormatPrefs) - Method in class org.duelengine.duel.DuelContext
 
setIndent(String) - Method in class org.duelengine.duel.FormatPrefs
 
setLinkInterceptor(LinkInterceptor) - Method in class org.duelengine.duel.DuelContext
 
setNewline(String) - Method in class org.duelengine.duel.FormatPrefs
 
setOutput(Appendable) - Method in class org.duelengine.duel.DuelContext
 
setProperty(Object, Object, Object) - Method in class org.duelengine.duel.DuelView
Stores the value for a property of the data object
SparseMap - Class in org.duelengine.duel
Represents sparsely populated graph of data to be serialized over the top of existing JavaScript Objects Does not get serialized directly.
SparseMap() - Constructor for class org.duelengine.duel.SparseMap
 
SparseMap(int) - Constructor for class org.duelengine.duel.SparseMap
 

T

transformURL(String) - Method in class org.duelengine.duel.CDNLinkInterceptor
 
transformURL(DuelContext, String) - Method in class org.duelengine.duel.DuelView
Allows view to intercept and transform URLs within element attributes
transformURL(String) - Method in interface org.duelengine.duel.LinkInterceptor
 

U

UniqueClientIDStrategy - Class in org.duelengine.duel
 
UniqueClientIDStrategy() - Constructor for class org.duelengine.duel.UniqueClientIDStrategy
 
UniqueClientIDStrategy(String) - Constructor for class org.duelengine.duel.UniqueClientIDStrategy
 
UTF8_ENCODING - Static variable in class org.duelengine.duel.FormatPrefs
 

V

view(Class<? extends DuelView>) - Method in class org.duelengine.duel.rs.DuelController
Builds a view result
ViewResult - Class in org.duelengine.duel.rs
Simple adapter for rendering DUEL views in JAX-RS
ViewResult(Class<? extends DuelView>, DuelContext) - Constructor for class org.duelengine.duel.rs.ViewResult
 

W

write(Appendable, Object) - Method in class org.duelengine.duel.DataEncoder
Serializes the data as JavaScript literals
write(Appendable, Object, int) - Method in class org.duelengine.duel.DataEncoder
Serializes the data as JavaScript literals
write(DuelContext, Object) - Method in class org.duelengine.duel.DuelView
Writes the value to the output
write(DuelContext, char) - Method in class org.duelengine.duel.DuelView
Writes the value to the output
write(DuelContext, String) - Method in class org.duelengine.duel.DuelView
Writes the value to the output
write(OutputStream) - Method in class org.duelengine.duel.rs.ViewResult
 
writeAttribute(Appendable, String, String) - Method in class org.duelengine.duel.HTMLFormatter
 
writeCloseAttribute(Appendable) - Method in class org.duelengine.duel.HTMLFormatter
 
writeCloseElementBeginTag(Appendable) - Method in class org.duelengine.duel.HTMLFormatter
 
writeCloseElementVoidTag(Appendable) - Method in class org.duelengine.duel.HTMLFormatter
 
writeComment(Appendable, String) - Method in class org.duelengine.duel.HTMLFormatter
 
writeDocType(Appendable, String) - Method in class org.duelengine.duel.HTMLFormatter
 
writeElementEndTag(Appendable, String) - Method in class org.duelengine.duel.HTMLFormatter
 
writeExtras(DuelContext, boolean) - Method in class org.duelengine.duel.DuelView
 
writeLiteral(Appendable, String) - Method in class org.duelengine.duel.HTMLFormatter
 
writeLiteral(Appendable, String, boolean) - Method in class org.duelengine.duel.HTMLFormatter
 
writeln(Appendable, int) - Method in class org.duelengine.duel.DataEncoder
 
writeNamespace(Appendable, List<String>, String) - Method in class org.duelengine.duel.DataEncoder
Produces more compact namespace declarations.
writeNamespaceAlt(Appendable, List<String>, String) - Method in class org.duelengine.duel.DataEncoder
Deprecated. 
writeOpenAttribute(Appendable, String) - Method in class org.duelengine.duel.HTMLFormatter
 
writeOpenElementBeginTag(Appendable, String) - Method in class org.duelengine.duel.HTMLFormatter
 
writeVars(Appendable, SparseMap) - Method in class org.duelengine.duel.DataEncoder
Serializes the items as JavaScript variable

A C D E F G H I J L N O P R S T U V W

Copyright © 2011. All Rights Reserved.