Android Open Source - PocketSAX Example Node






From Project

Back to project page PocketSAX.

License

The source code is released under:

Apache License

If you think the Android project PocketSAX listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.alostpacket.pocketsax;
/*  w w  w.  j a  v  a 2s  .  co m*/



/**
 * Example RSS node base on Wikipedia entry for RSS.  All fields are public for simplicity.   
 * With annotations these could be made private and/or use setTitle()  etc.
 * 
 * <pre>{@code
<item>
  <title>Example entry</title>
  <description>Here is some text containing an interesting description.</description>
  <link>http://www.wikipedia.org/</link>
  <guid>unique string per item</guid>
  <pubDate>Mon, 06 Sep 2009 16:20:00 +0000 </pubDate>
 </item>

 } 
 </pre>
 * @author patrick cousins
 *
 */
public class ExampleNode
{
  public String title;
  
  public String description;
  
  public String link;
  
  public String guid;
  
  public String pubDate;
}




Java Source Code List

com.alostpacket.pocketsax.ExampleNode.java
com.alostpacket.pocketsax.LoadXMLThread.java
com.alostpacket.pocketsax.PropertyType.java
com.alostpacket.pocketsax.XMLtoObjectParser.java