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

A

addArg(String, String) - Method in class wcs.api.Call
Add an argument
addClass(String, String) - Method in class wcs.java.Picker
Add a class
addDependency() - Method in interface wcs.api.Env
Add a dependency on anything
addDependency(String) - Method in interface wcs.api.Env
Add a dependency on any asset of the given type
addDependency(String, Long) - Method in interface wcs.api.Env
Add an EXACT dependency on a given asset
addDependency(String, Long, AssetDeps) - Method in interface wcs.api.Env
Add a dependency of the specified type on a given asset
addDependency(Id) - Method in interface wcs.api.Env
Add an EXACT dependency on a given asset
addDependency(Id, AssetDeps) - Method in interface wcs.api.Env
Add a dependency of the specified type on a given asset
addDependency() - Method in class wcs.java.Env
 
addDependency(String) - Method in class wcs.java.Env
 
addDependency(String, Long) - Method in class wcs.java.Env
 
addDependency(String, Long, AssetDeps) - Method in class wcs.java.Env
 
addDependency(Id) - Method in class wcs.java.Env
 
addDependency(Id, AssetDeps) - Method in class wcs.java.Env
 
addError(Description, Throwable) - Method in class wcs.java.util.XmlTestReport
Interface TestListener.
addFailure(Description, Throwable) - Method in class wcs.java.util.XmlTestReport
Interface TestListener for JUnit <= 3.4.
addFailure(Description, AssertionFailedError) - Method in class wcs.java.util.XmlTestReport
Interface TestListener for JUnit > 3.4.
after(String, String) - Method in class wcs.java.Picker
Add after a given node
Api - Class in wcs
Collections of utils supporting common idioms.
Api() - Constructor for class wcs.Api
 
append(String, String) - Method in class wcs.api.URL
Appends a query parameter.
append(String, Number) - Method in class wcs.api.URL
Appends a query parameter.
append(String) - Method in class wcs.api.URL
Appends query parameters from a www-form-urlencoded string.
append(String, String) - Method in class wcs.java.Picker
Append the node as a children to the selected node.
append(String) - Method in class wcs.java.Picker
Append the node as a children to the current node
apply(Env) - Method in interface wcs.api.Element
 
apply(URI) - Method in class wcs.api.URL
Applies the query string to the given URI.
apply(URI, URL.Separator) - Method in class wcs.api.URL
Applies the query string to the given URI, using the given separator between parameters.
apply(Env) - Method in class wcs.java.Element
The method to be overriden by an implementing template
apply(Env) - Method in class wcs.java.util.TestRunnerElement
 
Arg - Class in wcs.api
Simple Arg holder class
arg(String, String) - Static method in class wcs.Api
Create an arg holder
Arg(String, String) - Constructor for class wcs.api.Arg
 
Args - Class in wcs.api
Holder of a list of args
args(String, String...) - Static method in class wcs.Api
Create list of args
Args(String, String...) - Constructor for class wcs.api.Args
 
Args(String, String, String...) - Constructor for class wcs.api.Args
Create an holder of a list of args, with at least one value mandatory
argv(String...) - Static method in class wcs.Api
Create an array of Arg from a list of strings in the form key=value
array2list(Object[]) - Static method in class wcs.java.util.Util
from an array to a list
array2listString(String[]) - Static method in class wcs.java.util.Util
from an array to a list
assemble(Definition) - Method in class wcs.core.Assembler
 
Assembler - Class in wcs.core
 
Assembler() - Constructor for class wcs.core.Assembler
 
assertAttr(String, String, String) - Method in class wcs.java.util.TestElement
Check the attribute of the node, selected with "css" query, has the expected value of the selected node.
assertAttrContains(String, String, String) - Method in class wcs.java.util.TestElement
Check the attribute of the node, selected with "css" query, contains the expected value of the selected node.
assertHtml(String, String) - Method in class wcs.java.util.TestElement
Check that the html at the "css" query is the expected Note that is selected only the internal of the selected node.
assertOuterHtml(String, String) - Method in class wcs.java.util.TestElement
Check that the html at the "css" query is the expected Note that it is returned also the selected node.
assertText(String, String) - Method in class wcs.java.util.TestElement
Check the text, selected with the "css" query, has the expected value of the selected node.
assertTextContains(String, String) - Method in class wcs.java.util.TestElement
Check the text selected with the "css" query, is contained as a substring.
Asset - Interface in wcs.api
 
Asset - Class in wcs.java
 
Asset(Env, String, Long) - Constructor for class wcs.java.Asset
 
AssetBase - Class in wcs.java
Main asset abstraction.
AssetBase(String, String, String) - Constructor for class wcs.java.AssetBase
Create an asset with a given type, subtype and name.
AssetBase() - Constructor for class wcs.java.AssetBase
 
AssetDeps - Enum in wcs.api
 
AssetSetup - Class in wcs.java
Extend this class for creating assets in setup
AssetSetup(String, String, String) - Constructor for class wcs.java.AssetSetup
 
atEnd() - Method in class wcs.java.util.MapIList
 
attr(String, String, String) - Method in class wcs.java.Picker
Set attribute
attr(String, String) - Method in class wcs.java.util.TestElement
Return the attribute specified by the cssquery and the name
attrArray(String, Object...) - Static method in class wcs.java.util.Util
Array (list) attribute
attrBlob(String, BlobObject) - Static method in class wcs.java.util.Util
Blob Attribute
attrBlob(String, String, String, String) - Static method in class wcs.java.util.Util
Blob Attribute
attrString(String, String) - Static method in class wcs.java.util.Util
String attribute
attrStruct(String, Map<String, Object>) - Static method in class wcs.java.util.Util
Struct (map) attribute
attrStructKV(String, String) - Static method in class wcs.java.util.Util
Structure default arguments
AttrTypes - Class in wcs.java
AttrTypes definition class
AttrTypes(String, String) - Constructor for class wcs.java.AttrTypes
 

B

before(String, String) - Method in class wcs.java.Picker
Add before a given node
buildUri(String, String) - Static method in class wcs.core.Assembler
 

C

c - Variable in class wcs.api.Id
 
c - Variable in class wcs.java.AssetBase
 
cache(String, String) - Method in class wcs.java.Template
Fluent cache setter
cacheCriteria(String) - Method in class wcs.java.Template
 
call(String, Arg...) - Method in interface wcs.api.Asset
Invoke the template using the current asset as current asset, optionally passing a set of parameters
Call - Class in wcs.api
 
call(String, Arg...) - Static method in class wcs.Api
Create an encoded call
call(String, List<Arg>) - Static method in class wcs.Api
Create an encoded call from a list of args
Call(String, Arg...) - Constructor for class wcs.api.Call
Create a call with name and parameters
call(String, Arg...) - Method in interface wcs.api.Env
Call a CS Element in current site
call(String, Arg...) - Method in class wcs.java.Asset
Call the template by name with current c/cid, specifiying a slot name and eventually some extra optional args.
call(String, Arg...) - Method in class wcs.java.Element
Generic CallElement
call(String, Arg...) - Method in class wcs.java.Env
 
call(String, Arg...) - Method in class wcs.java.Router
Create a call to an element
callApply(Env, String) - Method in class wcs.java.Element
 
capitalize(String) - Static method in class wcs.java.util.StringUtils
converts the string to lowercase and with the first character in uppercase
children() - Method in interface wcs.api.SitePlan
Get the children of a page
children() - Method in class wcs.java.SitePlan
 
cid - Variable in class wcs.api.Id
 
cid - Variable in class wcs.java.AssetBase
 
classesFromResource(String, String) - Static method in class wcs.java.util.Util
Return a class list read from a list of resources
clearError() - Method in interface wcs.api.Env
Clear the current error code
clearError() - Method in class wcs.java.Env
 
clone(String) - Method in class wcs.java.util.MapIList
 
close() - Method in class wcs.core.Loader
Close the current classloader, freeing the underlying opened jars.
closeElement(Element, Writer, int, String, boolean) - Method in class wcs.java.util.DOMElementWriter
Writes a DOM tree to a stream.
col(String...) - Method in class wcs.java.util.TestElement
Create a column - use: col("name", "v1", "v2", "v3")
Config - Interface in wcs.api
 
Config - Class in wcs.java
Base class for configuration, to be extended site by site
Config() - Constructor for class wcs.java.Config
 
contains(String) - Method in class wcs.api.URL
Returns whether the named parameter exists.
Content - Interface in wcs.api
Common interface to all the classes that provides content
create() - Static method in class wcs.api.URL
Creates an empty UrlEncodedQueryString.
create(String, Map<String, List<String>>) - Static method in class wcs.api.URL
Creates a UrlEncodedQueryString from the given Map.
create(String) - Static method in class wcs.java.Picker
Get a picker from a string
create(String, String) - Static method in class wcs.java.Picker
Get a picker from a string and select the given query
CSElement - Class in wcs.java
CSElement definition class
CSElement(String, Class<?>) - Constructor for class wcs.java.CSElement
Create a CSElement invoking the given elementClass
CSElement(String, Class<?>, String) - Constructor for class wcs.java.CSElement
Create invoking the given elementClass with a specifice elementName (useful for fixed elements like attribute editors)
CSElement(String, Class<?>, AssetSetup) - Constructor for class wcs.java.CSElement
Create a cselement with a chained asset setup
current() - Method in interface wcs.api.SitePlan
Return id of the current page
current() - Method in class wcs.java.SitePlan
 
currentRow() - Method in class wcs.java.util.MapIList
 

D

debug() - Method in class wcs.api.Log
Check if trace level is enabled
debug(String, Object...) - Method in class wcs.api.Log
Write a debug message - Use message as a format string for the other args.
debug(Throwable, String, Object...) - Method in class wcs.api.Log
Log an exception then a debug level message - Use message as a format string for the other args.
decode(String) - Static method in class wcs.api.Call
Decode a call encoded as a string
deploy(ICS, String, String, String) - Method in class wcs.core.Dispatcher
Deploy will invoke the .Model class passing username and password.
deploy(ICS, String, String, String) - Static method in class wcs.core.WCS
Deploy
description - Variable in class wcs.java.AssetBase
 
description(String) - Method in class wcs.java.AttrTypes
Fluent description setter
description(String) - Method in class wcs.java.CSElement
Fluent description setter
description(String) - Method in class wcs.java.SiteEntry
Fluent description setter
description(String) - Method in class wcs.java.Template
Fluent description setter
disassemble(URI, ContainerType) - Method in class wcs.core.Assembler
 
dispatch(ICS, String) - Method in class wcs.core.Dispatcher
Call the given class after reloading the jar and creating a wrapper for ICS and the Element
dispatch(ICS, String) - Static method in class wcs.core.WCS
Dispatch requests
Dispatcher - Class in wcs.core
 
Dispatcher(File, int) - Constructor for class wcs.core.Dispatcher
New dispatcher looking for a given jar
Dispatcher() - Constructor for class wcs.core.Dispatcher
New dispatcher looking for a given jar
doc - Variable in class wcs.java.util.TestElement
 
DOMElementWriter - Class in wcs.java.util
Writes a DOM tree to a given Writer.
DOMElementWriter() - Constructor for class wcs.java.util.DOMElementWriter
Create an element writer.
DOMElementWriter(boolean) - Constructor for class wcs.java.util.DOMElementWriter
Create an element writer XML namespaces will be ignored.
DOMElementWriter(boolean, DOMElementWriter.XmlNamespacePolicy) - Constructor for class wcs.java.util.DOMElementWriter
Create an element writer XML namespaces will be ignored.
DOMElementWriter.XmlNamespacePolicy - Class in wcs.java.util
Whether namespaces should be ignored for elements and attributes.
DOMElementWriter.XmlNamespacePolicy(boolean, boolean) - Constructor for class wcs.java.util.DOMElementWriter.XmlNamespacePolicy
 
dump() - Method in interface wcs.api.Content
Return a string dump of this content
dump(String) - Method in interface wcs.api.Content
Return a string dump of an attriute
dump() - Method in class wcs.api.Model
Dump the model
dump(String) - Method in class wcs.api.Model
Dump an attribute
dump() - Method in class wcs.java.Asset
Dump the core fields of the asset
dump(String) - Method in class wcs.java.Asset
Dump the attribute with the given name
dump() - Method in class wcs.java.AssetBase
Print it
dump() - Method in class wcs.java.Env
Dump all the variables (NOT the lists...)
dump(String) - Method in class wcs.java.Env
Dump the list with the given name
dump(Log) - Method in class wcs.java.Picker
Convenience method to dump the html of the current node - embedded calls are decoded.
dump(Log, String) - Static method in class wcs.java.Picker
Convenience method to dump a generic html are decoded.
dump(Log) - Method in class wcs.java.util.TestElement
Dump generated outer html
dump(PrintStream) - Method in class wcs.java.util.TestElement
Dump generated outer html to a print writer (System.out for example)
dump(Log, Content) - Method in class wcs.java.util.TestElement
Dump generated outer html
dump(PrintStream, Content) - Method in class wcs.java.util.TestElement
Dump generated outer html
dump(Log, Content, String) - Method in class wcs.java.util.TestElement
Dump a content attribute in a logger
dump(PrintStream, Content, String) - Method in class wcs.java.util.TestElement
Dump a content attribute to a System.out
dumpAssetData(AssetData) - Static method in class wcs.java.util.Util
 
dumpIList(IList) - Static method in class wcs.Api
Convenience method to dump an IList
dumpStream(String) - Static method in class wcs.Api
Convenience method to dump the stream resulting of the picker

E

editString(String) - Method in interface wcs.api.Asset
Render the attribute as an editable string in insite mode.
editString(String, int) - Method in interface wcs.api.Asset
Render the nth attribute as an editable string in insite mode.
editString(String, int, String, Arg...) - Method in interface wcs.api.Asset
Edit the n-th element of the given attribute, using the given parameters.
editString(String, String, Arg...) - Method in interface wcs.api.Asset
Edit (or return if not insite) the first named attribute as a string, or null if not found and pass additional parameters
editString(String, int, String, Arg...) - Method in class wcs.java.Asset
Edit (or return the value if not insite) the first named attribute as a string, or null if not found and pass additional parameters
editString(String) - Method in class wcs.java.Asset
Edit (or return the value if not insite) the attribute as a string, or
editString(String, int) - Method in class wcs.java.Asset
Edit (or return the value if not insite) the nth attribute as a string, or
editString(String, String, Arg...) - Method in class wcs.java.Asset
Edit (or return if not insite) the first named attribute as a string, or null if not found and pass additional parameters
editText(String, int, String) - Method in interface wcs.api.Asset
Edit (or return if not insite) the nth named attribute as a string, or null if not found and pass additional parameters using the CK editor
editText(String, String) - Method in interface wcs.api.Asset
Edit (or return if not insite) the first named attribute as a string, or null if not found using the CK editor
editText(String, int, String) - Method in class wcs.java.Asset
Edit (or return if not insite) the nth named attribute as a string, or null if not found and pass additional parameters using the CK editor
editText(String, String) - Method in class wcs.java.Asset
Edit (or return if not insite) the named attribute as a string, or null if not found and pass additional parameters using the CK editor
Element - Interface in wcs.api
 
