All Questions
8
questions
-1
votes
2
answers
85
views
How to parse specific information from a XML-file into objects in java?
i´m quite new to programming and especially new to XML parsing and i´m currently having issues with xml-parsing in java. I´ve tried several things to get specific information from a xml-file and ...
2
votes
1
answer
2k
views
How to create an arrayList of objects from xml?
I have an xml file, with the following structure:
<elements number="3">
<contact>
<name>PAUL</name>
<surname>ONE</surname>
<code>...
1
vote
2
answers
1k
views
add same name xml node to a arrayList
i have a problem with add xml file nodes to a object
xml file :
<?xml version="1.0" encoding="UTF-8"?>
<Users>
<User firstName="john">
<lastName>fall</lastName&...
0
votes
1
answer
699
views
Navigation through Objects in Java
My aim is to recreate the structure of XML in custom Objects to operate with it further. Actually, I want to have XML as input and produce LaTeX as output. For this task I have implemented principles ...
0
votes
2
answers
187
views
Object to ArrayList to JList and back again (A few questions)
Program Outline:
I plan to make a simple Java program that will load Vehicle objects (Vehicle being the superclass, EnginedVehicle and GoodsVehicle being the subclasses) from an XML file into an ...
0
votes
2
answers
19k
views
Serialize ArrayList of Objects
I have an ArrayList which stores a custom object. I want to serialize that ArrayList to a string so I can save it inside the Application settings.
This question looks to resolve it, but is in java. ...
-1
votes
1
answer
1k
views
Convert objects in my arraylist to string arrays in android
I am using a XML parser and as result I get a ArrayList with my objects:
ArrayList <Datapoint> itemsList = parseXML();
One Datapoint object consists of the following Strings:
name: a
...
-1
votes
1
answer
2k
views
How to get item value from ArrayList in an Object
I am trying to process XML plist data from an API, but am hitting lots of walls!
The data is Apple plist format, which I am parsing using Akos' code from this link which seems to work perfectly. It ...