|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AbstractPattern | |
---|---|
com.caucho.xpath | Finding and selecting XML nodes using XSL patterns. |
com.caucho.xpath.expr | |
com.caucho.xpath.pattern | |
com.caucho.xsl | The XSLT transformation package. |
com.caucho.xsl.fun | |
com.caucho.xsl.java |
Uses of AbstractPattern in com.caucho.xpath |
---|
Methods in com.caucho.xpath that return AbstractPattern | |
---|---|
AbstractPattern |
Expr.getListContext()
|
AbstractPattern |
Pattern.getPattern()
Returns the underlying pattern implementation. |
AbstractPattern |
Env.getSelect()
|
AbstractPattern |
Env.setSelect(org.w3c.dom.Node node,
AbstractPattern select)
Sets the selection context |
protected AbstractPattern |
Expr.toNodeList()
Convert from an expression to a pattern. |
Methods in com.caucho.xpath with parameters of type AbstractPattern | |
---|---|
abstract java.lang.Object |
XPathFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
static Expr |
XPath.parseExpr(java.lang.String query,
NamespaceContext namespace,
AbstractPattern nodeList)
Parses an XPath expression for later evaluation. |
void |
Expr.setListContext(AbstractPattern listContext)
|
AbstractPattern |
Env.setSelect(org.w3c.dom.Node node,
AbstractPattern select)
Sets the selection context |
Uses of AbstractPattern in com.caucho.xpath.expr |
---|
Methods in com.caucho.xpath.expr that return AbstractPattern | |
---|---|
AbstractPattern |
NumericExpr.getListContext()
|
AbstractPattern |
NodeSetExpr.getPattern()
Returns the underlying pattern. |
protected AbstractPattern |
NodeSetExpr.toNodeList()
Convert from an expression to a pattern. |
protected AbstractPattern |
ObjectExpr.toNodeList()
Convert from an expression to a pattern. |
Methods in com.caucho.xpath.expr with parameters of type AbstractPattern | |
---|---|
static Expr |
NodeSetExpr.create(AbstractPattern pattern)
Creates an expr, handling some special cases. |
Constructors in com.caucho.xpath.expr with parameters of type AbstractPattern | |
---|---|
FunExpr(java.lang.String name,
AbstractPattern pattern,
java.util.ArrayList<Expr> args)
|
|
NumericExpr(int code,
AbstractPattern listPattern)
|
|
NumericExpr(int code,
AbstractPattern axis,
AbstractPattern pattern)
|
Uses of AbstractPattern in com.caucho.xpath.pattern |
---|
Subclasses of AbstractPattern in com.caucho.xpath.pattern | |
---|---|
class |
CurrentPattern
Matches the current node. |
class |
FilterPattern
matches a node if it matches a filter expression. |
class |
FromAncestors
Implements the ancestor:: axis. |
class |
FromAny
matches any node. |
class |
FromAttributes
matches attributes of an element. |
class |
FromChildren
matches child nodes. |
class |
FromContext
Matches the node context. |
class |
FromDescendants
Matches any descendant. |
class |
FromExpr
matches if the expression returns a node set and the test-node is contained in that node set. |
class |
FromNamespace
matches namespace nodes of an element. |
class |
FromNext
Matches nodes following the current node in the current document. |
class |
FromNextSibling
matches following siblings |
class |
FromParent
|
class |
FromPrevious
Matches nodes preceding the current node, not counting descendants. |
class |
FromPreviousSibling
matches if we can find a following sibling matching the parent pattern. |
class |
FromRoot
Represents a match with the document root. |
class |
FromSelf
The self axis matches the current node. |
class |
NamespacePattern
|
class |
NodePattern
Matches a named node, like para or @id. |
class |
NodeTypePattern
Matches a node without checking the name. |
class |
NSNamePattern
Matches a named node, like foo:para or @foo:id when the prefix maps to a namespace. |
class |
UnionPattern
Implementation of the 'a|b' pattern. |
Fields in com.caucho.xpath.pattern declared as AbstractPattern | |
---|---|
protected AbstractPattern |
AxisIterator._axis
|
protected AbstractPattern |
AbstractPattern._child
|
protected AbstractPattern |
AttributeListIterator._match
|
protected AbstractPattern |
AxisIterator._match
|
protected AbstractPattern |
NamespaceIterator._match
|
protected AbstractPattern |
AbstractPattern._parent
|
Methods in com.caucho.xpath.pattern that return AbstractPattern | |
---|---|
AbstractPattern |
AbstractPattern.copyAxis()
Returns the owning axis for the pattern. |
AbstractPattern |
AbstractPattern.copyPosition()
Returns the position matching pattern. |
AbstractPattern |
FilterPattern.copyPosition()
|
AbstractPattern |
NSNamePattern.copyPosition()
Copies the position (non-axis) portion of the pattern. |
AbstractPattern |
NodePattern.copyPosition()
Copies the position (non-axis) portion of the pattern. |
AbstractPattern |
NodeTypePattern.copyPosition()
Copies the node matching portion of the pattern, i.e. |
static AbstractPattern |
NodeTypePattern.create(AbstractPattern parent,
int nodeType)
|
AbstractPattern |
UnionPattern.getLeft()
Return left node of the union. |
AbstractPattern |
AbstractPattern.getParent()
Returns the parent pattern. |
AbstractPattern |
UnionPattern.getRight()
Return right node of the union. |
Methods in com.caucho.xpath.pattern with parameters of type AbstractPattern | |
---|---|
int |
AbstractPattern.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
Returns the number of nodes in its context for a match pattern. |
int |
FromAncestors.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
counts the number of matching ancestors from the axis context |
int |
FromAttributes.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
counts all siblings matching the pattern. |
int |
FromChildren.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
Counts all siblings matching the pattern. |
int |
FromContext.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
There is only a single node in the context axis. |
int |
FromDescendants.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
Counts the descendant nodes matching the pattern. |
int |
FromExpr.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
The count is the size of the expression node-set. |
int |
FromPrevious.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
counts matching nodes preceding the axis context. |
int |
FromSelf.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
Only one node in the self axis. |
int |
UnionPattern.count(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
|
int |
FromAny.count(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern)
|
static AbstractPattern |
NodeTypePattern.create(AbstractPattern parent,
int nodeType)
|
NodeIterator |
AbstractPattern.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern)
Creates a new node iterator. |
NodeIterator |
CurrentPattern.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
FilterPattern.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
FromAttributes.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
FromExpr.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
FromNamespace.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
NodeIterator |
UnionPattern.createNodeIterator(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
Creates a new node iterator. |
int |
AbstractPattern.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
Returns the position of the node in its context for a match pattern. |
int |
CurrentPattern.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
There is only a single node in the current |
int |
FromAncestors.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
The ancestor position is the number of matching nodes between it and an axis-context. |
int |
FromAttributes.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
The position of the child is the count of previous siblings matching the pattern. |
int |
FromChildren.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
The position of the child is the count of previous siblings matching the pattern. |
int |
FromContext.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
There is only a single node in the context axis. |
int |
FromDescendants.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
Counts matching nodes between the axis-context and the node |
int |
FromExpr.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
The position is the position in the expression node-set. |
int |
FromNext.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
Calculates position by counting previous nodes matching the pattern. |
int |
FromNextSibling.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
The count of nodes between the test-node and the axis. |
int |
FromPrevious.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
Calculates position by counting next nodes matching the pattern. |
int |
FromPreviousSibling.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
The count of nodes between the test-node and the axis. |
int |
FromSelf.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
Only one node in the self axis. |
int |
UnionPattern.position(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern)
|
int |
FromAny.position(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern)
|
Uses of AbstractPattern in com.caucho.xsl |
---|
Methods in com.caucho.xsl that return AbstractPattern | |
---|---|
AbstractPattern |
JavaGenerator.getNodeListContext()
|
AbstractPattern |
Template.getPattern()
|
Methods in com.caucho.xsl with parameters of type AbstractPattern | |
---|---|
int |
JavaGenerator.addMatch(AbstractPattern pattern)
Adds a match pattern, returning its index. |
int |
JavaGenerator.addSelect(AbstractPattern select)
Adds a select pattern returning its index. |
void |
StylesheetImpl.anyNumber(XslWriter out,
org.w3c.dom.Node node,
Env env,
AbstractPattern countPattern,
AbstractPattern fromPattern,
XslNumberFormat format)
|
java.lang.String |
JavaGenerator.createTemplatePattern(java.lang.String name,
AbstractPattern match,
java.lang.String mode,
double priority)
Generates the pattern for a matching pattern |
void |
StylesheetImpl.multiNumber(XslWriter out,
org.w3c.dom.Node node,
Env env,
AbstractPattern countPattern,
AbstractPattern fromPattern,
XslNumberFormat format)
|
protected void |
JavaGenerator.printApplyTemplates(AbstractPattern select,
java.lang.String mode,
Sort[] sort)
Prints code for xsl:apply-templates |
void |
JavaGenerator.setNodeListContext(AbstractPattern context)
|
void |
StylesheetImpl.singleNumber(XslWriter out,
org.w3c.dom.Node node,
Env env,
AbstractPattern countPattern,
AbstractPattern fromPattern,
XslNumberFormat format)
|
protected java.util.ArrayList |
StylesheetImpl.xslSort(org.w3c.dom.Node node,
Env env,
AbstractPattern pattern,
Sort[] sortList)
|
Constructors in com.caucho.xsl with parameters of type AbstractPattern | |
---|---|
Template(AbstractPattern pattern,
java.lang.String mode,
int minImportance,
int maxImportance,
double priority,
int count,
java.lang.String function,
int funId)
|
Uses of AbstractPattern in com.caucho.xsl.fun |
---|
Methods in com.caucho.xsl.fun that return AbstractPattern | |
---|---|
AbstractPattern |
KeyFun.Key.getMatch()
|
Methods in com.caucho.xsl.fun with parameters of type AbstractPattern | |
---|---|
void |
KeyFun.add(java.lang.String name,
AbstractPattern match,
Expr use)
Add a new key. |
java.lang.Object |
DocumentFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
ExtensionElementFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
ExtensionFunctionFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
FormatNumberFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
KeyFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
SystemPropertyFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
java.lang.Object |
UnparsedEntityFun.eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function. |
Uses of AbstractPattern in com.caucho.xsl.java |
---|
Methods in com.caucho.xsl.java that return AbstractPattern | |
---|---|
AbstractPattern |
XslNode.parseMatch(java.lang.String pattern)
|
protected AbstractPattern |
XslNode.parseSelect(java.lang.String pattern)
|
Methods in com.caucho.xsl.java with parameters of type AbstractPattern | |
---|---|
protected boolean |
XslNode.allowJavaSelect(AbstractPattern select)
Returns true if we can compile in the java select. |
protected java.lang.String |
XslNode.printSelectBegin(JavaWriter out,
AbstractPattern select,
boolean isForEach,
java.lang.String loopVar)
Prints iterator code to start a select. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |