• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Problem with use methods of Sax Unmarshaller, please help

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How I create object of this class and use it on document? I was searching on the internet but nothing..

class:
http://www.jopendocument.org/docs/org/jopendocument/io/SaxStylesUnmarshaller.html
code, how use SaxStylesUnmarshaller to ODT document?

File s = new File(cestaSouboru);
ODPackage p = new ODPackage(s);
SaxStylesUnmarshaller sax = new SaxStylesUnmarshaller();
this compile and buil allright, but, how i can use saxs methods on concrait document?
 
Ranch Hand
Posts: 56
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul,

that's a bit strange. Having an Unmarshaller class I would expect to find an unmarshall method in it that can be applied to a file or an input stream. Since there is not that much documentation at the link you've posted it's hard to guess what SaxStylesUnmarshaller is intended for.

Sorry.
Regards,
Ramon
 
Arthur, where are your pants? Check under this tiny ad.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic