• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with use methods of Sax Unmarshaller, please help  RSS feed

 
Paul dearrt
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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?
 
Ramon Anger
Ranch Hand
Posts: 56
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!