[ mx4j-Bugs-844885 ] DescriptorSupport XML ctor unimplemented

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #844885, was opened at 2003-11-18 21:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=844885&group_id=47745

Category: JMX implementation
Group: Release 1.1.1 beta1
Status: Open
Resolution: None
Priority: 5
Submitted By: Ward K Harold (wkharold)
Assigned to: Ward K Harold (wkharold)
Summary: DescriptorSupport XML ctor unimplemented

Initial Comment:
The DescriptorSupport ctor that takes an XML string as
input is not implemented. 

To address this issue the following design should be
implemented:

XML for a Descriptor will look like:

<Descriptor>
  <field name="name" value="value">
  </field>
</Descriptor>

Per the javadoc non-String values will be surrounded by 
parenthesis. Additionally their types will be encoded
using a scheme similar to that used to encode JNI type
signatures:

(Ztrue) => a Boolean true
(B64) => a Byte value of 64
(Cx) => a Character value of 'x'
(S2048) => a Short value of 2048
(I16384) => an Integer value of 16384
(J987654321) => a Long value of 987654321
(F1.234) => a Float value of 1.234
(D3.14e-10) => a Double value of 3.14e-10
(Ljava.net.URL;file:///.emacs) => a URL

Since the javadoc requires that the output of
toXMLString() can be used to create an equivalent
Descriptor via the XML ctor the necessary changes will
be made to toXMLString() as well.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=844885&group_id=47745


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.