⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 book.java

📁 基于java的xsl技术1
💻 JAVA
字号:
package chap1;

/**
 * A helper class used by LibraryDOMCreator and LibraryJDOMCreator,
 * presented as Examples 1-4 and 1-5 in Chapter 1.
 *
 * @author Eric M. Burke
 */
public class Book {
    private Publisher publisher;
    private String title;
    private int edition;
    private String author;
    private String isbn;
    private int publicationMonth;
    private int publicationYear;

    public Book(Publisher publisher, String title, int edition,
            String author, String isbn, int publicationMonth,
            int publicationYear) {
        this.publisher = publisher;
        this.title = title;
        this.edition = edition;
        this.author = author;
        this.isbn = isbn;
        this.publicationMonth = publicationMonth;
        this.publicationYear = publicationYear;
    }

    public Publisher getPublisher() {
        return this.publisher;
    }

    public String getTitle() {
        return this.title;
    }

    public int getEdition() {
        return this.edition;
    }

    public String getAuthor() {
        return this.author;
    }

    public String getISBN() {
        return this.isbn;
    }

    public int getPublicationYear() {
        return this.publicationYear;
    }

    public int getPublicationMonth() {
        return this.publicationMonth;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -