Compiler.compilePredicates
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.xpath.compiler.Compiler.compilePredicates(Showing top 6 results out of 315)

  • Common ways to obtain Compiler
private void myMethod () {
Compiler c =
  • ErrorListener errorHandler;new Compiler(errorHandler, locator, fTable)
  • AI code suggestions by Codota
}
origin: MobiVM/robovm

/**
 * Compile a zero or more predicates for a given match pattern.
 * 
 * @param opPos The position of the first predicate the m_opMap array.
 *
 * @return reference to array of {@link org.apache.xpath.Expression} instances.
 *
 * @throws TransformerException if a error occurs creating the Expression.
 */
public Expression[] getCompiledPredicates(int opPos)
    throws TransformerException
{
 int count = countPredicates(opPos);
 if (count > 0)
 {
  Expression[] predicates = new Expression[count];
  compilePredicates(opPos, predicates);
  return predicates;
 }
 return null;
}
origin: robovm/robovm

/**
 * Compile a zero or more predicates for a given match pattern.
 * 
 * @param opPos The position of the first predicate the m_opMap array.
 *
 * @return reference to array of {@link org.apache.xpath.Expression} instances.
 *
 * @throws TransformerException if a error occurs creating the Expression.
 */
public Expression[] getCompiledPredicates(int opPos)
    throws TransformerException
{
 int count = countPredicates(opPos);
 if (count > 0)
 {
  Expression[] predicates = new Expression[count];
  compilePredicates(opPos, predicates);
  return predicates;
 }
 return null;
}
origin: xalan/xalan

/**
 * Compile a zero or more predicates for a given match pattern.
 * 
 * @param opPos The position of the first predicate the m_opMap array.
 *
 * @return reference to array of {@link org.apache.xpath.Expression} instances.
 *
 * @throws TransformerException if a error occurs creating the Expression.
 */
public Expression[] getCompiledPredicates(int opPos)
    throws TransformerException
{
 int count = countPredicates(opPos);
 if (count > 0)
 {
  Expression[] predicates = new Expression[count];
  compilePredicates(opPos, predicates);
  return predicates;
 }
 return null;
}
origin: com.bugvm/bugvm-rt

/**
 * Compile a zero or more predicates for a given match pattern.
 * 
 * @param opPos The position of the first predicate the m_opMap array.
 *
 * @return reference to array of {@link org.apache.xpath.Expression} instances.
 *
 * @throws TransformerException if a error occurs creating the Expression.
 */
public Expression[] getCompiledPredicates(int opPos)
    throws TransformerException
{
 int count = countPredicates(opPos);
 if (count > 0)
 {
  Expression[] predicates = new Expression[count];
  compilePredicates(opPos, predicates);
  return predicates;
 }
 return null;
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Compile a zero or more predicates for a given match pattern.
 * 
 * @param opPos The position of the first predicate the m_opMap array.
 *
 * @return reference to array of {@link org.apache.xpath.Expression} instances.
 *
 * @throws TransformerException if a error occurs creating the Expression.
 */
public Expression[] getCompiledPredicates(int opPos)
    throws TransformerException
{
 int count = countPredicates(opPos);
 if (count > 0)
 {
  Expression[] predicates = new Expression[count];
  compilePredicates(opPos, predicates);
  return predicates;
 }
 return null;
}
origin: org.apache.xalan/xalan

/**
 * Compile a zero or more predicates for a given match pattern.
 * 
 * @param opPos The position of the first predicate the m_opMap array.
 *
 * @return reference to array of {@link org.apache.xpath.Expression} instances.
 *
 * @throws TransformerException if a error occurs creating the Expression.
 */
public Expression[] getCompiledPredicates(int opPos)
    throws TransformerException
{
 int count = countPredicates(opPos);
 if (count > 0)
 {
  Expression[] predicates = new Expression[count];
  compilePredicates(opPos, predicates);
  return predicates;
 }
 return null;
}
org.apache.xpath.compilerCompilercompilePredicates

Javadoc

Compiles predicates in the step.

Popular methods of Compiler

  • <init>
    Construct a Compiler object with a specific ErrorListener and SourceLocator where the expression is
  • compile
    Execute the XPath object from a given opcode position.
  • and
    Compile an 'and' operation.
  • arg
    Compile a function argument.
  • bool
    Compile a 'boolean(...)' operation.
  • compileExtension
    Compile an extension function.
  • compileFunction
    Compile a built-in XPath function.
  • compileOperation
    Bottle-neck compilation of an operation with left and right operands.
  • compileUnary
    Bottle-neck compilation of a unary operation.
  • countPredicates
    Count the number of predicates in the step.
  • div
    Compile a 'div' operation.
  • equals
    Compile a '=' operation.
  • div,
  • equals,
  • error,
  • getArgLength,
  • getArgLengthOfStep,
  • getCompiledPredicates,
  • getFirstChildPos,
  • getFirstChildPosOfStep,
  • getFirstPredicateOpPos

Popular classes and methods

  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • Kernel (java.awt.image)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JTable (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)