| <?xml version="1.0" encoding="UTF-8"?> |
| <jel> |
| <admin creation="Thu Aug 27 01:16:13 GMT 2009" xsdversion="1.0.0" version="1.0.0" /> |
| <jelclass superclass="Object" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" superclassfulltype="java.lang.Object" fulltype="org.eclipse.wst.xml.xpath2.processor.DOMBuilder" type="DOMBuilder"> |
| <implements> |
| <interface fulltype="org.eclipse.wst.xml.xpath2.processor.DOMLoader" type="DOMLoader" /> |
| </implements> |
| <comment> |
| <description>The DOM builder loads an DOM from an InputStream. The loading is always namespace aware.</description> |
| </comment> |
| <fields> |
| <field visibility="package-private" name="_validating" fulltype="boolean" type="boolean" /> |
| <field visibility="package-private" name="_namespace_aware" fulltype="boolean" type="boolean" /> |
| </fields> |
| <methods> |
| <constructor visibility="public" name="DOMBuilder"> |
| <comment> |
| <description>Constructor for DOM builder.</description> |
| </comment> |
| </constructor> |
| <method visibility="public" name="load" returncomment="The loaded document." fulltype="org.w3c.dom.Document" type="Document"> |
| <comment> |
| <description>Loads The XML document.</description> |
| <attribute name="@param"> |
| <description>in |
| is the input stream.</description> |
| </attribute> |
| <attribute name="@throws"> |
| <description>DOMLoaderException |
| DOM loader exception.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>The loaded document.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="in" comment="is the input stream." fulltype="java.io.InputStream" type="InputStream" /> |
| </params> |
| <exceptions> |
| <exception comment="DOM loader exception." fulltype="org.eclipse.wst.xml.xpath2.processor.DOMLoaderException" type="DOMLoaderException" /> |
| </exceptions> |
| </method> |
| <method visibility="public" name="set_validating" fulltype="void" type="void"> |
| <comment> |
| <description>Set validating boolean.</description> |
| <attribute name="@param"> |
| <description>x |
| is the value to set the validating boolean to.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="x" comment="is the value to set the validating boolean to." fulltype="boolean" type="boolean" /> |
| </params> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass abstract="true" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" interface="true" fulltype="org.eclipse.wst.xml.xpath2.processor.DOMLoader" type="DOMLoader"> |
| <comment> |
| <description>The DOM loader loads the XML document.</description> |
| </comment> |
| <methods> |
| <method visibility="public" name="load" returncomment="The loaded document. The document is always loaded as namespace-aware" fulltype="org.w3c.dom.Document" type="Document"> |
| <comment> |
| <description>The DOM loader loads the XML docuemnt</description> |
| <attribute name="@param"> |
| <description>in |
| is the input stream.</description> |
| </attribute> |
| <attribute name="@throws"> |
| <description>DOMLoaderException |
| DOM loader exception.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>The loaded document. The document is always loaded as namespace-aware</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="in" comment="is the input stream." fulltype="java.io.InputStream" type="InputStream" /> |
| </params> |
| <exceptions> |
| <exception comment="DOM loader exception." fulltype="org.eclipse.wst.xml.xpath2.processor.DOMLoaderException" type="DOMLoaderException" /> |
| </exceptions> |
| </method> |
| <method visibility="public" name="set_validating" fulltype="void" type="void"> |
| <comment> |
| <description>Set validating boolean.</description> |
| <attribute name="@param"> |
| <description>val |
| is the validating boolean.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="val" comment="is the validating boolean." fulltype="boolean" type="boolean" /> |
| </params> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass superclass="XPathException" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" serializable="true" superclassfulltype="org.eclipse.wst.xml.xpath2.processor.XPathException" fulltype="org.eclipse.wst.xml.xpath2.processor.DOMLoaderException" type="DOMLoaderException"> |
| <comment> |
| <description>Exception caused by DOM loader.</description> |
| </comment> |
| <methods> |
| <constructor visibility="public" name="DOMLoaderException"> |
| <comment> |
| <description>Constructor for DOM loader exception.</description> |
| <attribute name="@param"> |
| <description>reason |
| is the reason for the exception.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="reason" comment="is the reason for the exception." fulltype="java.lang.String" type="String" /> |
| </params> |
| </constructor> |
| </methods> |
| </jelclass> |
| <jelclass superclass="DefaultStaticContext" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" superclassfulltype="DefaultStaticContext" fulltype="org.eclipse.wst.xml.xpath2.processor.DefaultDynamicContext" type="DefaultDynamicContext"> |
| <implements> |
| <interface fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicContext" type="DynamicContext" /> |
| </implements> |
| <comment> |
| <description>The default implementation of a Dynamic Context. |
| |
| Initializes and provides functionality of a dynamic context according to the |
| XPath 2.0 specification.</description> |
| </comment> |
| <methods> |
| <constructor visibility="public" name="DefaultDynamicContext"> |
| <comment> |
| <description>Constructor.</description> |
| <attribute name="@param"> |
| <description>schema |
| Schema information of document. May be null</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>doc |
| Document [root] node of XML source.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="schema" comment="Schema information of document. May be null" fulltype="XSModel" type="XSModel" /> |
| <param name="doc" comment="Document [root] node of XML source." fulltype="org.w3c.dom.Document" type="Document" /> |
| </params> |
| </constructor> |
| <method visibility="public" name="tz" returncomment="an xs:integer _tz" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.XSDuration" type="XSDuration"> |
| <comment> |
| <description>Reads the day from a TimeDuration type</description> |
| <attribute name="@return"> |
| <description>an xs:integer _tz</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="current_date_time" fulltype="java.util.GregorianCalendar" type="GregorianCalendar"> |
| <comment> |
| <description>Gets the Current stable date time from the dynamic context.</description> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| <attribute name="@see"> |
| <description>org.eclipse.wst.xml.xpath2.processor.DynamicContext#get_current_time()</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="set_focus" fulltype="void" type="void"> |
| <comment> |
| <description>Changes the current focus.</description> |
| <attribute name="@param"> |
| <description>f |
| focus to set</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="f" comment="focus to set" fulltype="Focus" type="Focus" /> |
| </params> |
| </method> |
| <method visibility="public" name="focus" returncomment="_focus" fulltype="Focus" type="Focus"> |
| <comment> |
| <description>Return the focus</description> |
| <attribute name="@return"> |
| <description>_focus</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="context_item" returncomment="an AnyType result from _focus.context_item()" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType"> |
| <comment> |
| <description>Retrieve context item that is in focus</description> |
| <attribute name="@return"> |
| <description>an AnyType result from _focus.context_item()</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="context_position" returncomment="an integer result from _focus.position()" fulltype="int" type="int"> |
| <comment> |
| <description>Retrieve the position of the focus</description> |
| <attribute name="@return"> |
| <description>an integer result from _focus.position()</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="last" returncomment="an integer result from _focus.last()" fulltype="int" type="int"> |
| <comment> |
| <description>Retrieve the position of the last focus</description> |
| <attribute name="@return"> |
| <description>an integer result from _focus.last()</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="get_variable" returncomment="an AnyType result from get_var(name) or return NULL" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType"> |
| <comment> |
| <description>Retrieve the variable name</description> |
| <attribute name="@return"> |
| <description>an AnyType result from get_var(name) or return NULL</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="evaluate_function" returncomment="a ResultSequence from funct.evaluate(args)" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <attribute name="@return"> |
| <description>a ResultSequence from funct.evaluate(args)</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| <param name="args" fulltype="java.util.Collection" type="Collection" /> |
| </params> |
| <exceptions> |
| <exception fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError" /> |
| </exceptions> |
| </method> |
| <method visibility="public" name="add_function_library" fulltype="void" type="void"> |
| <comment> |
| <description>Adds function definitions.</description> |
| <attribute name="@param"> |
| <description>fl |
| Function library to add.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="fl" comment="Function library to add." fulltype="FunctionLibrary" type="FunctionLibrary" /> |
| </params> |
| </method> |
| <method visibility="public" name="get_doc" returncomment="a ResultSequence from ResultSequenceFactory.create_new()" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <description>get document</description> |
| <attribute name="@return"> |
| <description>a ResultSequence from ResultSequenceFactory.create_new()</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="resolved" fulltype="java.net.URI" type="URI" /> |
| </params> |
| </method> |
| <method visibility="public" name="resolve_uri" fulltype="java.net.URI" type="URI"> |
| <comment> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="uri" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method visibility="public" name="set_variable" fulltype="void" type="void"> |
| <comment> |
| <description>Sets the value of a variable.</description> |
| <attribute name="@param"> |
| <description>var |
| Variable name.</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>val |
| Variable value.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="var" comment="Variable name." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| <param name="val" comment="Variable value." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType" /> |
| </params> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass superclass="Object" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" superclassfulltype="java.lang.Object" fulltype="org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator" type="DefaultEvaluator"> |
| <implements> |
| <interface fulltype="org.eclipse.wst.xml.xpath2.processor.Evaluator" type="Evaluator" /> |
| </implements> |
| <comment> |
| <description>Default evaluator interface</description> |
| </comment> |
| <methods> |
| <constructor visibility="public" name="DefaultEvaluator"> |
| <comment> |
| <description>set parameters</description> |
| <attribute name="@param"> |
| <description>dc |
| is the dynamic context.</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>doc |
| is the document.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="dc" comment="is the dynamic context." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicContext" type="DynamicContext" /> |
| <param name="doc" comment="is the document." fulltype="org.w3c.dom.Document" type="Document" /> |
| </params> |
| </constructor> |
| <method visibility="public" name="evaluate" returncomment="result sequence." fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <description>evaluate the xpath node</description> |
| <attribute name="@param"> |
| <description>node |
| is the xpath node.</description> |
| </attribute> |
| <attribute name="@throws"> |
| <description>dynamic |
| error.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>result sequence.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="node" comment="is the xpath node." fulltype="XPathNode" type="XPathNode" /> |
| </params> |
| <exceptions> |
| <exception fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError" /> |
| </exceptions> |
| </method> |
| <method visibility="public" name="visit" returncomment="result sequence." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>iterate through xpath expression</description> |
| <attribute name="@param"> |
| <description>xp |
| is the xpath.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>result sequence.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="xp" comment="is the xpath." fulltype="org.eclipse.wst.xml.xpath2.processor.ast.XPath" type="XPath" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit for expression</description> |
| <attribute name="@param"> |
| <description>fex |
| is the for expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="fex" comment="is the for expression." fulltype="ForExpr" type="ForExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function or null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit quantified expression</description> |
| <attribute name="@param"> |
| <description>qex |
| is the quantified expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function or null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="qex" comment="is the quantified expression." fulltype="QuantifiedExpr" type="QuantifiedExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a ifex.then_clause().accept(this)." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit if expression</description> |
| <attribute name="@param"> |
| <description>ifex |
| is the if expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a ifex.then_clause().accept(this).</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="ifex" comment="is the if expression." fulltype="IfExpr" type="IfExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit or expression</description> |
| <attribute name="@param"> |
| <description>orex |
| is the or expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="orex" comment="is the or expression." fulltype="OrExpr" type="OrExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit and expression</description> |
| <attribute name="@param"> |
| <description>andex |
| is the and expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="andex" comment="is the and expression." fulltype="AndExpr" type="AndExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function or null" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit compare expression</description> |
| <attribute name="@param"> |
| <description>cmpex |
| is the compare expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function or null</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="cmpex" comment="is the compare expression." fulltype="CmpExpr" type="CmpExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit range expression</description> |
| <attribute name="@param"> |
| <description>rex |
| is the range expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="rex" comment="is the range expression." fulltype="RangeExpr" type="RangeExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit and expression</description> |
| <attribute name="@param"> |
| <description>addex |
| is the and expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="addex" comment="is the and expression." fulltype="AddExpr" type="AddExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit sub expression</description> |
| <attribute name="@param"> |
| <description>subex |
| is the sub expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="subex" comment="is the sub expression." fulltype="SubExpr" type="SubExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit multiply expression</description> |
| <attribute name="@param"> |
| <description>mulex |
| is the mul expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="mulex" comment="is the mul expression." fulltype="MulExpr" type="MulExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit division expression</description> |
| <attribute name="@param"> |
| <description>mulex |
| is the division expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="mulex" comment="is the division expression." fulltype="DivExpr" type="DivExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit integer division expression</description> |
| <attribute name="@param"> |
| <description>mulex |
| is the integer division expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="mulex" comment="is the integer division expression." fulltype="IDivExpr" type="IDivExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit modular expression</description> |
| <attribute name="@param"> |
| <description>mulex |
| is the modular expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="mulex" comment="is the modular expression." fulltype="ModExpr" type="ModExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit union expression</description> |
| <attribute name="@param"> |
| <description>unex |
| is the union expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="unex" comment="is the union expression." fulltype="UnionExpr" type="UnionExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit pipe expression</description> |
| <attribute name="@param"> |
| <description>pipex |
| is the pipe expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="pipex" comment="is the pipe expression." fulltype="PipeExpr" type="PipeExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit intersect expression</description> |
| <attribute name="@param"> |
| <description>iexpr |
| is the intersect expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="iexpr" comment="is the intersect expression." fulltype="IntersectExpr" type="IntersectExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit except expression</description> |
| <attribute name="@param"> |
| <description>eexpr |
| is the except expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="eexpr" comment="is the except expression." fulltype="ExceptExpr" type="ExceptExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit instance of expression</description> |
| <attribute name="@param"> |
| <description>ioexp |
| is the instance of expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="ioexp" comment="is the instance of expression." fulltype="InstOfExpr" type="InstOfExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit treat-as expression</description> |
| <attribute name="@param"> |
| <description>taexp |
| is the treat-as expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="taexp" comment="is the treat-as expression." fulltype="TreatAsExpr" type="TreatAsExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit castable expression</description> |
| <attribute name="@param"> |
| <description>cexp |
| is the castable expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="cexp" comment="is the castable expression." fulltype="CastableExpr" type="CastableExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit cast expression</description> |
| <attribute name="@param"> |
| <description>cexp |
| is the cast expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="cexp" comment="is the cast expression." fulltype="CastExpr" type="CastExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit minus expression</description> |
| <attribute name="@param"> |
| <description>e |
| is the minus expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the minus expression." fulltype="MinusExpr" type="MinusExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit plus expression</description> |
| <attribute name="@param"> |
| <description>e |
| is the plus expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the plus expression." fulltype="PlusExpr" type="PlusExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit XPath expression</description> |
| <attribute name="@param"> |
| <description>e |
| is the XPath expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the XPath expression." fulltype="XPathExpr" type="XPathExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit a forward step expression</description> |
| <attribute name="@param"> |
| <description>e |
| is the forward step.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the forward step." fulltype="ForwardStep" type="ForwardStep" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit a reverse step expression</description> |
| <attribute name="@param"> |
| <description>e |
| is the reverse step.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the reverse step." fulltype="ReverseStep" type="ReverseStep" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit a name test expression</description> |
| <attribute name="@param"> |
| <description>e |
| is thename test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is thename test." fulltype="NameTest" type="NameTest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit variable reference</description> |
| <attribute name="@param"> |
| <description>e |
| is the variable reference.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the variable reference." fulltype="VarRef" type="VarRef" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit string literal.</description> |
| <attribute name="@param"> |
| <description>e |
| is the string literal.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the string literal." fulltype="StringLiteral" type="StringLiteral" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit integer literal.</description> |
| <attribute name="@param"> |
| <description>e |
| is the integer literal.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the integer literal." fulltype="IntegerLiteral" type="IntegerLiteral" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit double literal.</description> |
| <attribute name="@param"> |
| <description>e |
| is the double literal.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the double literal." fulltype="DoubleLiteral" type="DoubleLiteral" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit decimal literal.</description> |
| <attribute name="@param"> |
| <description>e |
| is the decimal literal.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the decimal literal." fulltype="DecimalLiteral" type="DecimalLiteral" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit parent expression.</description> |
| <attribute name="@param"> |
| <description>e |
| is the parent expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the parent expression." fulltype="ParExpr" type="ParExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit context item expression.</description> |
| <attribute name="@param"> |
| <description>e |
| is the context item expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the context item expression." fulltype="CntxItemExpr" type="CntxItemExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function or null" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit function call.</description> |
| <attribute name="@param"> |
| <description>e |
| is the function call.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function or null</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the function call." fulltype="FunctionCall" type="FunctionCall" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit single type.</description> |
| <attribute name="@param"> |
| <description>e |
| is the single type.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the single type." fulltype="SingleType" type="SingleType" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit sequence type.</description> |
| <attribute name="@param"> |
| <description>e |
| is the sequence type.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the sequence type." fulltype="SequenceType" type="SequenceType" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit item type.</description> |
| <attribute name="@param"> |
| <description>e |
| is the item type.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the item type." fulltype="ItemType" type="ItemType" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit any kind test.</description> |
| <attribute name="@param"> |
| <description>e |
| is the any kind test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the any kind test." fulltype="AnyKindTest" type="AnyKindTest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit document test.</description> |
| <attribute name="@param"> |
| <description>e |
| is the document test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the document test." fulltype="DocumentTest" type="DocumentTest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit text test.</description> |
| <attribute name="@param"> |
| <description>e |
| is the text test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the text test." fulltype="TextTest" type="TextTest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a new function" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit comment test.</description> |
| <attribute name="@param"> |
| <description>e |
| is the text test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a new function</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the text test." fulltype="CommentTest" type="CommentTest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a argument" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit PI test.</description> |
| <attribute name="@param"> |
| <description>e |
| is the PI test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a argument</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the PI test." fulltype="PITest" type="PITest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit attribute test.</description> |
| <attribute name="@param"> |
| <description>e |
| is the attribute test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the attribute test." fulltype="AttributeTest" type="AttributeTest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit schema attribute test.</description> |
| <attribute name="@param"> |
| <description>e |
| is the schema attribute test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the schema attribute test." fulltype="SchemaAttrTest" type="SchemaAttrTest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit element test.</description> |
| <attribute name="@param"> |
| <description>e |
| is the element test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the element test." fulltype="ElementTest" type="ElementTest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit schema element test.</description> |
| <attribute name="@param"> |
| <description>e |
| is the schema element test.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the schema element test." fulltype="SchemaElemTest" type="SchemaElemTest" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit axis step.</description> |
| <attribute name="@param"> |
| <description>e |
| is the axis step.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the axis step." fulltype="AxisStep" type="AxisStep" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="a result sequence" fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>visit filter expression</description> |
| <attribute name="@param"> |
| <description>e |
| is the filter expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>a result sequence</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="e" comment="is the filter expression." fulltype="FilterExpr" type="FilterExpr" /> |
| </params> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass abstract="true" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" interface="true" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicContext" type="DynamicContext"> |
| <implements> |
| <interface fulltype="org.eclipse.wst.xml.xpath2.processor.StaticContext" type="StaticContext" /> |
| </implements> |
| <comment> |
| <description>Interface for dynamic context.</description> |
| </comment> |
| <methods> |
| <method visibility="public" name="context_item" returncomment="the context item." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType"> |
| <comment> |
| <description>Get context item.</description> |
| <attribute name="@return"> |
| <description>the context item.</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="context_position" returncomment="position of context node." fulltype="int" type="int"> |
| <comment> |
| <description>Get context node position.</description> |
| <attribute name="@return"> |
| <description>position of context node.</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="last" returncomment="last item position." fulltype="int" type="int"> |
| <comment> |
| <description>Get position of last item.</description> |
| <attribute name="@return"> |
| <description>last item position.</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="get_variable" returncomment="variable." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType"> |
| <comment> |
| <description>Get variable.</description> |
| <attribute name="@param"> |
| <description>name |
| is the name of the variable.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>variable.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the name of the variable." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="set_variable" fulltype="void" type="void"> |
| <comment> |
| <description>Set variable.</description> |
| <attribute name="@param"> |
| <description>var |
| is name of the variable.</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>val |
| is the value to be set for the variable.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="var" comment="is name of the variable." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| <param name="val" comment="is the value to be set for the variable." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType" /> |
| </params> |
| </method> |
| <method visibility="public" name="evaluate_function" returncomment="result of the function evaluation." fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <description>Evaluate the function of the arguments.</description> |
| <attribute name="@param"> |
| <description>name |
| is the name.</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>args |
| are the arguments.</description> |
| </attribute> |
| <attribute name="@throws"> |
| <description>DynamicError |
| dynamic error.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>result of the function evaluation.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the name." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| <param name="args" comment="are the arguments." fulltype="java.util.Collection" type="Collection" /> |
| </params> |
| <exceptions> |
| <exception comment="dynamic error." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError" /> |
| </exceptions> |
| </method> |
| <method visibility="public" name="tz" returncomment="current date time and implicit timezone." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.XSDuration" type="XSDuration"> |
| <comment> |
| <description>Reads the day from a TimeDuration type</description> |
| <attribute name="@return"> |
| <description>current date time and implicit timezone.</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="get_doc" returncomment="document." fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <description>Get document.</description> |
| <attribute name="@param"> |
| <description>uri |
| is the URI of the document.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>document.</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="uri" comment="is the URI of the document." fulltype="java.net.URI" type="URI" /> |
| </params> |
| </method> |
| <method visibility="public" name="resolve_uri" returncomment="the absolutized, resolved URI." fulltype="java.net.URI" type="URI"> |
| <comment> |
| <description>Resolve an URI</description> |
| <attribute name="@param"> |
| <description>uri |
| is the possibly relative URI to resolve</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the absolutized, resolved URI.</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="uri" comment="is the possibly relative URI to resolve" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method visibility="public" name="current_date_time" returncomment="The current date and time, which will always be same for the dynamic context." fulltype="java.util.GregorianCalendar" type="GregorianCalendar"> |
| <comment> |
| <description>Returns the current date time using the GregorianCalendar.</description> |
| <attribute name="@return"> |
| <description>The current date and time, which will always be same for the dynamic context.</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="set_focus" fulltype="void" type="void"> |
| <comment> |
| <description>Set focus.</description> |
| <attribute name="@param"> |
| <description>focus |
| is focus to be set.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="focus" comment="is focus to be set." fulltype="Focus" type="Focus" /> |
| </params> |
| </method> |
| <method visibility="public" name="focus" returncomment="Focus" fulltype="Focus" type="Focus"> |
| <comment> |
| <description>Return focus.</description> |
| <attribute name="@return"> |
| <description>Focus</description> |
| </attribute> |
| </comment> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass superclass="XPathException" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" serializable="true" superclassfulltype="org.eclipse.wst.xml.xpath2.processor.XPathException" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Dynamic Error like division by 0 or type errors.</description> |
| </comment> |
| <methods> |
| <constructor visibility="public" name="DynamicError"> |
| <comment> |
| <description>Constructor for Dynamic Error.</description> |
| <attribute name="@param"> |
| <description>code |
| is the code that is set.</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>err |
| is the reason for the error.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="code" comment="is the code that is set." fulltype="java.lang.String" type="String" /> |
| <param name="err" comment="is the reason for the error." fulltype="java.lang.String" type="String" /> |
| </params> |
| </constructor> |
| <constructor visibility="public" name="DynamicError"> |
| <comment> |
| <description>Constructor for Dynamic Error.</description> |
| <attribute name="@param"> |
| <description>te |
| is the error type.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="te" comment="is the error type." fulltype="TypeError" type="TypeError" /> |
| </params> |
| </constructor> |
| <method visibility="public" name="code" returncomment="the code." fulltype="java.lang.String" type="String"> |
| <comment> |
| <description>Returns the string of the code.</description> |
| <attribute name="@return"> |
| <description>the code.</description> |
| </attribute> |
| </comment> |
| </method> |
| <method static="true" visibility="public" name="cant_cast" returncomment="the DynamicError." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the dynamic error.</description> |
| <attribute name="@param"> |
| <description>err |
| is the error</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the DynamicError.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="err" comment="is the error" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="throw_type_error" returncomment="the DynamicError." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the dynamic error.</description> |
| <attribute name="@throws"> |
| <description>DynamicError |
| a Dynamic Error</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the DynamicError.</description> |
| </attribute> |
| </comment> |
| <exceptions> |
| <exception comment="a Dynamic Error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError" /> |
| </exceptions> |
| </method> |
| <method static="true" visibility="public" name="user_error" returncomment="the DynamicError." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the dynamic error.</description> |
| <attribute name="@param"> |
| <description>desc |
| is the description of the error</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the DynamicError.</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="ns" fulltype="java.lang.String" type="String" /> |
| <param name="code" fulltype="java.lang.String" type="String" /> |
| <param name="desc" comment="is the description of the error" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="user_error" returncomment="the DynamicError." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the dynamic error.</description> |
| <attribute name="@param"> |
| <description>err |
| is the description of the error</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the DynamicError.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="err" comment="is the description of the error" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="regex_flags_error" returncomment="" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the Dynamic Error for invalid flags in regular expressions</description> |
| <attribute name="@param"> |
| <description>err</description> |
| </attribute> |
| <attribute name="@return" /> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="err" comment="" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="regex_error" returncomment="the DynamicError." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the dynamic error.</description> |
| <attribute name="@param"> |
| <description>err |
| is the error</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the DynamicError.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="err" comment="is the error" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="regex_match_zero_length" returncomment="the DynamicError." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the dynamic error.</description> |
| <attribute name="@param"> |
| <description>err |
| is the error</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the DynamicError.</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="err" comment="is the error" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="unsupported_codepoint" returncomment="the DynamicError." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the dynamic error for an unsupported Unicode codepoint</description> |
| <attribute name="@param"> |
| <description>err |
| is the error</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the DynamicError.</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="err" comment="is the error" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="unsupported_normalization_form" returncomment="the DynamicError." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the dynamic error for an unsupported normalization form</description> |
| <attribute name="@param"> |
| <description>err |
| is the error</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the DynamicError.</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="err" comment="is the error" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="lexical_error" returncomment="the make_error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the error message when reads an Invalid lexical value</description> |
| <attribute name="@param"> |
| <description>msg |
| is the message</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the make_error</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="msg" comment="is the message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="not_cmp" returncomment="the make_error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the error message when reads an Items not comparable</description> |
| <attribute name="@param"> |
| <description>msg |
| is the message</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the make_error</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="msg" comment="is the message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="more_one_item" returncomment="the make_error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the error message</description> |
| <attribute name="@param"> |
| <description>msg |
| is the message</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the make_error</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="msg" comment="is the message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="empty_seq" returncomment="the make_error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the error message</description> |
| <attribute name="@param"> |
| <description>msg |
| is the message</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the make_error</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="msg" comment="is the message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="not_one" returncomment="the make_error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the error message</description> |
| <attribute name="@param"> |
| <description>msg |
| is the message</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the make_error</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="msg" comment="is the message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="invalid_doc" returncomment="the make_error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the error message when reads Invalid argument to fn:doc</description> |
| <attribute name="@param"> |
| <description>msg |
| is the message</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the make_error</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="msg" comment="is the message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="doc_not_found" returncomment="the make_error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the error message when fn:doc cannot load its document</description> |
| <attribute name="@param"> |
| <description>msg |
| is the message</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the make_error</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="msg" comment="is the message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="div_zero" returncomment="the make_error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Returns the error message when reads a Division by zero</description> |
| <attribute name="@param"> |
| <description>msg |
| is the message</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the make_error</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="msg" comment="is the message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="numeric_overflow" returncomment="the make_error" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Numeric operation overflow/underflow</description> |
| <attribute name="@param"> |
| <description>msg |
| is the message</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the make_error</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="msg" comment="is the message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="contextUndefined" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| </method> |
| <method static="true" visibility="public" name="invalidForCastConstructor" returncomment="FORG0001" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>Data is invalid for casting or the data type constructor.</description> |
| <attribute name="@param"> |
| <description>msg</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>FORG0001</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| </method> |
| <method static="true" visibility="public" name="invalidPrefix" returncomment="" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>No namespace found for prefix.</description> |
| <attribute name="@return" /> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| </method> |
| <method static="true" visibility="public" name="noContextDoc" returncomment="" fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError"> |
| <comment> |
| <description>No context document</description> |
| <attribute name="@return" /> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass abstract="true" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" interface="true" fulltype="org.eclipse.wst.xml.xpath2.processor.Evaluator" type="Evaluator"> |
| <comment> |
| <description>interface to Evaluator</description> |
| </comment> |
| <methods> |
| <method visibility="public" name="evaluate" returncomment="Result of evaluation." fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <description>Evaluate the root node.</description> |
| <attribute name="@param"> |
| <description>root |
| is the XPath node.</description> |
| </attribute> |
| <attribute name="@throws"> |
| <description>DynamicError |
| dynamic error.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>Result of evaluation.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="root" comment="is the XPath node." fulltype="XPathNode" type="XPathNode" /> |
| </params> |
| <exceptions> |
| <exception comment="dynamic error." fulltype="org.eclipse.wst.xml.xpath2.processor.DynamicError" type="DynamicError" /> |
| </exceptions> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass superclass="Object" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" superclassfulltype="java.lang.Object" fulltype="org.eclipse.wst.xml.xpath2.processor.JFlexCupParser" type="JFlexCupParser"> |
| <implements> |
| <interface fulltype="org.eclipse.wst.xml.xpath2.processor.XPathParser" type="XPathParser" /> |
| </implements> |
| <comment> |
| <description>JFlexCupParser parses the xpath expression</description> |
| </comment> |
| <methods> |
| <constructor visibility="public" name="JFlexCupParser" /> |
| <method visibility="public" name="parse" returncomment="the xpath value." fulltype="org.eclipse.wst.xml.xpath2.processor.ast.XPath" type="XPath"> |
| <comment> |
| <description>Tries to parse the xpath expression</description> |
| <attribute name="@param"> |
| <description>xpath |
| is the xpath string.</description> |
| </attribute> |
| <attribute name="@throws"> |
| <description>XPathParserException.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>the xpath value.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="xpath" comment="is the xpath string." fulltype="java.lang.String" type="String" /> |
| </params> |
| <exceptions> |
| <exception fulltype="org.eclipse.wst.xml.xpath2.processor.XPathParserException" type="XPathParserException" /> |
| </exceptions> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass abstract="true" superclass="Object" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" superclassfulltype="java.lang.Object" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <description>Interface to the methods of range of result sequence</description> |
| </comment> |
| <methods> |
| <constructor visibility="public" name="ResultSequence" /> |
| <method abstract="true" visibility="public" name="add" fulltype="void" type="void"> |
| <comment> |
| <description>add item</description> |
| <attribute name="@param"> |
| <description>item |
| is an item of any type.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="item" comment="is an item of any type." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType" /> |
| </params> |
| </method> |
| <method abstract="true" visibility="public" name="concat" fulltype="void" type="void"> |
| <comment> |
| <description>concatinate from rs</description> |
| <attribute name="@param"> |
| <description>rs |
| is a Result Sequence.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="rs" comment="is a Result Sequence." fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence" /> |
| </params> |
| </method> |
| <method abstract="true" visibility="public" name="iterator" fulltype="java.util.ListIterator" type="ListIterator"> |
| <comment> |
| <description>List Iterator.</description> |
| </comment> |
| </method> |
| <method abstract="true" visibility="public" name="get" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType"> |
| <comment> |
| <description>get item in index i</description> |
| <attribute name="@param"> |
| <description>i |
| is the position.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="i" comment="is the position." fulltype="int" type="int" /> |
| </params> |
| </method> |
| <method abstract="true" visibility="public" name="size" returncomment="the size." fulltype="int" type="int"> |
| <comment> |
| <description>get the size</description> |
| <attribute name="@return"> |
| <description>the size.</description> |
| </attribute> |
| </comment> |
| </method> |
| <method abstract="true" visibility="public" name="clear" fulltype="void" type="void"> |
| <comment> |
| <description>clear</description> |
| </comment> |
| </method> |
| <method abstract="true" visibility="public" name="create_new" returncomment="a new result sequence." fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <description>create a new result sequence</description> |
| <attribute name="@return"> |
| <description>a new result sequence.</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="first" returncomment="the first item." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType"> |
| <comment> |
| <description>retrieve the first item</description> |
| <attribute name="@return"> |
| <description>the first item.</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="empty" returncomment="boolean." fulltype="boolean" type="boolean"> |
| <comment> |
| <description>check is the sequence is empty</description> |
| <attribute name="@return"> |
| <description>boolean.</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="string" returncomment="result string" fulltype="java.lang.String" type="String"> |
| <comment> |
| <description>retrieve items in sequence</description> |
| <attribute name="@return"> |
| <description>result string</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="release" fulltype="void" type="void"> |
| <comment> |
| <description>release the result sequence</description> |
| </comment> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass abstract="true" superclass="Object" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" superclassfulltype="java.lang.Object" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequenceFactory" type="ResultSequenceFactory"> |
| <comment> |
| <description>Result sequence factory</description> |
| </comment> |
| <methods> |
| <constructor visibility="public" name="ResultSequenceFactory" /> |
| <method abstract="true" visibility="protected" name="fact_create_new" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence" /> |
| <method abstract="true" visibility="protected" name="fact_release" fulltype="void" type="void"> |
| <params> |
| <param name="rs" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence" /> |
| </params> |
| </method> |
| <method visibility="protected" name="fact_create_new" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <params> |
| <param name="item" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType" /> |
| </params> |
| </method> |
| <method visibility="protected" name="fact_print_debug" fulltype="void" type="void" /> |
| <method static="true" visibility="public" name="create_new" returncomment="the creation of a new result sequence" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <attribute name="@return"> |
| <description>the creation of a new result sequence</description> |
| </attribute> |
| </comment> |
| </method> |
| <method static="true" visibility="public" name="create_new" returncomment="factory creating new item" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence"> |
| <comment> |
| <attribute name="@param"> |
| <description>item |
| is an item of any type.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>factory creating new item</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="item" comment="is an item of any type." fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType" type="AnyType" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="release" fulltype="void" type="void"> |
| <comment> |
| <attribute name="@param"> |
| <description>rs |
| is the result sequence factory release rs</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="rs" comment="is the result sequence factory release rs" fulltype="org.eclipse.wst.xml.xpath2.processor.ResultSequence" type="ResultSequence" /> |
| </params> |
| </method> |
| <method static="true" visibility="public" name="print_debug" fulltype="void" type="void"> |
| <comment> |
| <description>factory debug</description> |
| </comment> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass abstract="true" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" interface="true" fulltype="org.eclipse.wst.xml.xpath2.processor.StaticChecker" type="StaticChecker"> |
| <comment> |
| <description>Interface to static checker.</description> |
| </comment> |
| <methods> |
| <method visibility="public" name="check" fulltype="void" type="void"> |
| <comment> |
| <description>checks XPathNode</description> |
| <attribute name="@throws"> |
| <description>static error.</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>root |
| is an XPath node.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="root" comment="is an XPath node." fulltype="XPathNode" type="XPathNode" /> |
| </params> |
| <exceptions> |
| <exception fulltype="org.eclipse.wst.xml.xpath2.processor.StaticError" type="StaticError" /> |
| </exceptions> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass abstract="true" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" interface="true" fulltype="org.eclipse.wst.xml.xpath2.processor.StaticContext" type="StaticContext"> |
| <comment> |
| <description>interface to static context</description> |
| </comment> |
| <methods> |
| <method visibility="public" name="xpath1_compatible" returncomment="boolean" fulltype="boolean" type="boolean"> |
| <comment> |
| <description>is it xpath 1.0 compatible.</description> |
| <attribute name="@return"> |
| <description>boolean</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="prefix_exists" returncomment="boolean" fulltype="boolean" type="boolean"> |
| <comment> |
| <description>namespaces does the prefix exist</description> |
| <attribute name="@param"> |
| <description>prefix |
| is the prefix</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="prefix" comment="is the prefix" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method visibility="public" name="resolve_prefix" returncomment="string" fulltype="java.lang.String" type="String"> |
| <comment> |
| <attribute name="@param"> |
| <description>prefix |
| is the prefix</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>string</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="prefix" comment="is the prefix" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method visibility="public" name="default_namespace" returncomment="string" fulltype="java.lang.String" type="String"> |
| <comment> |
| <description>the default namespace</description> |
| <attribute name="@return"> |
| <description>string</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="default_function_namespace" returncomment="string" fulltype="java.lang.String" type="String"> |
| <comment> |
| <description>the default function namespace</description> |
| <attribute name="@return"> |
| <description>string</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="attribute_type_definition" returncomment="attributes's type definition" fulltype="XSTypeDefinition" type="XSTypeDefinition"> |
| <comment> |
| <attribute name="@param"> |
| <description>attr |
| is the qname variable</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>attributes's type definition</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="attr" comment="is the qname variable" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="element_type_definition" returncomment="element's type definition" fulltype="XSTypeDefinition" type="XSTypeDefinition"> |
| <comment> |
| <attribute name="@param"> |
| <description>elem |
| is the elem of the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>element's type definition</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="elem" comment="is the elem of the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="attribute_declared" returncomment="boolean" fulltype="boolean" type="boolean"> |
| <comment> |
| <description>is the attribute declared?</description> |
| <attribute name="@param"> |
| <description>attr |
| is the attribute of the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="attr" comment="is the attribute of the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="element_declared" returncomment="boolean" fulltype="boolean" type="boolean"> |
| <comment> |
| <description>is the element declared?</description> |
| <attribute name="@param"> |
| <description>elem |
| is the elem of the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="elem" comment="is the elem of the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="function_exists" returncomment="boolean" fulltype="boolean" type="boolean"> |
| <comment> |
| <description>is the element declared?</description> |
| <attribute name="@param"> |
| <description>name |
| is the qname name</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>arity |
| integer of qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the qname name" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| <param name="arity" comment="integer of qname" fulltype="int" type="int" /> |
| </params> |
| </method> |
| <method visibility="public" name="base_uri" returncomment="uri" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.XSAnyURI" type="XSAnyURI"> |
| <comment> |
| <description>base uri</description> |
| <attribute name="@return"> |
| <description>uri</description> |
| </attribute> |
| </comment> |
| </method> |
| <method visibility="public" name="new_scope" fulltype="void" type="void"> |
| <comment> |
| <description>new scope</description> |
| </comment> |
| </method> |
| <method visibility="public" name="destroy_scope" fulltype="void" type="void"> |
| <comment> |
| <description>destroy scope</description> |
| </comment> |
| </method> |
| <method visibility="public" name="add_variable" fulltype="void" type="void"> |
| <comment> |
| <description>add variable</description> |
| <attribute name="@param"> |
| <description>name |
| is the qname</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="del_variable" returncomment="boolean if deleted variable" fulltype="boolean" type="boolean"> |
| <comment> |
| <description>delete the variable</description> |
| <attribute name="@param"> |
| <description>name |
| is the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean if deleted variable</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="variable_exists" returncomment="boolean if variable exists" fulltype="boolean" type="boolean"> |
| <comment> |
| <attribute name="@param"> |
| <description>name |
| is the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean if variable exists</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="variable_in_scope" fulltype="boolean" type="boolean"> |
| <comment> |
| <attribute name="@param"> |
| <description>var |
| is the variable of qname</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="var" comment="is the variable of qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="type_defined" returncomment="boolean" fulltype="boolean" type="boolean"> |
| <comment> |
| <attribute name="@param"> |
| <description>name |
| is qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="derives_from" returncomment="boolean" fulltype="boolean" type="boolean"> |
| <comment> |
| <attribute name="@param"> |
| <description>at |
| the node type</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>et |
| is the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="at" comment="the node type" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType" type="NodeType" /> |
| <param name="et" comment="is the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="derives_from" returncomment="boolean" fulltype="boolean" type="boolean"> |
| <comment> |
| <attribute name="@param"> |
| <description>at |
| the node type</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>et |
| is the XSTypeDefinition of the node</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="at" comment="the node type" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType" type="NodeType" /> |
| <param name="et" comment="is the XSTypeDefinition of the node" fulltype="XSTypeDefinition" type="XSTypeDefinition" /> |
| </params> |
| </method> |
| <method visibility="public" name="add_namespace" fulltype="void" type="void"> |
| <comment> |
| <description>add namespace</description> |
| <attribute name="@param"> |
| <description>prefix |
| the prefix of the namespace</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>ns |
| is the XSTypeDefinition of the node</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="prefix" comment="the prefix of the namespace" fulltype="java.lang.String" type="String" /> |
| <param name="ns" comment="is the XSTypeDefinition of the node" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| <method visibility="public" name="expand_function_qname" returncomment="boolean if function can be expanded" fulltype="boolean" type="boolean"> |
| <comment> |
| <description>expand function</description> |
| <attribute name="@param"> |
| <description>name |
| is the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean if function can be expanded</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="expand_elem_type_qname" returncomment="boolean if function can be expanded" fulltype="boolean" type="boolean"> |
| <comment> |
| <description>expand element type qname</description> |
| <attribute name="@param"> |
| <description>name |
| is the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean if function can be expanded</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="expand_qname" returncomment="boolean if function can be expanded" fulltype="boolean" type="boolean"> |
| <comment> |
| <description>expand qname</description> |
| <attribute name="@param"> |
| <description>name |
| is the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>boolean if function can be expanded</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="add_function_library" fulltype="void" type="void"> |
| <comment> |
| <description>add function to library</description> |
| <attribute name="@param"> |
| <description>fl |
| is the function library</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="fl" comment="is the function library" fulltype="FunctionLibrary" type="FunctionLibrary" /> |
| </params> |
| </method> |
| <method visibility="public" name="make_atomic" returncomment="any atomic type" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.AnyAtomicType" type="AnyAtomicType"> |
| <comment> |
| <attribute name="@param"> |
| <description>name |
| is the qname</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>any atomic type</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the qname" fulltype="org.eclipse.wst.xml.xpath2.processor.internal.types.QName" type="QName" /> |
| </params> |
| </method> |
| <method visibility="public" name="set_base_uri" fulltype="void" type="void"> |
| <comment> |
| <description>Sets the base uri for the context.</description> |
| <attribute name="@param"> |
| <description>baseuri</description> |
| </attribute> |
| <attribute name="@since"> |
| <description>1.1</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="baseuri" comment="" fulltype="java.lang.String" type="String" /> |
| </params> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass superclass="XPathException" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" serializable="true" superclassfulltype="org.eclipse.wst.xml.xpath2.processor.XPathException" fulltype="org.eclipse.wst.xml.xpath2.processor.StaticError" type="StaticError"> |
| <comment> |
| <description>Base class for all static errors as defined by the XPath 2.0 specification</description> |
| </comment> |
| <methods> |
| <constructor visibility="public" name="StaticError"> |
| <comment> |
| <description>Constructor for a generic static error</description> |
| <attribute name="@param"> |
| <description>code |
| The error code as specified in XPath 2.0</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>err |
| Humar readable error message</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="code" comment="The error code as specified in XPath 2.0" fulltype="java.lang.String" type="String" /> |
| <param name="err" comment="Humar readable error message" fulltype="java.lang.String" type="String" /> |
| </params> |
| </constructor> |
| <method visibility="public" name="code" returncomment="error code which represents the error" fulltype="java.lang.String" type="String"> |
| <comment> |
| <attribute name="@return"> |
| <description>error code which represents the error</description> |
| </attribute> |
| </comment> |
| </method> |
| </methods> |
| </jelclass> |
| <jelclass superclass="Object" visibility="public" package="org.eclipse.wst.xml.xpath2.processor" superclassfulltype="java.lang.Object" fulltype="org.eclipse.wst.xml.xpath2.processor.StaticNameResolver" type="StaticNameResolver"> |
| <implements> |
| <interface fulltype="org.eclipse.wst.xml.xpath2.processor.StaticChecker" type="StaticChecker" /> |
| </implements> |
| <comment> |
| <description>This class resolves static names.</description> |
| </comment> |
| <methods> |
| <constructor visibility="public" name="StaticNameResolver"> |
| <comment> |
| <description>Constructor for static name resolver</description> |
| <attribute name="@param"> |
| <description>sc |
| is the static context.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="sc" comment="is the static context." fulltype="org.eclipse.wst.xml.xpath2.processor.StaticContext" type="StaticContext" /> |
| </params> |
| </constructor> |
| <method visibility="public" name="check" fulltype="void" type="void"> |
| <comment> |
| <description>Check the XPath node.</description> |
| <attribute name="@param"> |
| <description>node |
| is the XPath node to check.</description> |
| </attribute> |
| <attribute name="@throws"> |
| <description>StaticError |
| static error.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="node" comment="is the XPath node to check." fulltype="XPathNode" type="XPathNode" /> |
| </params> |
| <exceptions> |
| <exception comment="static error." fulltype="org.eclipse.wst.xml.xpath2.processor.StaticError" type="StaticError" /> |
| </exceptions> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate an XPath by visiting all the nodes.</description> |
| <attribute name="@param"> |
| <description>xp |
| is the XPath.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="xp" comment="is the XPath." fulltype="org.eclipse.wst.xml.xpath2.processor.ast.XPath" type="XPath" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate a for expression.</description> |
| <attribute name="@param"> |
| <description>fex |
| is the for expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="fex" comment="is the for expression." fulltype="ForExpr" type="ForExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate a quantified expression.</description> |
| <attribute name="@param"> |
| <description>qex |
| is the quantified expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="qex" comment="is the quantified expression." fulltype="QuantifiedExpr" type="QuantifiedExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate an if expression.</description> |
| <attribute name="@param"> |
| <description>ifex |
| is the if expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="ifex" comment="is the if expression." fulltype="IfExpr" type="IfExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="printBinExpr" fulltype="void" type="void"> |
| <comment> |
| <description>Validate a binary expression by checking its left and right children.</description> |
| <attribute name="@param"> |
| <description>name |
| is the name of the binary expression.</description> |
| </attribute> |
| <attribute name="@param"> |
| <description>e |
| is the expression itself.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="name" comment="is the name of the binary expression." fulltype="java.lang.String" type="String" /> |
| <param name="e" comment="is the expression itself." fulltype="BinExpr" type="BinExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate an OR expression.</description> |
| <attribute name="@param"> |
| <description>orex |
| is the expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="orex" comment="is the expression." fulltype="OrExpr" type="OrExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate an AND expression.</description> |
| <attribute name="@param"> |
| <description>andex |
| is the expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="andex" comment="is the expression." fulltype="AndExpr" type="AndExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate a comparison expression.</description> |
| <attribute name="@param"> |
| <description>cmpex |
| is the expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="cmpex" comment="is the expression." fulltype="CmpExpr" type="CmpExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate a range expression.</description> |
| <attribute name="@param"> |
| <description>rex |
| is the expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="rex" comment="is the expression." fulltype="RangeExpr" type="RangeExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate an additon expression.</description> |
| <attribute name="@param"> |
| <description>addex |
| is the expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| <params> |
| <param name="addex" comment="is the expression." fulltype="AddExpr" type="AddExpr" /> |
| </params> |
| </method> |
| <method visibility="public" name="visit" returncomment="null." fulltype="java.lang.Object" type="Object"> |
| <comment> |
| <description>Validate a subtraction expression.</description> |
| <attribute name="@param"> |
| <description>subex |
| is the expression.</description> |
| </attribute> |
| <attribute name="@return"> |
| <description>null.</description> |
| </attribute> |
| </comment> |
| |