Package | Description |
---|---|
com.github.wuic |
This package is the most general package of the WUIC library.
|
com.github.wuic.context |
This package provides the central
Context component which is the lowest configuration
object in WUIC. |
com.github.wuic.engine |
This package contains the definition of an
Engine . |
com.github.wuic.engine.core | |
com.github.wuic.exception |
This package contains all common exceptions which could be thrown by WUIC.
|
com.github.wuic.servlet |
This package defines the Servlet support provided by WUIC.
|
Modifier and Type | Method and Description |
---|---|
WuicFacade |
WuicFacadeBuilder.build()
Builds a new facade.
|
void |
WuicFacade.configure(Boolean useDefault,
ContextBuilderConfigurator... configurators)
Configures the internal builder with the given configurators.
|
void |
WuicFacade.configure(ContextBuilderConfigurator... configurators)
Configures the internal builder with the given configurators.
|
boolean |
WuicFacade.refreshContext()
Refresh the context if necessary.
|
List<ConvertibleNut> |
WuicFacade.runWorkflow(String id,
ProcessContext processContext,
EngineType... skip)
Gets the nuts processed by the given workflow identified by the specified ID inside a specified context.
|
ConvertibleNut |
WuicFacade.runWorkflow(String id,
String path,
ProcessContext processContext,
EngineType... skip)
Gets the nut with the given path processed by the given workflow identified by the specified ID.
|
ConvertibleNut |
WuicFacade.runWorkflow(String id,
String path,
UrlProviderFactory urlProviderFactory,
ProcessContext processContext,
EngineType... skip)
Gets the nut with the given path processed by the given workflow identified by the specified ID.
|
List<ConvertibleNut> |
WuicFacade.runWorkflow(String id,
UrlProviderFactory urlProviderFactory,
ProcessContext processContext,
EngineType... skip)
Gets the nuts processed by the given workflow identified by the specified ID.
|
Modifier and Type | Method and Description |
---|---|
Context |
ContextBuilder.build()
Builds the context.
|
ConvertibleNut |
Context.process(String contextPath,
String wId,
String path,
UrlProviderFactory urlProviderFactory,
ProcessContext processContext,
EngineType... skip)
Processes a workflow an returns the nut inside the result with a name that equals to the specified one.
|
List<ConvertibleNut> |
Context.process(String contextPath,
String workflowId,
UrlProviderFactory urlProviderFactory,
ProcessContext processContext,
EngineType... skip)
Processes a workflow and returns the resulting nuts.
|
Modifier and Type | Method and Description |
---|---|
abstract List<? extends ConvertibleNut> |
LineInspector.appendTransformation(Matcher matcher,
StringBuilder replacement,
EngineRequest request,
CompositeNut.CompositeInputStream cis,
ConvertibleNut originalNut)
Computes the replacement to be made inside the text for the given
Matcher which its find()
method as just been called. |
static void |
LineInspector.fallbackToVersionNumberInQueryString(StringBuilder sb,
String referencedPath,
Nut originalNut)
When the nut resolution fails (no nut found), the path is keep in the source file.
|
protected abstract List<ConvertibleNut> |
Engine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
static List<? extends ConvertibleNut> |
LineInspector.manageAppend(ConvertibleNut nut,
StringBuilder replacement,
EngineRequest request,
NutsHeap heap,
EngineType... skippedEngine)
Manages the given nut that corresponds to the specified referenced path and append the transformation with proper
path.
|
List<ConvertibleNut> |
NodeEngine.parse(EngineRequest request)
Parses the given nuts and returns the result of this operation.
|
List<ConvertibleNut> |
HeadEngine.parse(EngineRequest request)
Parses the given nuts and returns the result of this operation.
|
abstract List<ConvertibleNut> |
Engine.parse(EngineRequest request)
Parses the given nuts and returns the result of this operation.
|
abstract ConvertibleNut |
HeadEngine.parse(EngineRequest request,
String path)
Parses the given request and returns the nut associated to the given path.
|
static List<ConvertibleNut> |
HeadEngine.runChains(EngineRequest request)
This method parses the sequences of
ConvertibleNut of the same type and
aggregates the nuts with same names between the results. |
Modifier and Type | Method and Description |
---|---|
List<ConvertibleNut> |
TextAggregatorEngine.aggregationParse(EngineRequest request)
Do aggregation parsing.
|
List<ConvertibleNut> |
ImageAggregatorEngine.aggregationParse(EngineRequest request)
Do aggregation parsing.
|
protected abstract List<ConvertibleNut> |
AbstractAggregatorEngine.aggregationParse(EngineRequest request)
Do aggregation parsing.
|
List<? extends ConvertibleNut> |
SourceMapLineInspector.appendTransformation(Matcher matcher,
StringBuilder replacement,
EngineRequest request,
CompositeNut.CompositeInputStream cis,
ConvertibleNut originalNut)
Computes the replacement to be made inside the text for the given
Matcher which its find()
method as just been called. |
List<? extends ConvertibleNut> |
CssUrlLineInspector.appendTransformation(Matcher matcher,
StringBuilder replacement,
EngineRequest request,
CompositeNut.CompositeInputStream cis,
ConvertibleNut originalNut)
Computes the replacement to be made inside the text for the given
Matcher which its find()
method as just been called. |
List<? extends ConvertibleNut> |
AngularTemplateInspector.appendTransformation(Matcher matcher,
StringBuilder replacement,
EngineRequest request,
CompositeNut.CompositeInputStream cis,
ConvertibleNut originalNut)
Computes the replacement to be made inside the text for the given
Matcher which its find()
method as just been called. |
protected void |
TextInspectorEngine.inspect(ConvertibleNut nut,
EngineRequest request)
Extracts from the given nut all the nuts referenced by the @import statement in CSS.
|
protected String |
TextInspectorEngine.inspectLine(String line,
EngineRequest request,
LineInspector inspector,
List<LineInspector.ReplacementInfo> replacementInfoList,
CompositeNut.CompositeInputStream cis,
ConvertibleNut original)
Inspects the given line and eventually adds some extracted nuts to the nut referencing it.
|
List<ConvertibleNut> |
TextInspectorEngine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
protected List<ConvertibleNut> |
StaticEngine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
List<ConvertibleNut> |
SpriteInspectorEngine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
List<ConvertibleNut> |
HtmlInspectorEngine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
protected List<ConvertibleNut> |
GzipEngine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
List<ConvertibleNut> |
AbstractConverterEngine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
List<ConvertibleNut> |
AbstractCompressorEngine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
List<ConvertibleNut> |
AbstractCacheEngine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
List<ConvertibleNut> |
AbstractAggregatorEngine.internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
Map<Region,ConvertibleNut> |
ImageAggregatorEngine.pack(List<ConvertibleNut> nuts)
Packs the given nuts (which embed images) in the smallest area.
|
ConvertibleNut |
AbstractCacheEngine.parse(EngineRequest request,
String path)
Parses the given request and returns the nut associated to the given path.
|
Modifier and Type | Class and Description |
---|---|
class |
StaticWorkflowNotFoundException
Thrown when a workflow is retrieved with the
StaticEngine and when
its associated file has not been found in classpath. |
class |
WorkflowNotFoundException
Indicates that a
Workflow has not been found. |
class |
WorkflowTemplateNotFoundException
Thrown when a workflow references a template that does not exists.
|
Modifier and Type | Method and Description |
---|---|
static void |
WuicException.throwWuicException(Exception origin)
Throws a new exception wrapping an origin.
|
Modifier and Type | Method and Description |
---|---|
protected ByteArrayNut |
HtmlParserFilter.configureBuilder(HttpServletRequest request,
String path,
ContextBuilder contextBuilder,
String workflowId,
byte[] content)
Configures the workflow corresponding to the given ID in the specified context builder.
|
Copyright © 2012-2015. All Rights Reserved.