RE: [Htmlparser-developer] Label Tag
Brought to you by:
derrickoswald
From: <dha...@or...> - 2003-04-28 15:55:46
|
> Can you tell me what you mean by "internal tag > representation". What you are > saying is that basically I need to write toHtml() in > the LabelTag class the way > it should be. Oh no - the idea of an internal representation is that you should be insulated from it. So, you should never have to write toHtml(). We ought to make that method final sometime. By conforming to the representation, you will continue to get the benefits of toHtml(). [Dhaval] However since LabelTag is a composite tag and can have children, does it not mean that it will have to override the toHtml() method. I believe it can use the super() method and will need to add to it. |