If you implement individual message components, you would probably wind up
with some common code in each - this should be moved to a base
CiscoIPPhoneMessage component rather than use an interface.

 

Regards

Kevan

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
Kevan Stannard
Sent: Sunday, 11 May 2008 7:01 AM
To: [email protected]
Subject: [CFCDEV] Re: Appropriate Use of Parent Object

 

Hi Mike

 

Yes, you would just call getMessageXML() and the builder would return the
complete XML message. The XML tags would be output in the same sequence that
they were added.

 

If you introduce message specific components, they would be used to ensure
the set of added tags were valid for that message. Specifically, a message
specific component would also have a function getMessageXML() which would
first validate that a title and the correct set of tags were added, then it
would call the builder's getMessageXML() and return it's result.

 

Also, if the message specific components were created, they would not be
child components of the builder - they would be standalone components (if
you are on CF8 they could all implement an interface - cfinterface).

 

Regards

Kevan

 




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to