logo       

CVS Update: xmlpull-api-v1/doc: msg#00039

Subject: CVS Update: xmlpull-api-v1/doc
aslom       03/05/18 08:42:54

  Modified:    doc      addons.html
  Log:
  updated list of changes
  
  Revision  Changes    Path
  1.5       +36 -7     xmlpull-api-v1/doc/addons.html
  
  Index: addons.html
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/doc/addons.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -t -w -r1.4 -r1.5
  --- addons.html       3 May 2003 06:24:40 -0000       1.4
  +++ addons.html       18 May 2003 13:42:54 -0000      1.5
  @@ -33,15 +33,23 @@
   
   <p>It can be compiled by build target <code>util</code>
   
  -</p><p>Source code is available in <code>addons/java/util</code>.
  -
  -</p><p>
  +</p><p>Source code is available in <code>
  +<a 
href="../addons/java/util/src/org/xmlpull/v1/util/XmlPullUtil.java">addons/java/util</a></code>
 
  +(<a 
href="http://www.xmlpull.org/viewcvs/xmlpull-api-v1/addons/java/util/src/org/xmlpull/v1/util/";>view
 
  +CVS</a>).</p><p>
   TODO: add link to JavaDoc</p>
   
   
   
   
   
  +<p>
  +&nbsp;</p>
  +
  +
  +
  +
  +
   <a name="wrapper"><h2>Wrapper: Parser and Serializer Extended Interfaces</h2>
   </a>
   
  @@ -58,19 +66,40 @@
   <pre>import org.xmlpull.v1.wrapper.*;
   
   XmlPullWrapperFactory wrapper = XmlPullWrapperFactory.newInstance();
  +
   XmlPullParserWrapper pw = wrapper.newPullWrapper();
  +pw.setInput( ... );
   pw.require(XmlPullParser.START_TAG, ..., ...);
   pw.skipSubTree();
  +
  +XmlSerializerWrapper ser = wf.newSerializerWrapper();
  +ser.setOutput(out);
  +ser.setCurrentNamespaceForElements("http://www.w3.org/1999/xhtml";);
  +ser.startTag("p").attribute("class", "abstract").text("Hello");
  +ser.endTag("p");
  +ser.fragment("&lt;p class=\"hint\"&gt;write blog title below&lt;/p&gt;");
   </pre>
   
  -<p>It can be compiled by build target <code>wrapper</code>
  +<p>Another example is how to quickly copy XML input to output:</p>
   
  -</p><p>Source code is available in <code>addons/java/wrapper</code>.
  +<pre>while (pp.nextToken() != XmlPullParser.END_DOCUMENT) {
  +  ser.event(pp);
  +}
  +</pre>
   
  -</p><p>
  +<p>It can be compiled by build target <code>wrapper</code>
  +
  +</p><p>Source code is available in <code>
  +<a 
href="../addons/java/wrapper/src/org/xmlpull/v1/wrapper">addons/java/wrapper</a></code>&nbsp;
 
  +(<a 
href="http://www.xmlpull.org/viewcvs/xmlpull-api-v1/addons/java/wrapper/src/org/xmlpull/v1/wrapper/";>view
 
  +CVS</a>).</p><p>
   TODO: add link to JavaDoc</p>
   
   
  +<p>
  +&nbsp;</p>
  +
  +
   <a name="dom2_builder">
   <h2>DOM2 builder</h2>
   </a>
  @@ -233,7 +262,7 @@
   
   </p><hr>
   <font size="-1">
  -Last modified $Id: addons.html,v 1.4 2003/05/03 06:24:40 aslom Exp $
  +Last modified $Id: addons.html,v 1.5 2003/05/18 13:42:54 aslom Exp $
   </font>
   
   <!--extra space at bottom for hyperlinks #anchors to work -->
  
  
  


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/2U_rlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
xmlpull-dev-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe