Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Óз´ÐÍjava ¶ÔÏóתµ½xml xstream·½Ê½

package com.jcauto.action;
import java.util.ArrayList;
import java.util.List;
public class ContentRsp {

private String resultCode;

List<ContentInfo> contentList = new ArrayList<ContentInfo>();

public void addContent(ContentInfo contentInfo) {
contentList.add(contentInfo);
}
public void removeContent(ContentInfo contentInfo) {
contentList.remove(contentInfo);
}

public String getResultCode() {
return resultCode;
}
public void setResultCode(String resultCode) {
this.resultCode = resultCode;
}
}
package com.jcauto.action;
public class ContentInfo {
private String contentName;
private String contentId;
private String dispritiong;
private String catalogId;
private String title;
public String getContentName() {
return contentName;
}
public void setContentName(String contentName) {
this.contentName = contentName;
}
public String getContentId() {
return contentId;
}
public void setContentId(String contentId) {
this.contentId = contentId;
}
public String getDispritiong() {
return dispritiong;
}
public void setDispritiong(String dispritiong) {
this.dispritiong = dispritiong;
}
public String getCatalogId() {
return catalogId;
}
public void setCatalogId(String catalogId) {
this.catalogId = catalogId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}

}


Ïà¹ØÎĵµ£º

Java¸ß¼¶ÌØÐÔ 2

6.·ºÐÍ:
1¡¢·ºÐ͵ÄÀàÐͲÎÊýÖ»ÄÜÊÇÀàÀàÐÍ£¨°üÀ¨×Ô¶¨ÒåÀࣩ£¬²»ÄÜÊǼòµ¥ÀàÐÍ¡£
¡¡¡¡2¡¢Í¬Ò»ÖÖ·ºÐÍ¿ÉÒÔ¶ÔÓ¦¶à¸ö°æ±¾£¨ÒòΪ²ÎÊýÀàÐÍÊDz»È·¶¨µÄ£©£¬²»Í¬°æ±¾µÄ·ºÐÍÀàʵÀýÊDz»¼æÈݵġ£
¡¡¡¡3¡¢·ºÐ͵ÄÀàÐͲÎÊý¿ÉÒÔÓжà¸ö¡£
¡¡¡¡4¡¢·ºÐ͵IJÎÊýÀàÐÍ¿ÉÒÔʹÓÃextendsÓï¾ä£¬ÀýÈç<T extends superclass>¡£Ï°¹ßÉϳÉΪ“Óн ......

¹ØÓÚJavaÓë.NETµÄÌÖÂÛ

Ç°Ìì°øÍíÎÒ·¢±íÁË¡¶JavaµÄ¿çƽ̨¾ÍÊÇÒ»¾ä»ÑÑÔ¡£¡·£¬Ô­±¾¾ÍÊÇÖÜÄ©ÏÐÀ´ÎÞÊ£¬·¢±íһƪÂÔ´øÕùÒéÐԵIJ©ÎÄÈôó¼Ò¶¼À´³³³³¼Ü£¬·¢±í×Ô¼ºµÄ¿´·¨£¬¸ù±¾¾ÍûÏë×ÅË­°ÑË­´òµ¹£¬Ò»¸öÐÐÒµ»òÕßÊǼ¼ÊõÕóÓªÊÇÎÞ·¨ÓöÌÆÚ¿ÚË®ÕÌ´òµ½¶ÔÊֵģ¬¶øÇÒÎÞÂÛË­µ¹Á˶ÔË«·½ÕóÓªµÄ·ÛË¿ÃÇÒ²ÊÇÓк¦ÎÞÒæ¡£
ÎҸоõ¿ÉÒÔ¶¥µ½50Â¥£¬³öºõÒâÁϵÄÊÇ´ó¼Ò¾ÓÈ»·×·×д³ö ......

JavaÖÐÔõô¸Ä±ä×ÖÌåµÄÒ»¸ö¼òµ¥ÊµÀýºÍÔËÐÐЧ¹û

package java;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.*;
public class fontnameDome extends JFrame implements ActionListen ......

Java·´Éä»úÖÆÉîÈëÑо¿

Java ·´ÉäÊÇJavaÓïÑÔµÄÒ»¸öºÜÖØÒªµÄÌØÕ÷£¬ËüʹµÃJava¾ßÌåÁË“¶¯Ì¬ÐÔ”¡£
 
ÔÚJavaÔËÐÐʱ»·¾³ÖУ¬¶ÔÓÚÈÎÒâÒ»¸öÀ࣬ÄÜ·ñÖªµÀÕâ¸öÀàÓÐÄÄЩÊôÐԺͷ½·¨£¿¶ÔÓÚÈÎÒâÒ»¸ö¶ÔÏó£¬ÄÜ·ñµ÷ÓÃËüµÄÈÎÒâÒ»¸ö·½·¨£¿´ð°¸Êǿ϶¨µÄ¡£ÕâÖÖ¶¯Ì¬»ñÈ¡ÀàµÄÐÅÏ¢ÒÔ¼°¶¯Ì¬µ÷ÓöÔÏóµÄ·½·¨µÄ¹¦ÄÜÀ´×ÔÓÚJava ÓïÑԵķ´É䣨Reflection£©»úÖÆ ......

.NET XML ´®Ðл¯½²×ù

1,dz´®Ðл¯£ºÖ»´®Ðл¯ÀàµÄ¹«¹²×ֶκÍÊôÐÔ
    ¹«¹²ÊôÐÔ±ØÐëÊǿɶÁÇÒ¿ÉдµÄ
    Ê¹ÓÃÃüÃû¿Õ¼ä£ºusing System.Xml.Serialization;
    ÒÔBookÀàΪÀý£º
    ´®Ðл¯Ä£°å£º
        public ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