Query-Oriented Model for XML 0.1 Alpha1
Sponsored Links
Query-Oriented Model for XML 0.1 Alpha1 Ranking & Summary
File size:
0.010 MB
Platform:
Any Platform
License:
LGPL (GNU Lesser General Public License)
Price:
Downloads:
1320
Date added:
2006-03-14
Publisher:
Iwan Memruk
Query-Oriented Model for XML 0.1 Alpha1 description
Query-Oriented Model for XML is a lightweight XML processing framework for Java that promotes the use of XPath instead of Java code for consuming XML.
The resulting code from Query-Oriented Model for XML, is simple and expressive with no meaningless objects and no meaningless parameters - just pure business code.
Heres a sample of usage (from a testcase -- heres the used XML document):
public class BigTest extends TestCase {
public static final String[] CONTEXT = {"c urn:catalog", "n urn:name"};
@QUseContext("CONTEXT") // Use the namespace context specified by the CONTEXT field.
public void test() {
InputStream xml = QomTestResources.getTestXml("catalog.xml"); // Get the source.
QLocation root = new QBuilder().build(xml); // Build the root location.
// Test a deep query.
Assert.assertEquals("Harold", root.value("//c:maintainer/n:name[n:first_name = Elliotte]/n:last_name"));
QLocation[] composers = root.locateAll("c:composer"); // Test a multi-query.
Assert.assertEquals(4, composers.length);
String[] names = {"Julie", "Margaret", "Beth", "Linda"};
for (int i = 0; i < composers.length; ++i) {
Assert.assertEquals(names[i], composers[i].value("n:name/n:first_name")); // Test relative queries.
}
}
}
The resulting code from Query-Oriented Model for XML, is simple and expressive with no meaningless objects and no meaningless parameters - just pure business code.
Heres a sample of usage (from a testcase -- heres the used XML document):
public class BigTest extends TestCase {
public static final String[] CONTEXT = {"c urn:catalog", "n urn:name"};
@QUseContext("CONTEXT") // Use the namespace context specified by the CONTEXT field.
public void test() {
InputStream xml = QomTestResources.getTestXml("catalog.xml"); // Get the source.
QLocation root = new QBuilder().build(xml); // Build the root location.
// Test a deep query.
Assert.assertEquals("Harold", root.value("//c:maintainer/n:name[n:first_name = Elliotte]/n:last_name"));
QLocation[] composers = root.locateAll("c:composer"); // Test a multi-query.
Assert.assertEquals(4, composers.length);
String[] names = {"Julie", "Margaret", "Beth", "Linda"};
for (int i = 0; i < composers.length; ++i) {
Assert.assertEquals(names[i], composers[i].value("n:name/n:first_name")); // Test relative queries.
}
}
}
Query-Oriented Model for XML 0.1 Alpha1 Screenshot
Advertisements
Query-Oriented Model for XML 0.1 Alpha1 Keywords
XML
Oriented Model
Oriented Model XML 0.1 Alpha1
Assert.assertEquals
CONTEXT
for xml
XML Processing
XML 0.1
processing framework
Lightweight XML
model
0.1
test
processing
lightweight
alpha1
Bookmark Query-Oriented Model for XML 0.1 Alpha1
Query-Oriented Model for XML 0.1 Alpha1 Copyright
WareSeeker periodically updates pricing and software information of Query-Oriented Model for XML 0.1 Alpha1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Query-Oriented Model for XML 0.1 Alpha1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
object oriented model
object oriented modeling
advantages of object oriented model
object oriented modeling and design
example of object oriented model
definition of object oriented model
object oriented modeling technique
define object oriented model
advantage of object oriented model
models sporting goods
high level object oriented model
family oriented nursing model
americau0027s next top model
model ships
modells
model railroader
americau0027s top model
object oriented data model
Related Software
Freedaisy is a free implementation of Daisy book standard for allowing MP3 files to be indexed using (X)HTML and SMIL. Free Download
Quill is a visual Web interface designer based on QuiX, Porcupines integrated XML User interface Language. Free Download
Loquacity is a simplified blogging application, suited for non-technical and technical users alike. Free Download
ivata masks is a library of routines developed in Java/JSP/Struts that automatically. Free Download
Template-driven authoring for your own XML document types. Free Download
4Suite allows users to take advantage of standard XML technologies rapidly and to develop and integrate Web-based applications. Free Download
XML::Grove is a Perl module with Perl-style XML objects. Free Download
PerlPoint::Generator::XML::XHTML::Paged is a Perl module that generates paged XHTML via XML. Free Download
Latest Software
Popular Software
Favourite Software