Thesis Details

Zpracování předpisů CSS v jazyce Java

Master's Thesis Student: Švercl Jan Academic Year: 2007/2008 Supervisor: Burget Radek, doc. Ing., Ph.D.
English title
CSS Object Model in Java
Language
Czech
Abstract

This thesis concerns itself with the problems of manipulation with Cascading Style Sheets. The first aim is to create a library for manipulation with Cascading Style Sheets - an object interface of Cascading Style Sheet is proposed, a parser is generated by means of an appliance of JavaCC, the implementation of interface is completed and as a whole connected to a functional unit. The library enables reading Cascading Style Sheet and its transfer into an object representation, editing and subsequently exporting back to the text file.The second part of the thesis deals with the implementation of library for assign property values - every (X)HTML document is formed by the tree of elements to which the rules are consequently searched for in CSS and their declarations are asigned in the correct order.In conclusion of the thesis the DEMO application, which illustrates the possibilities of both libraries and facilitates performing of experiments or testing, is described. Hereafter the technique of profiling, which enables to find out the efficiently demanding passages, which can be optimised further, in the source code, is shown.

Keywords

Java, CSS, Cascading Style Sheet, parser, grammar, assigning property values, JavaCC

Department
Degree Programme
Information Technology, Field of Study Information Systems
Files
Status
defended, grade B
Date
17 June 2008
Reviewer
Committee
Švéda Miroslav, prof. Ing., CSc. (DIFS FIT BUT), předseda
Drábek Vladimír, doc. Ing., CSc. (DCSY FIT BUT), člen
Drahanský Martin, prof. Ing., Dipl.-Ing., Ph.D. (DITS FIT BUT), člen
Herout Adam, prof. Ing., Ph.D. (DCGM FIT BUT), člen
Janoušek Vladimír, doc. Ing., Ph.D. (DITS FIT BUT), člen
Šafařík Jiří, prof. Ing., CSc. (WBU in Pilsen), člen
Citation
ŠVERCL, Jan. Zpracování předpisů CSS v jazyce Java. Brno, 2008. Master's Thesis. Brno University of Technology, Faculty of Information Technology. 2008-06-17. Supervised by Burget Radek. Available from: https://www.fit.vut.cz/study/thesis/5452/
BibTeX
@mastersthesis{FITMT5452,
    author = "Jan \v{S}vercl",
    type = "Master's thesis",
    title = "Zpracov\'{a}n\'{i} p\v{r}edpis\r{u} CSS v jazyce Java",
    school = "Brno University of Technology, Faculty of Information Technology",
    year = 2008,
    location = "Brno, CZ",
    language = "czech",
    url = "https://www.fit.vut.cz/study/thesis/5452/"
}
Back to top