Element - Class in wcs.java
This class implements element logic and will be invoked by templates and cselements
Element() - Constructor for class wcs.java.Element
 
empty(String) - Method in class wcs.java.Picker
Empty the specified node
empty() - Method in class wcs.java.Picker
Empty the current node
encode(String, Arg...) - Static method in class wcs.api.Call
Encode a call as a string
encode() - Method in class wcs.api.Call
Encode the call as a string
encode(String, List<Arg>) - Static method in class wcs.api.Call
Encode a call as a string
encode(String) - Method in class wcs.java.util.DOMElementWriter
Escape <, > & ', " as their entities and drop characters that are illegal in XML documents.
encodeAttributeValue(String) - Method in class wcs.java.util.DOMElementWriter
Escape <, > & ', " as their entities, \n, \r and \t as numeric entities and drop characters that are illegal in XML documents.
encodedata(String) - Method in class wcs.java.util.DOMElementWriter
Drop characters that are illegal in XML documents.
endDate - Variable in class wcs.java.AssetBase
 
endsWith(StringBuffer, String) - Static method in class wcs.java.util.StringUtils
Checks that a string buffer ends up with a given string.
endTest(Description) - Method in class wcs.java.util.XmlTestReport
Interface TestListener.
endTestSuite(int, int, int, int, long) - Method in class wcs.java.util.XmlTestReport
The whole testsuite ended.
Env - Interface in wcs.api
 
env(ICS) - Static method in class wcs.Api
Access to the env in a JSP
Env - Class in wcs.java
Facade to the Sites services.
Env() - Constructor for class wcs.java.Env
Build the env - with this costructor you have an invalid env that still needs to be initialized with init to be usable
Env(ICS) - Constructor for class wcs.java.Env
Build the env from the ICS and initialize it
env(Arg...) - Method in class wcs.java.util.TestElement
Return current env not routed (so no variables coming from the router)
env(String, Arg...) - Method in class wcs.java.util.TestElement
Return the current env routed (so variables coming from router are available)
equals(Object) - Method in class wcs.api.Id
Check if 2 id refers to the same asset
equals(Object) - Method in class wcs.api.URL
Compares the specified object with this UrlEncodedQueryString for equality.
error(String, Object...) - Method in class wcs.api.Log
Log an error level message - Use message as a format string for the other args.
error(Throwable, String, Object...) - Method in class wcs.api.Log
Log an exception then a error level message - Use message as a format string for the other args.
ex2str(Throwable) - Static method in class wcs.Api
Stream an exceptions in a string
exec(ICS) - Method in interface wcs.api.Element
 
exec(ICS, String, String, String) - Method in interface wcs.core.Setup
 
exec(ICS) - Method in class wcs.java.Element
Execute the element The bulk of the method is streaming the result and invoking embedded method calls.
exec(ICS, String, String, String) - Method in class wcs.java.Setup
Execute the setup creating the assets using the Asset API
exists(String) - Method in interface wcs.api.Asset
Does the attribute exist?
exists(String, int) - Method in interface wcs.api.Asset
Does the nth attribute exist?
exists(String) - Method in interface wcs.api.Content
Check if the give attribute is a valid value
exists(String, int) - Method in interface wcs.api.Content
Check if the given attribute at the given position is a valid value
exists(String) - Method in interface wcs.api.Env
Check if the given attribute is a valid value
exists(String, int) - Method in interface wcs.api.Env
Check if the given attribute at the given position is a valid value
exists(String) - Method in class wcs.api.Model
Check if a value exits
exists(String, int) - Method in class wcs.api.Model
Check if the nth value (1-based) exists
exists(String) - Method in class wcs.java.Asset
 
exists(String, int) - Method in class wcs.java.Asset
 
exists(String) - Method in class wcs.java.Env
 
exists(String, int) - Method in class wcs.java.Env
 
exists(String) - Method in class wcs.java.util.TestEnv
 
exists(String, int) - Method in class wcs.java.util.TestEnv
 
EXTERNAL - Static variable in class wcs.java.Template
 

F

filename - Variable in class wcs.java.AssetBase
 
find(String, Arg...) - Method in interface wcs.api.Env
Find assets
find(String, Arg...) - Method in class wcs.java.Env
 
findOne(String, Arg...) - Method in interface wcs.api.Env
Find one assets
findOne(String, Arg...) - Method in class wcs.java.Env
Find one assets
flush() - Method in class wcs.java.util.MapIList
 
formatSkip(Description, String) - Method in class wcs.java.util.XmlTestReport
 

G

get(String) - Method in class wcs.api.Call
Get the value of a parameter.
get(String) - Method in class wcs.api.URL
Returns the value of the named parameter as a String.
getAsset(String, String, AssetDeps) - Method in interface wcs.api.Asset
Return the related asset pointed by the attribute of the given type.
getAsset(String, String) - Method in interface wcs.api.Asset
Return the related asset pointed by the attribute of the given type.
getAsset(String, String, int) - Method in interface wcs.api.Asset
Return the related asset pointed by the nth attribute of the given type.
getAsset(String, int, String, AssetDeps) - Method in interface wcs.api.Asset
Return the related asset pointed by the nth attribute of the given type.
getAsset(String, Long) - Method in interface wcs.api.Env
Return the asset identified by c/cid (or null if not possible)
getAsset(Id) - Method in interface wcs.api.Env
Return the asset identified by and Id (or null if not found)
getAsset() - Method in interface wcs.api.Env
Return the asset identified by the current c/cid
getAsset(String, String) - Method in class wcs.java.Asset
Return the specified asset.
getAsset(String, String, int) - Method in class wcs.java.Asset
Return the specified asset at the nth position.
getAsset(String, String, AssetDeps) - Method in class wcs.java.Asset
Return the related asset pointed by the attribute of the given type if not found
getAsset(String, int, String, AssetDeps) - Method in class wcs.java.Asset
Return the related asset pointed by the nth attribute of the given type if not found Since you are accessing another asset it is mandatory to specify the dependency type you are going to use.
getAsset(String, Long) - Method in class wcs.java.Env
Return the asset identified by c/cid (or null if not possible)
getAsset(Id) - Method in class wcs.java.Env
Return the asset identified by and Id (or null if not found)
getAsset() - Method in class wcs.java.Env
Return the asset identified by the current c/cid
getAssets() - Method in class wcs.java.Setup
Return assets to create
getAssocId(String) - Method in interface wcs.api.Asset
Id of the first associated asset
getAssocId(String, int) - Method in interface wcs.api.Asset
Id of the nth associated asset
getAssocId(String) - Method in class wcs.java.Asset
Id of the first associated asset
getAssocId(String, int) - Method in class wcs.java.Asset
Id of the nth associated asset
getAssocRange(String) - Method in interface wcs.api.Asset
Range of an asset association
getAssocRange(String) - Method in class wcs.java.Asset
Range of an asset association
getAssocType(String) - Method in interface wcs.api.Asset
Type of the first associated asset
getAssocType(String, int) - Method in interface wcs.api.Asset
Type of the nth associated asset
getAssocType(String) - Method in class wcs.java.Asset
Type of the first associated asset
getAssocType(String, int) - Method in class wcs.java.Asset
Type of the nth associated asset
getAttributes() - Method in class wcs.java.AttrTypes
 
getAttributes() - Method in class wcs.java.CSElement
 
getAttributes() - Method in class wcs.java.SiteEntry
 
getAttributeType(String) - Method in interface wcs.api.Config
Return the attribute type for a given type.
getAttributeType(String) - Method in class wcs.java.Config
 
getBlobId(ICS) - Method in interface wcs.api.Config
Return blob id field
getBlobId(ICS) - Method in class wcs.java.Config
 
