This creates a {@link CompiledFunctionResolver} that can perform the actual resolution withfunctions compiled for use at the given snapshot time. @param atInstant the snapshot time the functions will be used at, not null @return the compiled function resolver, not null
The compilation process itself goes through several phases:
In a method or constructor body, $0, $1, ... and $_ are not available.
@return a CtMethod
, CtConstructor
,or CtField
object.
@see #recordProceed(String,String)
Compile an XPath expression for later evaluation.
If expression
contains any {@link XPathFunction}s, they must be available via the {@link XPathFunctionResolver}. An {@link XPathExpressionException} will be thrown if the XPathFunction
cannot be resovled with the XPathFunctionResolver
.
If expression
is null
, a NullPointerException
is thrown.
expression
cannot be compiled.
@throws NullPointerException If expression
is null
.
The base URI of the query should be supplied by calling {@link #setBaseURI(java.net.URI)}
@param query the text of the query @return an XQueryExecutable representing the compiled query @throws SaxonApiException if the query compilation fails with a static error @since 9.0Note: the term "compile" here indicates that the stylesheet is converted into an executable form. There is no implication that this involves code generation.
The source argument identifies the XML document holding the principal stylesheet module. Other modules will be located relative to this module by resolving against the base URI that is defined as the systemId property of the supplied Source.
The following kinds of {@link javax.xml.transform.Source} are recognized:
null
if it is the platform's default encoding
@exception LanguageException If an error occurs during compilation
null
if it is the platform's default encoding
@exception LanguageException If an error occurs during compilation
null
if it is the platform's default encoding
@exception LanguageException If an error occurs during compilation
The compilation process itself goes through several phases:
Compile a BPEL process from a BOM {@link Process} object.
@param process the BOMProcess
to compile.
@throws IOException if one occurs while processing (e.g., getting imports) or writing output.
@throws CompilationException if one occurs while compiling.
@param pattern A Glob expression to compile. @param options A set of flags giving the compiler instructions onhow to treat the glob expression. The flags are a logical OR of any number of the 3 MASK constants. For example:
regex = compiler.compile(pattern, GlobCompiler. CASE_INSENSITIVE_MASK | GlobCompiler.STAR_CANNOT_MATCH_NULL_MASK);This says to compile the pattern so that cannot match the null string and to perform matches in a case insensitive manner. @return A Pattern instance constituting the compiled expression.This instance will always be a Perl5Pattern and can be reliably casted to a Perl5Pattern. @exception MalformedPatternException If the compiled expressionis not a valid Glob expression.
@param pattern A Perl5 regular expression to compile. @param options A set of flags giving the compiler instructions onhow to treat the regular expression. The flags are a logical OR of any number of the five MASK constants. For example:
regex = compiler.compile(pattern, Perl5Compiler. CASE_INSENSITIVE_MASK | Perl5Compiler.MULTILINE_MASK);This says to compile the pattern so that it treats input as consisting of multiple lines and to perform matches in a case insensitive manner. @return A Pattern instance constituting the compiled regular expression.This instance will always be a Perl5Pattern and can be reliably casted to a Perl5Pattern. @exception MalformedPatternException If the compiled expressionis not a valid Perl5 regular expression.
ResultSpecification
using a specific {@link TypeSystem}. The result is cached and used by the {@link #containsType(String)} and {@link #containsFeature(String)} methods toproperly consider the inheritance of types and to restrict allAnnotatorFeatures to just those features defined in the type system when this ResultSpecification
contains Types with allAnnotatorFeatures
set to true. This method is called automatically internally when needed. Framework code, Annotators and Applications do not need to call it. @param aTypeSystem the Type System used to determine which features belong to each Type @deprecated as of 2.2.2 Now called automatically internally when needed
For example, if the source path comprises the directories "A/B" and "../C", then the source file for class "com.acme.Main" is searched in
sourceFiles
. This method must be called exactly once after object construction.
Compile errors are reported as described at {@link #setCompileErrorHandler(UnitCompiler.ErrorHandler)}.
@param sourceFiles Contain the compilation units to compile
@return true
for backwards compatibility (return value can safely be ignored)
@throws CompileException Fatal compilation error, or the {@link CompileException} thrown be the installed compileerror handler
@throws IOException Occurred when reading from the sourceFiles
In a method or constructor body, $0, $1, ... and $_ are not available.
@return a CtMethod
, CtConstructor
,or CtField
object.
@see #recordProceed(String,String)
In a method or constructor body, $0, $1, ... and $_ are not available.
@return a CtMethod
, CtConstructor
,or CtField
object.
@see #recordProceed(String,String)
String
to CSS.
@param input The LESS input String
to compile.
@return The CSS.
*.jasper
file.
@param compiledReportFile The destination file.
@throws JRException
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|