Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
jvx:common:util:classes [2020/06/15 14:43] cduncan [Hashtable with automatic List Management] |
jvx:common:util:classes [2020/06/29 13:55] cduncan [XML Editing] |
||
---|---|---|---|
Line 9: | Line 9: | ||
An XML parser is required to read XML files. Various frameworks exist that allow reading and saving of XML files. However, accessing the individual elements is often solved tediously using object trees. | An XML parser is required to read XML files. Various frameworks exist that allow reading and saving of XML files. However, accessing the individual elements is often solved tediously using object trees. | ||
- | JVx contains the classes XmlWorker and XmlNode which allow direct access to tags. In addition, attributes can be accessed like sub tags. Performance and memory use are also very low. | + | JVx contains the classes XmlWorker and XmlNode, which allow direct access to tags. In addition, attributes can be accessed like sub tags. Performance and memory use are also very low. |
- | In the following example we read an XML file, change a Sub Tag and save the result as a new XML file: | + | In the following example, we read an XML file, change a sub tag, and save the result as a new XML file: |
<file java> | <file java> | ||
Line 23: | Line 23: | ||
</file> | </file> | ||
- | More Details about [[jvx:common:util:xml|XML Handling]]. | + | More details about [[jvx:common:util:xml|XML Handling]]. |
==== Working With Arrays ==== | ==== Working With Arrays ==== | ||
Line 52: | Line 52: | ||
==== Reflective === | ==== Reflective === | ||
- | The Reflective class allows you to create class instances or call methods via reflection but without directly using ''java.lang.reflect''. | + | The reflective class allows you to create class instances or call methods via reflection but without directly using ''java.lang.reflect''. |
More details, see [[jvx:common:util:reflective|here]]. | More details, see [[jvx:common:util:reflective|here]]. | ||
- | ==== More classes ==== | + | ==== More Classes ==== |
There are many other interesting utility classes, such as StringUtil, BeanUtil, DateUtil, FileUtil, ImageUtil, ... | There are many other interesting utility classes, such as StringUtil, BeanUtil, DateUtil, FileUtil, ImageUtil, ... | ||
Additional information can be found in [[https://www.sibvisions.com/files/jvx/current/api/|javadoc]]. | Additional information can be found in [[https://www.sibvisions.com/files/jvx/current/api/|javadoc]]. |