- Kettő együtt: Radeon RX 9070 és 9070 XT tesztje
- Kormányok / autós szimulátorok topikja
- Steam Deck
- Intel Core i5 / i7 / i9 "Alder Lake-Raptor Lake/Refresh" (LGA1700)
- Melyik tápegységet vegyem?
- Intel Core Ultra 3, Core Ultra 5, Ultra 7, Ultra 9 "Arrow Lake" LGA 1851
- HP notebook topic
- iPad topik
- Apple MacBook
- Az időjárás borongósabbra váltott, de a hardverek még vígadnak
Új hozzászólás Aktív témák
-
artiny
őstag
orej.class ben a toXml metodus igy nez ki:
@SuppressWarnings("unchecked")
public String toXml() {
StringBuilder xml = new StringBuilder();
if ( this.emp!=null && !this.emp.isEmpty() ) {
for (Employee employee: this.emp) {
xml.append(employee.toXml());
}
}
return xml.toString();
}meg igy is jelzett a Employee.class ben a toXml nel a getBuffernál ,hogy:
StringBuffer sb = outWriter .getBuffer();
symbol: method getBuffer()
location: variable outWriter of type WriterTransformerFactory tf = TransformerFactory.newInstance();
Transformer t = tf.newTransformer();
DOMSource source = new DOMSource(doc);
StringWriter outWriter = new StringWriter();
//Writer outWriter = new StringWriter(); ha ezt a sort lecserltem ami most folotte van sor akkkor eltunt a hiba a getBuffer nál,de mikor lefutattom a programot nem hoz letre semmit..
a (new File("xmldoc.xml")) - valami hasonlo kene neki,hogy megadni hova mit mentsen .....
StreamResult result = new StreamResult( outWriter );
t.transform(source, result);
StringBuffer sb = outWriter .getBuffer();
return sb.toString();
} catch (Exception e) {
System.out.println(e.getMessage());
}
return null;
}
Új hozzászólás Aktív témák
A topicot kiemeltem. Valaki nem akar egy nyitó hsz-t írni?:))
- Futás, futópályák
- Samsung Galaxy A55 - új év, régi stratégia
- Kettő együtt: Radeon RX 9070 és 9070 XT tesztje
- Kormányok / autós szimulátorok topikja
- Apple iPhone 17 - alap
- A Temu diktál Magyarországon, a hazai e-kereskedők fulladoznak
- Autós topik látogatók beszélgetős, offolós topikja
- Forza sorozat (Horizon/Motorsport)
- Steam Deck
- urandom0: Kicsit most elfáradtam...
- További aktív témák...
- Féláron eladó vadonatúj razer blade 14 rtx 3080ti
- 500 ezerrel ár alatt! Vadonatúj garanciás razer blade 16 oled kijelző rtx 4070
- Hardverapró árérték bajnoka! Razer blade rtx 3080 ti i9 32gb ddr5 4k kijelző 144hz!
- Eladó kiskergaris 18TB-os Seagate EXOS X18 Enterprise HDD
- Félkonfig // I7 7700, GTX 1070, 16 GB DDR4
- Bomba ár! Lenovo ThinkPad P1 G2 - i7-9850H I 16/256SSD - 32/1TB I 15,6" FHD I W11 I Cam I Gari!
- BESZÁMÍTÁS! LENOVO IdePad Gaming 3 Gamer notebook - R5 5600H 16GB DDR4 512GB SSD RTX 3050Ti 4GBWIN11
- Lenovo ThinkPad 40AF docking station (DisplayLink)
- HIBÁTLAN iPhone 12 mini 128GB Black -1 ÉV GARANCIA - Kártyafüggetlen, MS3292
- HIBÁTLAN iPhone 14 Pro 256GB Deep Purple -1 ÉV GARANCIA - Kártyafüggetlen, MS3516, 94% Akkumulátor
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest