[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #18797 [Metrics/metrics-lib]: create a DescriptorGenerator?
#18797: create a DescriptorGenerator?
---------------------------------+-----------------------------------
Reporter: iwakeh | Owner: karsten
Type: enhancement | Status: new
Priority: Low | Milestone: metrics-lib 1.5.0
Component: Metrics/metrics-lib | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------------+-----------------------------------
Comment (by CurtisSalazar):
== ==
The following solution can be: The XML has to be generated easy, utilizing
the !JavaBean contracts as well as creating an element for each and every
property that will figure in generator. It is better to build generator on
Java's reflection mechanisms which is where properties are the only things
that matter here. Look, I found the code at [http://essaydune.com/ college
essay writing services] :!<map:match pattern="bean/*.xml">
<!map:generate type="bean" src="!{2}"/> !<map:serialize type="xml"/>
</!map:match>
I hope this helps...Let me know if some troubles..
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18797#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs