首页 > 其他 > 详细

Review1-11

时间:2016-08-08 00:47:30      阅读:128      评论:0      收藏:0      [点我收藏+]

泛型

泛型类

Public 类名 class<T>{}

泛型方法

Public static <T> 返回类型 方法名(<T> t){}

泛型类型必须使用引用类型

Junit单元测试

包名:junit

TestAddPerson()

HTML

table

<th>

Css引用

<link href=”” type=”text/css”rel=”stylesheet”/>

.是class;#是id

盒子模型

Padding、border、margin

JavaScript

<script src=””type=”text/javascript”></script>

Window.alert();

Window.document.write();

True = 1

False = 0

函数参数中不能有var关键字

setInterval()

setTimeout()

getElementById()

getElementByTagName()

getElementByName()

innerHTML=…

createElement(“”)

setAttribute

appendChild

正则表达式

“/^[a-z]$/”.test(nameTest)

Xml

DOC

SAXReader sr = new SAXRrader();

Document doc = Sr.Read(new File(“”));

Doc.getRootElement()//获取根节点

Element.element(“”);

 

Document doc = DocumentHelper.createDocument();

addElement

addAttribute

 

Atrribute.setValue(“”)

Element.addAttribute(“”,””)

Element.setText(“”);

 

Detach()

 

SAX

SAXParser.parse(file,DefaultHandler)

SAXParserFactory.newInstance().newSAXParser();

 

Servlet

HTTP

Init-param

       Param-name

       Param-value

Cookie\Session

Session-config

       Session-timeout

Review1-11

原文:http://www.cnblogs.com/core404/p/5747753.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!