getBlobTable(ICS) - Method in interface wcs.api.Config
Return blob table
getBlobTable(ICS) - Method in class wcs.java.Config
 
getBlobUrl(String, Arg...) - Method in interface wcs.api.Asset
String get blob url of the first attribute, with optional args
getBlobUrl(String, String, Arg...) - Method in interface wcs.api.Asset
String get blob url of the first attribute, with optional args
getBlobUrl(String, int, String, Arg...) - Method in interface wcs.api.Asset
String get blob url of the nth attribute, with optional args
getBlobUrl(ICS) - Method in interface wcs.api.Config
Return blob id field
getBlobUrl(String, Arg...) - Method in class wcs.java.Asset
String get blob url of the first attribute
getBlobUrl(String, String, Arg...) - Method in class wcs.java.Asset
String get blob url of the first attribute
getBlobUrl(String, int, String, Arg...) - Method in class wcs.java.Asset
String get blob url of the nth attribute
getBlobUrl(ICS) - Method in class wcs.java.Config
 
getC() - Method in interface wcs.api.Asset
The current asset type
getC() - Method in interface wcs.api.Env
Return current "c" (content type)
getC() - Method in class wcs.java.AssetBase
Return the c (type) of the asset
getC() - Method in class wcs.java.Env
 
getChildren() - Method in class wcs.java.Recommendation
Return recommendation childrens as list of ID
getCid() - Method in interface wcs.api.Asset
The current id, or null if undefined
getCid(String) - Method in interface wcs.api.Asset
Return the first attribute of the attribute list as an id (long), or null if not found
getCid(String, int) - Method in interface wcs.api.Asset
Return the nth attribute of the named attribute as an id (long), or null if not found
getCid() - Method in interface wcs.api.Env
Return current "cid" (content id)
getCid(String) - Method in class wcs.java.Asset
Return the first attribute of the attribute list as an id (long), or null if not found
getCid(String, int) - Method in class wcs.java.Asset
Return the nth attribute of the attribute list as an id (long), or null if not found
getCid() - Method in class wcs.java.AssetBase
Return the cid of the asset
getCid() - Method in class wcs.java.Env
 
getClassLoader() - Method in class wcs.core.Loader
Return a class loader allowing to access new jars.
getColumnName(int) - Method in class wcs.java.util.MapIList
 
getConfig() - Method in interface wcs.api.Env
Return the current config
getConfig(ICS) - Static method in class wcs.core.WCS
Load the config for the current site
getConfig() - Method in class wcs.java.Env
 
getCscache() - Method in class wcs.java.Template
 
getCurrentSpoolDir() - Method in class wcs.core.Loader
 
getDate(String) - Method in interface wcs.api.Asset
Return the first attribute of the the attribute list as an int, or null if not found
getDate(String, int) - Method in interface wcs.api.Asset
Return the nth attribute of the the attribute list as an int, or null if not found
getDate(String) - Method in interface wcs.api.Content
Return the first attribute of the the attribute list as an int, or null if not found
getDate(String, int) - Method in interface wcs.api.Content
Return the nth attribute of the the attribute list as an int, or null if not found
getDate(String) - Method in interface wcs.api.Env
Get variable as a date (or null)
getDate(String, String) - Method in interface wcs.api.Env
Get field as date or null
getDate(String, int, String) - Method in interface wcs.api.Env
Get field at given position as a date, or null
getDate(String, int) - Method in interface wcs.api.Env
Get the field value at given position as a date, or null
getDate(String) - Method in class wcs.api.Model
Return the value as a date
getDate(String, int) - Method in class wcs.api.Model
Return the nth value as a date
getDate(String) - Method in class wcs.java.Asset
Return the first attribute of the the attribute list as a date, or null if not found
getDate(String, int) - Method in class wcs.java.Asset
Return the nth attribute of the the attribute list as a date, or null if not found
getDate(String) - Method in class wcs.java.Env
 
getDate(String, String) - Method in class wcs.java.Env
 
getDate(String, int, String) - Method in class wcs.java.Env
 
getDate(String, int) - Method in class wcs.java.Env
 
getDescription() - Method in interface wcs.api.Asset
The current asset description, or the name if the description is undefined
getDescription() - Method in class wcs.java.Asset
Return the description field of the asset
getDescription() - Method in class wcs.java.AssetBase
Return the description of the asset
getElement() - Method in class wcs.java.SiteEntry
 
getElement() - Method in class wcs.java.Template
 
getElementName() - Method in class wcs.java.CSElement
 
getEndDate() - Method in interface wcs.api.Asset
Current asset end date or null if undefined
getEndDate() - Method in class wcs.java.Asset
Return the end date field of the asset
getEndDate() - Method in class wcs.java.AssetBase
Return the end date of the asset
getEnv(ICS, String) - Static method in class wcs.core.WCS
Load an env class initializing it with an ICS
getError() - Method in interface wcs.api.Env
Get Error nummber
getError() - Method in class wcs.java.Env
 
getFieldDate(String) - Method in interface wcs.api.Asset
Return a named field from the asset as a date.
getFieldDate(String) - Method in class wcs.java.Asset
Return a named field from the asset as a date.
getFieldInt(String) - Method in interface wcs.api.Asset
Return a named field from the asset as an int.
getFieldInt(String) - Method in class wcs.java.Asset
Return a named field from the asset as an int.
getFieldLong(String) - Method in interface wcs.api.Asset
Return a named field from the asset as a long.
getFieldLong(String) - Method in class wcs.java.Asset
Return a named field from the asset as a long.
getFieldString(String) - Method in interface wcs.api.Asset
Return a named field from the asset as a string.
getFieldString(String) - Method in class wcs.java.Asset
Return a named field from the asset as a string.
getFileData(String) - Method in class wcs.java.util.MapIList
 
getFilename() - Method in interface wcs.api.Asset
Current asset file
getFilename() - Method in class wcs.java.Asset
Return the file field of the asset
getFilename() - Method in class wcs.java.AssetBase
Return the filename of the asset
getFileString(String) - Method in class wcs.java.util.MapIList
 
getId() - Method in interface wcs.api.Asset
The current asset id
getId() - Method in interface wcs.api.Env
Return current asset id
getId() - Method in class wcs.java.AssetBase
Return the id of the asset
getId() - Method in class wcs.java.Env
 
getIndirectColumnName(int) - Method in class wcs.java.util.MapIList
 
getInt(String) - Method in interface wcs.api.Asset
Return the first attribute of the the attribute list as an int, or null if not found
getInt(String, int) - Method in interface wcs.api.Asset
Return the nth attribute of the the attribute list as an int, or null if not found
getInt(String) - Method in interface wcs.api.Content
Return the first attribute of the the attribute list as an int, or null if not found
getInt(String, int) - Method in interface wcs.api.Content
Return the nth attribute of the the attribute list as an int, or null if not found
getInt(String) - Method in interface wcs.api.Env
Get variable as Long or null
getInt(String, String) - Method in interface wcs.api.Env
Get field as long or null
getInt(String, int, String) - Method in interface wcs.api.Env
Get field at given position as an int, or null
getInt(String, int) - Method in interface wcs.api.Env
Get the field "value" at given position as an int, or null
getInt(String) - Method in class wcs.api.Model
Return the value as a int
getInt(String, int) - Method in class wcs.api.Model
Return the nth value as a int
getInt(String) - Method in class wcs.java.Asset
Return the first attribute of the the attribute list as an int, or null if not found
getInt(String, int) - Method in class wcs.java.Asset
Return the nth attribute of the the attribute list as an int, or null if not found
getInt(String) - Method in class wcs.java.Env
 
getInt(String, String) - Method in class wcs.java.Env
 
getInt(String, int, String) - Method in class wcs.java.Env
 
getInt(String, int) - Method in class wcs.java.Env
 
getJarsIfSomeIsModifiedAfterInterval() - Method in class wcs.core.Loader
Return the jars to use only for the classloader if some of them has been modified Check only once in a given interval.
getLog(String) - Static method in class wcs.Api
Get a logger by name
getLog(Class<?>) - Static method in class wcs.Api
Get a logger by class
getLog(String) - Static method in class wcs.api.Log
Get a logger by name
getLog(Class<?>) - Static method in class wcs.api.Log
Get a logger by class
getLong(String) - Method in interface wcs.api.Asset
Return the first attribute of the the attribute list as a long, or null if not found
getLong(String, int) - Method in interface wcs.api.Asset
Return the nth attribute of the the attribute list as an int, or null if not found
getLong(String) - Method in interface wcs.api.Content
Get variable as Long or null
getLong(String, int) - Method in interface wcs.api.Content
Get the nth variable as Long or null
getLong(String) - Method in interface wcs.api.Env
Get variable as Long or null
getLong(String, String) - Method in interface wcs.api.Env
Get field as long or null
getLong(String, int, String) - Method in interface wcs.api.Env
Get field at given position as a long, or null
getLong(String, int) - Method in interface wcs.api.Env
Get field "value" at given position as a long, or null
getLong(String) - Method in class wcs.api.Model
Return the value as a long
getLong(String, int) - Method in class wcs.api.Model
Return the nth value as a long
getLong(String) - Method in class wcs.java.Asset
Return the first attribute of the the attribute list as a long, or null if not found
getLong(String, int) - Method in class wcs.java.Asset
Return the nth attribute of the the attribute list as an int, or null if not found
getLong(String) - Method in class wcs.java.Env
 
getLong(String, String) - Method in class wcs.java.Env
 
getLong(String, int, String) - Method in class wcs.java.Env
 
getLong(String, int) - Method in class wcs.java.Env
 
getMap() - Method in class wcs.api.URL
Returns a mutable Map of the query parameters.
getName() - Method in interface wcs.api.Asset
The current asset name
getName() - Method in class wcs.api.Call
 
getName() - Method in class wcs.java.Asset
Return the name field of the asset
getName() - Method in class wcs.java.AssetBase
Return the name of the asset
getName() - Method in class wcs.java.AssetSetup
 
getName() - Method in class wcs.java.Site
 
getName() - Method in class wcs.java.util.MapIList
 
getNames() - Method in class wcs.api.URL
Returns an Iterator of String objects containing the names of the parameters.
getNextSetup() - Method in class wcs.java.AssetSetup
Chain another asset setup (or null if not chained asset)
getObject(String) - Method in interface wcs.api.Env
Get an object
getObject(String) - Method in class wcs.java.Env
 
getObject(String) - Method in class wcs.java.util.MapIList
 
getOnce(String) - Method in class wcs.api.Call
Return the value of a parameter, then delete it (to be used only once)
getParentClassLoader() - Method in class wcs.core.Loader
Return the parent classloader
getPath() - Method in interface wcs.api.Asset
Current asset path
getPath() - Method in class wcs.api.URL
 
getPath() - Method in class wcs.java.Asset
Return the path field of the asset
getPath() - Method in class wcs.java.AssetBase
Return the path of the asset
getPathTokens() - Method in class wcs.api.URL
Return a string tokenizer for path elements
getProperty(String) - Method in interface wcs.api.Config
Get property from AgileSites config
getProperty(String) - Static method in class wcs.core.WCS
Return a property configured in setup
getProperty(String) - Method in class wcs.java.Config
 
getRange(String) - Method in interface wcs.api.Asset
Return an iterable of the attribute list
getRange(String) - Method in interface wcs.api.Content
Return an iterable of the indexes of the attribute
getRange(String) - Method in interface wcs.api.Env
Return an iterable sequence of integers to loop a list
getRange(String) - Method in class wcs.api.Model
Return the range of the attribute: an iterator returning the valid values for(int i: m.getRange("attr")) { doSometing(m.getString("attr", i)); }
getRange(String) - Method in class wcs.java.Asset
Return an iterable of the attribute list
getRange(String) - Method in class wcs.java.Env
 
getResource(String) - Static method in class wcs.java.util.Util
Get a resource from the classpath
getResourceProperties(String) - Static method in class wcs.java.util.Util
Get a resource property file from the classpath
getRouter() - Method in interface wcs.api.Env
Return the current router
getRouter(ICS) - Static method in class wcs.core.WCS
Return a router for the site.
getRouter() - Method in class wcs.java.Env
 
getSite() - Method in interface wcs.api.Asset
Return the current site name
getSite() - Method in interface wcs.api.Config
Return the full site name
getSite() - Method in class wcs.java.AssetBase
Retun current site
getSite() - Method in class wcs.java.Config
 
getSite() - Method in class wcs.java.Router
 
getSite() - Method in class wcs.java.Setup
Return the current site - this is set by exec
getSiteId() - Method in interface wcs.api.Env
The current site id
getSiteId() - Method in class wcs.java.Env
 
getSiteName() - Method in interface wcs.api.Env
The current site name
getSiteName() - Method in class wcs.java.Env
 
getSitePlan() - Method in interface wcs.api.Env
 
getSitePlan() - Method in class wcs.java.Env
 
getSitePlanRoot(String) - Method in interface wcs.api.Env
Return the siteplan root of the given site
getSize(String) - Method in interface wcs.api.Asset
Return the number of elements in the attribute
getSize(String) - Method in interface wcs.api.Content
Return the number of elements in the attribute
getSize(String) - Method in interface wcs.api.Env
Return size of a list
getSize(String) - Method in class wcs.api.Model
Return the size of the attribute
getSize(String) - Method in class wcs.java.Asset
Return the number of elements in the attribute
getSize(String) - Method in class wcs.java.Env
 
getSscache() - Method in class wcs.java.Template
 
getStackTrace(Throwable) - Static method in class wcs.java.util.StringUtils
Convenient method to retrieve the full stacktrace from a given exception.
getStartDate() - Method in interface wcs.api.Asset
Current asset start date or null if undefined
getStartDate() - Method in class wcs.java.Asset
Return the start date field of the asset
getStartDate() - Method in class wcs.java.AssetBase
Return the start date of the asset
getString(String) - Method in interface wcs.api.Asset
Return the first attribute of the the named attribute as a string, or null if not found
getString(String, int) - Method in interface wcs.api.Asset
Return the nth named attribute as a string, or null if not found
getString(String) - Method in interface wcs.api.Content
Return the first attribute of the the named attribute as a string, or null if not found
getString(String, int) - Method in interface wcs.api.Content
Return the nth named attribute as a string, or null if not found
getString(String) - Method in interface wcs.api.Env
Get a variable or null
getString(String, String) - Method in interface wcs.api.Env
Get the field of a list or null
getString(String, int, String) - Method in interface wcs.api.Env
Get the nth field of a list or null
getString(String, int) - Method in interface wcs.api.Env
Get the field "value" of a list or null
getString(String) - Method in class wcs.api.Model
Return the value as a string
getString(String, int) - Method in class wcs.api.Model
Return the nth value as a string
getString(String) - Method in class wcs.java.Asset
Return the first attribute of the the attribute rib as a string, or the null if not found Since you are accessing another asset it is mandatory to specify the dependency type you are going to use.
getString(String, int) - Method in class wcs.java.Asset
Return the nth attribute of the the attribute as a string, or the void string if not found
getString(String) - Method in class wcs.java.Env
 
getString(String, String) - Method in class wcs.java.Env
 
getString(String, int, String) - Method in class wcs.java.Env
 
getString(String, int) - Method in class wcs.java.Env
 
getString(String) - Method in class wcs.java.util.TestEnv
 
getString(String, int) - Method in class wcs.java.util.TestEnv
 
getSubtype() - Method in interface wcs.api.Asset
The current asset subtype, or the void string if no subtype
getSubtype() - Method in class wcs.java.AssetBase
Return the subtype of the asset
getTemplate() - Method in interface wcs.api.Asset
The current template or null if undefined
getTemplate() - Method in class wcs.java.Asset
Return the description field of the asset
getTemplate() - Method in class wcs.java.AssetBase
Return the template of the asset
getTestEnv() - Static method in class wcs.java.util.TestRunnerElement
 
getUrl(Arg...) - Method in interface wcs.api.Asset
Return the URL to render this asset
getUrl(Id, Arg...) - Method in interface wcs.api.Env
Return the URL to render this asset - note that rendering is different if we are in insite/preview mode or in live mode
getUrl(String, Long, Arg...) - Method in interface wcs.api.Env
Return the URL to render this asset
getUrl(Arg...) - Method in class wcs.java.Asset
Return the URL to render this asset
getUrl(Id, Arg...) - Method in class wcs.java.Env
 
getUrl(String, Long, Arg...) - Method in class wcs.java.Env
 
getValue(String) - Method in class wcs.java.util.MapIList
 
getValues(String) - Method in class wcs.api.URL
Returns a List of String objects containing all of the values the named parameter has, or null if the parameter does not exist.
goTo(Id) - Method in interface wcs.api.SitePlan
Move to the page identified by the id
goTo(Id) - Method in class wcs.java.SitePlan
 

H

hasData() - Method in class wcs.java.util.MapIList
 
hashCode() - Method in class wcs.api.URL
Returns a hash code value for the UrlEncodedQueryString.
hasNext() - Method in class wcs.core.Sequencer
More calls?
header() - Method in class wcs.core.Sequencer
Return the head of the current entry Please note that if there is not a next element the header is actually the footer.
hexDump(String) - Static method in class wcs.java.util.Util
Hexadecimal dump of a string
html(Content...) - Method in class wcs.java.Picker
Return the inner html of the selected nod.
html(String) - Method in class wcs.java.util.TestElement
Return the html specified by the cssquery

I

ics() - Method in interface wcs.api.Env
Return the underlying ICS
ics() - Method in class wcs.java.Env
 
Id - Class in wcs.api
Simple Unique id (c & cid) holder class
id(String, Long) - Static method in class wcs.Api
Create an id
Id(String, Long) - Constructor for class wcs.api.Id
 
id - Variable in class wcs.java.AssetBase
 
ifn(Object, Object) - Static method in class wcs.Api
If null returns the alternative otherwise the object
IGNORE - Static variable in class wcs.java.util.DOMElementWriter.XmlNamespacePolicy
Ignores namespaces for elements and attributes, the default.
Index - Annotation Type in wcs.api
 
info(String, Object...) - Method in class wcs.api.Log
Log an info level message - Use message as a format string for the other args.
info(Throwable, String, Object...) - Method in class wcs.api.Log
Log an exception then an info level message - Use message as a format string for the other args.
info() - Method in class wcs.api.Log
Check if info level is enabled
init(ICS) - Method in interface wcs.api.Env
Initialize the class with the ICS
init(String) - Method in interface wcs.api.Router
Initialize the router with the site
init(String) - Method in class wcs.java.AssetBase
Complete initialization of the class
init(ICS) - Method in class wcs.java.Env
Initialize the env - second step constructor
init(String) - Method in class wcs.java.Router
 
init(String) - Method in class wcs.java.Template
 
innerHtml(Content...) - Method in class wcs.java.Picker
Alias for html(...)
insite - Variable in class wcs.java.Element
 
INTERNAL - Static variable in class wcs.java.Template
 
isAttribute(String) - Method in class wcs.java.Asset
Check if the attribute exist
isAttribute(String, int) - Method in class wcs.java.Asset
Check if the attribute at the given position exists
isEmpty() - Method in class wcs.api.URL
Returns whether the query string is empty.
isError() - Method in interface wcs.api.Env
Check if in error state
isError() - Method in class wcs.java.Env
 
isInsite() - Method in interface wcs.api.Env
Check if we are in the insite editing mode
isInsite() - Method in class wcs.java.Asset
Return if we are in insite editing
isInsite() - Method in class wcs.java.Env
 
isLegalCharacter(char) - Method in class wcs.java.util.DOMElementWriter
Is the given character allowed inside an XML document?
isList(String) - Method in interface wcs.api.Env
Check if it is a list
isList(String, int) - Method in interface wcs.api.Env
Check if it is a list with enough rows
isList(String) - Method in class wcs.java.Env
 
isList(String, int) - Method in class wcs.java.Env
 
isListCol(String, String) - Method in interface wcs.api.Env
Check if exists as a list column
isListCol(String, String) - Method in class wcs.java.Env
 
isObj(String) - Method in interface wcs.api.Env
Check if exists as an object
isObj(String) - Method in class wcs.java.Env
 
isReference(String) - Method in class wcs.java.util.DOMElementWriter
Is the given argument a character or entity reference?
isVar(String) - Method in interface wcs.api.Env
Check if is a variable
isVar(String) - Method in class wcs.java.Env
 
isWrapper() - Method in class wcs.java.SiteEntry
 
iterator() - Method in class wcs.api.Range
 

K

keysLeft() - Method in class wcs.api.Call
Keys left
knownEntities - Variable in class wcs.java.util.DOMElementWriter
Don't try to be too smart but at least recognize the predefined entities.

L

LAYOUT - Static variable in class wcs.java.Template
 
LINE_SEP - Static variable in class wcs.java.util.StringUtils
the line separator for this OS
lineSplit(String) - Static method in class wcs.java.util.StringUtils
Splits up a string into a list of lines.
link(Env, Id, Arg...) - Method in interface wcs.api.Router
Generate the link to an asset
link(Env, Id, Arg...) - Method in class wcs.java.Router
Link an asset
list(Object...) - Static method in class wcs.java.util.Util
Create a list from multiple arguments
listData(AssetData...) - Static method in class wcs.java.util.Util
Create a list from multiple arguments
listString(String...) - Static method in class wcs.java.util.Util
Create a list from multiple arguments
load(String, String) - Static method in class wcs.java.Picker
Get a picker form a given resource in the classpath
load(String) - Static method in class wcs.java.Picker
Get a picker form a given resource in the classpath and select the given query
loadClass(String) - Method in class wcs.core.Dispatcher
Load a class from the classloader
loadClass(String) - Method in class wcs.core.Loader
Load a class for name from current class loaders
Loader - Class in wcs.core
Load a pool of jars using a classloader.
Loader(File, int, ClassLoader) - Constructor for class wcs.core.Loader
Build a loader
Loader() - Constructor for class wcs.core.Loader
Build a default loader
loadSiteClass(ICS, String) - Method in class wcs.core.Dispatcher
Load a site specific class from the classloader
Log - Class in wcs.api
Log class that logs to a socket if available.

M

main(String[]) - Static method in enum wcs.api.AssetDeps
 
MapIList - Class in wcs.java.util
Mocked implementation of an IList useful for adding in the environment for tests You can build it easily with a List.
MapIList(String, Map<String, List<String>>) - Constructor for class wcs.java.util.MapIList
 
