oracle.xml.parser.v2
Class XSLExprBase

oracle.xml.parser.v2.XSLExprBase

public class XSLExprBase
implements XSLNodeSetInt


Constructor Summary
XSLExprBase()
           
 
Method Summary
TypeMethod
static oracle.xml.parser.v2.XSLExprInt createBooleanExpr(java.lang.String s, NSResolver nsr)
          Returns a boolean expr object
static XSLNodeSetInt createNodeSetExpr(java.lang.String s, NSResolver nsr)
          Returns a nodeset Object
static oracle.xml.parser.v2.XSLPatternInt createPattern(java.lang.String s, NSResolver nsr)
          Returns a XSLPatternInt object
static oracle.xml.parser.v2.XSLPatternInt createPattern(java.lang.String s, NSResolver nsr, boolean varRestricted)
          Returns a XSLPatternInt object with option to allow variable See section 5.3 XSLT1.0, which restricts use of variable refs in match attribute of templates
static oracle.xml.parser.v2.XSLExprInt createStringExpr(java.lang.String s, NSResolver nsr)
          Returns a string expr object
 void getAnchorName(java.lang.String[] str)
           
 int getAnchorType()
           
 java.math.BigDecimal getBigDecimalValue(XSLTContext ctx)
           
 double getNumberValue(XSLTContext ctx)
           
 float getPriority()
           
 NodeList getSelectedNodes(XSLTContext ctx)
          Returns a list of nodes matching the expr, given a root node
 java.lang.String getStringValue(XSLTContext ctx)
           
 oracle.xml.parser.v2.XSLExprValue getValue(XSLTContext ctx)
           
 oracle.xml.parser.v2.XSLPatternInt matchPattern(XMLNode node, float prio, XSLTContext ctx)
           
 void setPriority(float prio)
           
 boolean testBooleanExpr(XSLTContext ctx)
           
 

Constructor Detail

XSLExprBase

public XSLExprBase()
Method Detail

createNodeSetExpr

public static XSLNodeSetInt createNodeSetExpr(java.lang.String s,
                                              NSResolver nsr)
                                       throws XSLException
Returns a nodeset Object
Parameters:
s - - input string
nsr - - NSResolver to resolve any prefixes used in s

createBooleanExpr

public static oracle.xml.parser.v2.XSLExprInt createBooleanExpr(java.lang.String s,
                                                                NSResolver nsr)
                                                         throws XSLException
Returns a boolean expr object
Parameters:
s - - input string
nsr - - NSResolver to resolve any prefixes used in s

createStringExpr

public static oracle.xml.parser.v2.XSLExprInt createStringExpr(java.lang.String s,
                                                               NSResolver nsr)
                                                        throws XSLException
Returns a string expr object
Parameters:
s - - input string
nsr - - NSResolver to resolve any prefixes used in s

createPattern

public static oracle.xml.parser.v2.XSLPatternInt createPattern(java.lang.String s,
                                                               NSResolver nsr)
                                                        throws XSLException
Returns a XSLPatternInt object
Parameters:
s - - input string
nsr - - NSResolver to resolve any prefixes used in s

createPattern

public static oracle.xml.parser.v2.XSLPatternInt createPattern(java.lang.String s,
                                                               NSResolver nsr,
                                                               boolean varRestricted)
                                                        throws XSLException
Returns a XSLPatternInt object with option to allow variable See section 5.3 XSLT1.0, which restricts use of variable refs in match attribute of templates
Parameters:
s - - input string
nsr - - NSResolver to resolve any prefixes used in s
varRestricted - - TRUE if vars not allowed

getSelectedNodes

public NodeList getSelectedNodes(XSLTContext ctx)
                          throws XSLException
Description copied from interface: XSLNodeSetInt
Returns a list of nodes matching the expr, given a root node
Specified by:
getSelectedNodes in interface XSLNodeSetInt

getValue

public oracle.xml.parser.v2.XSLExprValue getValue(XSLTContext ctx)
                                           throws XSLException

testBooleanExpr

public boolean testBooleanExpr(XSLTContext ctx)
                        throws XSLException

getStringValue

public java.lang.String getStringValue(XSLTContext ctx)
                                throws XSLException

getNumberValue

public double getNumberValue(XSLTContext ctx)
                      throws XSLException

getBigDecimalValue

public java.math.BigDecimal getBigDecimalValue(XSLTContext ctx)
                                        throws XSLException

matchPattern

public oracle.xml.parser.v2.XSLPatternInt matchPattern(XMLNode node,
                                                       float prio,
                                                       XSLTContext ctx)
                                                throws XSLException

getPriority

public float getPriority()
                  throws XSLException

getAnchorType

public int getAnchorType()
                  throws XSLException

getAnchorName

public void getAnchorName(java.lang.String[] str)
                   throws XSLException

setPriority

public void setPriority(float prio)
                 throws XSLException