commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship" <hls...@comcast.net>
Subject RE: [HiveMind] User defined Translator
Date Tue, 14 Oct 2003 17:49:45 GMT
Actually, the doc *does* mention this explicitly.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com

> -----Original Message-----
> From: Howard M. Lewis Ship [mailto:hlship@comcast.net] 
> Sent: Tuesday, October 14, 2003 9:57 AM
> To: 'Jakarta Commons Developers List'
> Subject: RE: [HiveMind] User defined Translator
> 
> 
> The documentation omits to say that you specify a class name 
> for a translator in addition to the predefine values such as 
> "int" or "service".
> 
> What is the need for your proposed translator?  When do you 
> need an qualified id but don't know whether it is a service 
> or a configuration?
> 
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components 
> http://jakarta.apache.org/tapestry
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
> 
> > -----Original Message-----
> > From: news [mailto:news@sea.gmane.org] On Behalf Of Eric Yung
> > Sent: Tuesday, October 14, 2003 4:57 AM
> > To: commons-dev@jakarta.apache.org
> > Subject: [HiveMind] User defined Translator
> > 
> > 
> > Hi,
> > 
> > How can I add a new Translator implementation using in the
> > <read-attribute> rule? I know the translators are 
> instantiated in the 
> > DescriptorParser, can I add a new one?
> > 
> > The new Translator in my mind works like the ServiceTranslator /
> > ConfigurationTranslator - it takes the ExtensionPoint ID (either 
> > ConfigurationPoint ID or ServiceExtensionPoint ID) and 
> > returns a fully 
> > qualified id. This translator could be the parent of the 
> > ServiceTranslator / ConfigurationTranslator. What do you 
> > think? Do you think this one should be included into the CVS? 
> > I can provide the 
> > code.
> > 
> > Anyway, I will implement this translator and modify
> > DescriptorParser to 
> > include it in the standard translator set.
> > 
> > 
> > Regards,
> > Eric
> > 
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message