Unformatted text preview: lmplementation Details: For this program you will write a class named utmlvalidator using the sr,ack and pueue interfaces and the Arraystack and LinkedQueue implementations used in lecture. You will also need the files named HrmlTag . j ava, S i m p l e T e s t . j a v a , a n d v a l i d a t , o r c l i e n t . . j a v a f r o m t h e w e b s i t e ; p l a c e t h e m i n t h e s a m e f o l d e r a s y o u r p r o g r a m . Your class must have the following public constructors and methods. It must be possible to call these methods any number of times on your object, in any order, and get the same expected results each time. Method Description HtmlValidator(Queue<HtmlTag> tags) In this constructor you should initialize your validator for examining the given queue of HTML tags representing the entire contents of an HTML file. If the queue is empty, it should throw an IlleealArsumentExceotion....
View Full Document
This note was uploaded on 11/03/2009 for the course CSE 143 taught by Professor Sr during the Spring '08 term at University of Washington.
- Spring '08