• čeština
    • English
    • русский
  • English 
    • čeština
    • English
    • русский
  • Login
View Item 
  •   Repository Home
  • Závěrečné práce
  • diplomové práce
  • Fakulta informačních technologií
  • 2008
  • View Item
  •   Repository Home
  • Závěrečné práce
  • diplomové práce
  • Fakulta informačních technologií
  • 2008
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

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

CSS Object Model in Java

Thumbnail
View/Open
final-thesis.pdf (872.0Kb)
review_25075.html (1.437Kb)
Author
Švercl, Jan
Advisor
Burget, Radek
Referee
Bartík, Vladimír
Grade
B
Altmetrics
Metadata
Show full item record
Abstract
Tato práce se věnuje problematice manipulace s předpisy kaskádových stylů. Prvním cílem je vytvoření knihovny pro manipulaci s předpisy CSS - je navrhnuto objektové rozhraní předpisu CSS, pomocí nástroje JavaCC vygenerován syntaktický analyzátor, doplněna implementace rozhraní a vše spojeno do funkčního celku. Knihovna umožňuje načtení předpisu CSS a převedení do objektové reprezentace, editaci či následně export zpět do textového souboru. Druhá část práce se zabývá implementací knihovny pro ohodnocení stromu dokumentu - každý (X)HTML dokument je tvořen stromem elementů, ke kterým jsou následně v předpisu CSS vyhledávána pravidla a ve správném pořadí přiřazovány jejich deklarace. V závěru práce je popsána DEMO aplikace, která demonstruje možnosti obou knihoven a umožňuje provádění experimentů či testování. Ukázána je také technika profiling, umožňující vyhledat ve zdrojovém kódu výkonnostně náročné pasáže, které mohou být dále optimalizovány.
 
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, předpis CSS, stylopis, kaskádový styl, gramatika, ohodnocení stromu dokumentu, JavaCC, Java, CSS, Cascading Style Sheet, parser, grammar, assigning property values, JavaCC
Language
čeština (Czech)
Study brunch
Informační systémy
Composition of Committee
Date of defence
2008-06-17
Process of defence
Result of the defence
práce byla úspěšně obhájena
Persistent identifier
http://hdl.handle.net/11012/52676
Source
ŠVERCL, J. Zpracování předpisů CSS v jazyce Java [online]. Brno: Vysoké učení technické v Brně. Fakulta informačních technologií. 2008.
Collections
  • 2008 [190]
Citace PRO

Portal of libraries | Central library on Facebook
DSpace software copyright © 2002-2015  DuraSpace
Contact Us | Send Feedback | Theme by @mire NV
 

 

Browse

All of repositoryCommunities & CollectionsBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

My Account

LoginRegister

Statistics

View Usage Statistics

Portal of libraries | Central library on Facebook
DSpace software copyright © 2002-2015  DuraSpace
Contact Us | Send Feedback | Theme by @mire NV