Model - Class in wcs.api
Model class to pass data around (mostly to the picker)
model(Arg...) - Static method in class wcs.Api
Create a Model
model(Model, Arg...) - Static method in class wcs.Api
Create a Model
Model(Arg...) - Constructor for class wcs.api.Model
Create a model with a sequence of args.
Model(Model, Arg...) - Constructor for class wcs.api.Model
Create a model with a sequence of args, building it on top of an existing If you need the same arg more than once, pass the same argument multiple times
moveTo(int) - Method in class wcs.java.util.MapIList
 
moveToRow(int, int) - Method in class wcs.java.util.MapIList
 

N

name - Variable in class wcs.api.Arg
 
name - Variable in class wcs.java.AssetBase
 
next() - Method in class wcs.core.Sequencer
Next call
nn(String) - Static method in class wcs.Api
Guarantee a string will never be null, if parameters is null then it will be returned as the empty string.
normalizedName(String, String) - Static method in class wcs.java.util.Util
Normalize Asset Name: ensure there is the site prefix in the name, and only once.
normalizeSiteName(String) - Static method in class wcs.core.WCS
Normalize Site name
numColumns() - Method in class wcs.java.util.MapIList
 
numIndirectColumns() - Method in class wcs.java.util.MapIList
 
numRows() - Method in class wcs.java.util.MapIList
 

O

odump(Log) - Method in class wcs.java.Picker
Convenience method to dump the outer html of the current node - embedded calls are decoded.
ONLY_QUALIFY_ELEMENTS - Static variable in class wcs.java.util.DOMElementWriter.XmlNamespacePolicy
Ignores namespaces for attributes.
openElement(Element, Writer, int, String) - Method in class wcs.java.util.DOMElementWriter
Writes the opening tag - including all attributes - corresponding to a DOM element.
openElement(Element, Writer, int, String, boolean) - Method in class wcs.java.util.DOMElementWriter
Writes the opening tag - including all attributes - corresponding to a DOM element.
out(String, Object...) - Static method in class wcs.Api
Print on standard output
out(String, Content...) - Static method in class wcs.Api
Print on standard output some contents
out(Content...) - Static method in class wcs.Api
Print on standard output some contents
out(String, Content, String) - Static method in class wcs.Api
Print on standard output a content attributes
out(Content, String) - Static method in class wcs.Api
Print on standard output a content attributes
outerHtml(Content...) - Method in class wcs.java.Picker
Return the html of the selected node including the node itself
outerHtml(String) - Method in class wcs.java.util.TestElement
Return the outer html specified by the cssquery

P

parse(String, String) - Static method in class wcs.api.URL
 
parse(URI) - Static method in class wcs.api.URL
Creates a UrlEncodedQueryString by extracting and parsing the query component from the given URI.
parse(String) - Method in class wcs.java.util.TestElement
Parse generated html
parse(Call) - Method in class wcs.java.util.TestElement
Parse a call
parseHumanSizes(String) - Static method in class wcs.java.util.StringUtils
Takes a human readable size representation eg 10K a long value.
path() - Method in interface wcs.api.SitePlan
Get the path of a page up to the root
path - Variable in class wcs.java.AssetBase
 
path() - Method in class wcs.java.SitePlan
 
Picker - Class in wcs.java
Picker is a template engine building html pages or snippets using replacements and modifications in the html with jQuery-style selectors.
prefixAttrs(String, String, String) - Method in class wcs.java.Picker
Set attribute prefix for all the attributes found

Q

QUALIFY_ALL - Static variable in class wcs.java.util.DOMElementWriter.XmlNamespacePolicy
Qualifies namespaces for elements and attributes.

R

Range - Class in wcs.api
Implements an utility class range for 1 to N to iterate elements of a list
Range(int) - Constructor for class wcs.api.Range
 
readAttributeConfig(String, Config) - Static method in class wcs.java.util.Util
Read a configuration attribute
Recommendation - Class in wcs.java
A decorator to add recommandation handling functions
Recommendation(Env, String, Arg[]) - Constructor for class wcs.java.Recommendation
 
Recommendation(Env, Long, Arg[]) - Constructor for class wcs.java.Recommendation
 
remove(String) - Method in class wcs.api.URL
Removes the named query parameter.
remove() - Method in class wcs.core.Sequencer
 
remove(String) - Method in class wcs.java.Picker
Remove nodes specified
removeAttrs(String, String...) - Method in class wcs.java.Picker
Remove specified attributes
removePrefix(String, String) - Static method in class wcs.java.util.StringUtils
Removes the prefix from a given string, if the string contains that prefix.
removeSuffix(String, String) - Static method in class wcs.java.util.StringUtils
Removes the suffix from a given string, if the string contains that suffix.
rename(String) - Method in class wcs.java.util.MapIList
 
replace(String, String) - Method in class wcs.java.Picker
Replace where indicated with the specified html
replace(String, String, String) - Static method in class wcs.java.util.StringUtils
Replace occurrences into a string.
replaceWith(String, String) - Method in class wcs.java.Picker
Replace tag selected by "where" with String "What"
resolveBackSlash(String) - Static method in class wcs.java.util.StringUtils
xml does not do "c" like interpretation of strings.
route(ICS, String, String) - Method in interface wcs.api.Router
Route requests
route(Env, URL) - Method in interface wcs.api.Router
Route an asset
route(ICS, String, String, String) - Method in class wcs.core.Dispatcher
Route a call from the url assembler
route(ICS, String, String, String) - Static method in class wcs.core.WCS
Dispatch requests
route(ICS, String, String) - Method in class wcs.java.Router
 
route(Env, URL) - Method in class wcs.java.Router
Route an asset
Router - Interface in wcs.api
Interface for the Router
Router - Class in wcs.java
The router - implement the abstract methods to provide url->asset and asset->burl conversions.
Router() - Constructor for class wcs.java.Router
 

S

select(String) - Method in class wcs.java.Picker
Select a new element and return a new Picker
select(String) - Method in class wcs.java.util.TestElement
Return an html node suitable for Jsoup manipulation
SEP - Static variable in class wcs.api.Call
 
SEP2END - Static variable in class wcs.api.Call
 
SEP2START - Static variable in class wcs.api.Call
 
Sequencer - Class in wcs.core
Return a sequence of Calls intermixed with in a sequence of non-Calls ( This class ease the rendering of the output with a jsp doing tag calls For example "first Call(...) second Call(...) third" The header is the prefix before a call.
Sequencer(String) - Constructor for class wcs.core.Sequencer
Build a sequencer decoding embedded calls
set(String, String) - Method in class wcs.api.URL
Sets a query parameter.
set(String, Number) - Method in class wcs.api.URL
Sets a query parameter.
set(String) - Method in class wcs.api.URL
Sets query parameters from a www-form-urlencoded string.
setCid(long) - Method in class wcs.java.AssetSetup
 
setData(MutableAssetData) - Method in class wcs.java.Site
Set site data
setDescription(String) - Method in class wcs.java.AssetBase
 
setNextSetup(AssetSetup) - Method in class wcs.java.AssetSetup
Set next asset setup
setOutput(OutputStream) - Method in class wcs.java.util.XmlTestReport
.
setProperties(Properties) - Method in class wcs.core.Assembler
 
setSystemError(String) - Method in class wcs.java.util.XmlTestReport
.
setSystemOutput(String) - Method in class wcs.java.util.XmlTestReport
.
setTypeSubtype(String, String) - Method in class wcs.java.AssetSetup
 
Setup - Interface in wcs.core
Setup interface.
Setup - Class in wcs.java
The setup class.
Setup() - Constructor for class wcs.java.Setup
 
single(String) - Method in class wcs.java.Picker
Keep only one instance of the node specified
site - Variable in class wcs.java.AssetBase
 
site - Variable in class wcs.java.Element
 
Site - Class in wcs.java
Represent a site - currently only the name of the site is stored It will contains much more in future - some private code is already availabe
Site(String) - Constructor for class wcs.java.Site
 
SiteEntry - Class in wcs.java
 
SiteEntry(String, boolean) - Constructor for class wcs.java.SiteEntry
Create a site entry, specifying if it is a wrapper or not
SiteEntry(String, boolean, AssetSetup) - Constructor for class wcs.java.SiteEntry
Create a site entry, specifying if it is a wrapper or not
SiteEntry(String, boolean, String) - Constructor for class wcs.java.SiteEntry
Create a site entry, specifying if it is a wrapper and the element it actually calls (otherwise it is automatically calculated from the name)
SitePlan - Interface in wcs.api
 
SitePlan - Class in wcs.java
 
SitePlan(Env) - Constructor for class wcs.java.SitePlan
Create a siteplan object that points to the root (the publication node)
slot(String, int, String, String, String, Arg...) - Method in interface wcs.api.Asset
Render a single slot pointed by the i-th asset field using the the specified template.
slot(String, String, String, String, Arg...) - Method in interface wcs.api.Asset
Render a single slot pointed by the first asset field using the the specified template.
slot(String, int, String, String, String, Arg...) - Method in class wcs.java.Asset
Render a single slot pointed by the i-th asset field using the the specified template.
slot(String, String, String, String, Arg...) - Method in class wcs.java.Asset
Render a single slot pointed by the first asset field using the the specified template.
slotEmpty(String, String, String, String) - Method in interface wcs.api.Asset
Render an empty slot.
slotEmpty(String, String, String, String) - Method in class wcs.java.Asset
Render an empty slot to drag additional content to a list.
slotList(String, String, String, Arg...) - Method in interface wcs.api.Asset
Render a list of slots pointed by the asset field using the the specified template.
slotList(String, String, String, Arg...) - Method in class wcs.java.Asset
Render a list of slots pointed by the asset field using the the specified template.
split(String, int) - Static method in class wcs.java.util.StringUtils
Splits up a string where elements are separated by a specific character and return all elements.
startDate - Variable in class wcs.java.AssetBase
 
startTest(Description) - Method in class wcs.java.util.XmlTestReport
Interface TestListener.
startTestSuite(String) - Method in class wcs.java.util.XmlTestReport
The whole testsuite started.
STREAMED - Static variable in class wcs.java.Template
 
stringInList(String) - Method in class wcs.java.util.MapIList
 
StringUtils - Class in wcs.java.util
A set of helper methods related to string manipulation.
subtype - Variable in class wcs.java.AssetBase
 

T

template - Variable in class wcs.java.AssetBase
 
Template - Class in wcs.java
 
Template(String, String, char, Class<?>) - Constructor for class wcs.java.Template
 
Template(String, String, char, String, Class<?>) - Constructor for class wcs.java.Template
Create a template with given subtype, name, and top element, applying to given subtypes.
Template(String, String, char, Class<?>, AssetSetup) - Constructor for class wcs.java.Template
Setup a template with a chained setup
testAssumptionFailure(Description, Throwable) - Method in class wcs.java.util.XmlTestReport
 
TestElement - Class in wcs.java.util
Collection of test helpers for testing elements.
TestElement() - Constructor for class wcs.java.util.TestElement
 
TestEnv - Class in wcs.java.util
Testable env - it can be built with a content that can override variables and lists
TestEnv(ICS, Arg...) - Constructor for class wcs.java.util.TestEnv
Create a test env using ics and additional arguments
testFailure(Failure) - Method in class wcs.java.util.XmlTestReport
 
testFinished(Description) - Method in class wcs.java.util.XmlTestReport
 
testIgnored(Description) - Method in class wcs.java.util.XmlTestReport
 
TestRunnerElement - Class in wcs.java.util
 
TestRunnerElement() - Constructor for class wcs.java.util.TestRunnerElement
 
tests() - Method in class wcs.java.util.TestRunnerElement
 
testStarted(Description) - Method in class wcs.java.util.XmlTestReport
 
text(String) - Method in class wcs.java.util.TestElement
Return the text html specified by the cssquery
tmp() - Static method in class wcs.Api
Generate an unique temporary var name.
tmp() - Static method in class wcs.core.WCS
Generate an unique temporary var name.
toDate(String) - Static method in class wcs.Api
Convert as a date, eventually the day 0 of the epoch if you cannot convert
toInt(String) - Static method in class wcs.Api
Convert in a int, 0 if erros
toLong(String) - Static method in class wcs.Api
Convert in a long, 0l if errors
toString() - Method in class wcs.api.Arg
 
toString() - Method in enum wcs.api.AssetDeps
 
toString() - Method in class wcs.api.Call
 
toString() - Method in class wcs.api.Id
 
toString() - Method in class wcs.api.Range
 
toString() - Method in class wcs.api.URL
Returns a www-form-urlencoded string of the query parameters.
toString(URL.Separator) - Method in class wcs.api.URL
Returns a www-form-urlencoded string of the query parameters, using the given separator between parameters.
toString() - Method in class wcs.java.AssetBase
String representation of the asset
toString() - Method in class wcs.java.Picker
Print the current selected node as a string
toString() - Method in class wcs.java.Site
 
toString() - Method in class wcs.java.util.MapIList
 
trace(String, Object...) - Method in class wcs.api.Log
Log a trace level message - Use message as a format string for the other args.
trace() - Method in class wcs.api.Log
Check if trace level is enabled
trace(Throwable, String, Object...) - Method in class wcs.api.Log
Log an exception then a trace level message - Use message as a format string for the other args.

U

unpackVar(String, String) - Method in class wcs.java.Env
unpacks a var and puts it in ICS.
UNSPECIFIED - Static variable in class wcs.java.Template
 
up() - Method in class wcs.java.Picker
Return to the precedent selected element
URL - Class in wcs.api
Represents a www-form-urlencoded query string containing an (ordered) list of parameters.
url(String) - Method in class wcs.java.util.TestElement
Create an url
URL.Separator - Enum in wcs.api
Enumeration of recommended www-form-urlencoded separators.
Util - Class in wcs.java.util
Utility and support functions specific for AgileSites
Util() - Constructor for class wcs.java.util.Util
 

V

value - Variable in class wcs.api.Arg
 
valueOf(String) - Static method in enum wcs.api.AssetDeps
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum wcs.api.URL.Separator
Returns the enum constant of this type with the specified name.
values - Variable in class wcs.api.Args
 
values() - Static method in enum wcs.api.AssetDeps
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum wcs.api.URL.Separator
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String, Object...) - Method in class wcs.api.Log
Log a warn level message - Use message as a format string for the other args.
warn(Throwable, String, Object...) - Method in class wcs.api.Log
Log an exception then a warn level message - Use message as a format string for the other args.
wcs - package wcs
 
WCS - Class in wcs.core
Main class of the framework, mostly used by JSP to invoke extension methods.
WCS() - Constructor for class wcs.core.WCS
 
wcs.api - package wcs.api
 
wcs.core - package wcs.core
 
wcs.java - package wcs.java
 
wcs.java.util - package wcs.java.util
 
write(Element, OutputStream) - Method in class wcs.java.util.DOMElementWriter
Writes a DOM tree to a stream in UTF8 encoding.
write(Element, Writer, int, String) - Method in class wcs.java.util.DOMElementWriter
Writes a DOM tree to a stream.
writeXMLDeclaration(Writer) - Method in class wcs.java.util.DOMElementWriter
Writes the XML declaration if xmlDeclaration is true.

X

XmlTestReport - Class in wcs.java.util
Prints XML output of the test to a specified Writer.
XmlTestReport() - Constructor for class wcs.java.util.XmlTestReport
No arg constructor.
A B C D E F G H I K L M N O P Q R S T U V W X