Skip to content

Instantly share code, notes, and snippets.

@J3K
Last active August 29, 2015 14:04
Show Gist options
  • Save J3K/bd4511e312d117ccd62b to your computer and use it in GitHub Desktop.
Save J3K/bd4511e312d117ccd62b to your computer and use it in GitHub Desktop.
package jk.test.Eurosport_News_Xml_Parse;
/**
* Created by Jamal Eddine Ka on 21/07/2014.
*/
public class XML_IDENTIFIER {
String Category; // Football
String SubCategory; // Transfert
String Title; // Le mercato EN DIRECT : Valbuena au Dynamo Moscou, son agent dément
String Link; // http://mercato.eurosport.fr/football/transferts/2014-2015/liveevent.shtml
String CommentsLink; // http://mercato.eurosport.fr/football/transferts/2014-2015/liveevent.shtml#disqus_thread
String Description; // L'agent de Mathieu Valbuena dément sa signature au Dynamo Moscou. Le Real Madrid a refusé une demande de prêt du PSG pour Angel Di Maria. Liverpool pense à Isco. Toutes les infos en direct.
String ImageURL; // http://i2.eurosport.com/2014/07/13/1278068-27554033-640-360.jpg
String PublicationDate; // Sun, 20 Jul 2014 20:44:33 GMT
void SetCategory(String Category){
this.Category = Category;
}
void SetSubCategory(String SubCategory){
this.SubCategory = SubCategory;
}
void SetTitle(String Title){
this.Title = Title;
}
void SetLink(String Link){
this.Link = Link;
}
void SetCommentsLink(String CommentsLink){
this.CommentsLink = CommentsLink;
}
void SetDescription(String Description){
this.Description = Description;
}
void SetImageURL(String ImageURL){
this.ImageURL = ImageURL;
}
void SetPublicationDate(String PublicationDate){
this.PublicationDate = PublicationDate;
}
String GetCategory(){
return this.Category;
}
String GetSubCategory(){
return this.SubCategory;
}
String GetTitle(){
return this.Title;
}
String GetLink(){
return this.Link;
}
String GetCommentsLink(){
return this.CommentsLink;
}
String GetDescription(){
return this.Description;
}
String GetImageURL(){
return ImageURL;
}
String GetPublicationDate(){
return this.PublicationDate;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment