Skip to main content

All Questions

Tagged with
-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 ...
Umbra's user avatar
  • 1
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>...
devOn's user avatar
  • 55
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&...
Pouria Mohseni's user avatar
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 ...
Vitaliy's user avatar
  • 489
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 ...
HarveyEL's user avatar
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. ...
JEV's user avatar
  • 2,494
-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 ...
Mokkapps's user avatar
  • 2,028
-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 ...
WallyHale's user avatar
  • 408