Home | History | Annotate | Download | only in patterns

Lines Matching defs:patterns

21 package org.apache.xpath.patterns;
31 * StepPattern patterns.
38 /** Array of the contained step patterns to be tested.
75 * Set the contained step patterns to be tested.
78 * @param patterns the contained step patterns to be tested.
80 public void setPatterns(StepPattern[] patterns)
82 m_patterns = patterns;
83 if(null != patterns)
85 for(int i = 0; i < patterns.length; i++)
87 patterns[i].exprSetParent(this);
94 * Get the contained step patterns to be tested.
97 * @return an array of the contained step patterns to be tested.
105 * Test a node to see if it matches any of the patterns in the union.
109 * @return {@link org.apache.xpath.patterns.NodeTest#SCORE_NODETEST},
110 * {@link org.apache.xpath.patterns.NodeTest#SCORE_NONE},
111 * {@link org.apache.xpath.patterns.NodeTest#SCORE_NSWILD},
112 * {@link org.apache.xpath.patterns.NodeTest#SCORE_QNAME}, or
113 * {@link org.apache.xpath.patterns.NodeTest#SCORE_OTHER}.