📄 stylesheet.java
字号:
package cn.pfc.ywt.writer;
/**
* <p>
* Name: StyleSheet.java
*
* <p>
* Title: rss.xml关联的XSL信息
*
* <p>
* Copyright: Copyright (c) 2007
*
* <p>
* Company: 北大方正软件技术学院实训基地
*
* <p>
* Modified: 2007年12月22日
*
* @author 杨文通
* @version 1.0
*/
public class StyleSheet extends RssElement {
// XSL类型
private String type = "text/xsl";
// xsl文件的路径
private String href;
public String getHref() {
return href;
}
public void setHref(String href) {
this.href = href;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public StyleSheet(String type, String href) {
super();
this.type = type;
this.href = href;
}
public StyleSheet(String href) {
super();
this.href = href;
}
@Override
public String toString() {
return "<?xml-stylesheet type=\"" + this.type + "\" href=\""
+ this.href + "\"?>";
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -