|
|||||||||
| Home >> All >> org >> apache >> xmlbeans >> samples >> [ xquery overview ] | PREV NEXT | ||||||||
C
- collectNames(XmlObject) - Method in class org.apache.xmlbeans.samples.xquery.SelectPath
- Uses the XPath text() function to get values from
elements in received XML, then collects those values as the value of a element created here. - collectZips(XmlObject) - Method in class org.apache.xmlbeans.samples.xquery.ExecQuery
- Uses XQuery to retrieve work
elements from the incoming XML, adding the elements as children to a element.
E
- ExecQuery - class org.apache.xmlbeans.samples.xquery.ExecQuery.
- This class demonstrates how to use the execQuery method to execute XQuery expressions.
- ExecQuery() - Constructor for class org.apache.xmlbeans.samples.xquery.ExecQuery
- executeQueries(String[]) - Method in class org.apache.xmlbeans.samples.xquery.XQueryXPath
- Returns
trueif all of the sample methods returned true (i.e., their query expressions returned results).
M
- m_namespaceDeclaration - Static variable in class org.apache.xmlbeans.samples.xquery.ExecQuery
- m_namespaceDeclaration - Static variable in class org.apache.xmlbeans.samples.xquery.SelectPath
- main(String[]) - Static method in class org.apache.xmlbeans.samples.xquery.XQueryXPath
- Receives an employees list XML instance, passing the instance to methods that execute queries against it.
- main(String[]) - Static method in class org.apache.xmlbeans.samples.xquery.XQueryXPathTest
- Tests the XQueryXPath sample.
O
- org.apache.xmlbeans.samples.xquery - package org.apache.xmlbeans.samples.xquery
P
- parseXml(String) - Method in class org.apache.xmlbeans.samples.xquery.XQueryXPath
- Creates a File from the XML path provided in main arguments, then parses the file's contents into a type generated from schema.
S
- SelectPath - class org.apache.xmlbeans.samples.xquery.SelectPath.
- This class demonstrates how to use the selectPath method to execute XPath expressions.
- SelectPath() - Constructor for class org.apache.xmlbeans.samples.xquery.SelectPath
U
- updateWorkPhone(XmlObject) - Method in class org.apache.xmlbeans.samples.xquery.ExecQuery
- Uses XQuery to retrieve work
elements from the incoming XML, then changes the number in the results. - updateWorkPhone(XmlObject) - Method in class org.apache.xmlbeans.samples.xquery.SelectPath
- Prints the XML bound to empDoc, uses XPath to retrieve elements containing work phone numbers, changes the numbers to another number, then prints the XML again to display the changes.
X
- XQueryXPath - class org.apache.xmlbeans.samples.xquery.XQueryXPath.
- A sample to XMLBeans API features for executing XPath and XQuery expressions.
- XQueryXPath() - Constructor for class org.apache.xmlbeans.samples.xquery.XQueryXPath
- XQueryXPathTest - class org.apache.xmlbeans.samples.xquery.XQueryXPathTest.
- A class with which to test the XQueryXPath sample.
- XQueryXPathTest() - Constructor for class org.apache.xmlbeans.samples.xquery.XQueryXPathTest
C E M O P S U X
|
|||||||||
| Home >> All >> org >> apache >> xmlbeans >> samples >> [ xquery overview ] | PREV NEXT | ||||||||