HW4 2 - lmplementation Details For this program you will...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

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.

Ask a homework question - tutors are online