PhpWiki - Factory Method
Keywords: Factory Method, PhpWiki

Factory Method

TagScanner possess an FM for the creation of a tag.

      protected Tag createTag(TagData tagData);

Scanner subclasses override this to specify the type of tag to be constructed.

CompositeTagScanner possesses an FM for the creation of a tag.

      protected Tag createTag(TagData tagData,CompositeTagData compositeTagData);

Composite scanners override this to specify the type of tag to be constructed.

--SomikRaha

| Page Execution took 0.251 seconds