[xep-support] Images

Alexander Peshkov peshkov at renderx.com
Tue Nov 9 07:49:36 PST 2004


Hello Jason,

I suggest you to create custom protocol and protocol handler.
It is possible since XEP relies on standard Java means to work with URLs.
For example you can have a protocol 'stream' and your image URLs will look like:
  stream://getimage.do?param1=321&param2=432
You may write special Java handler for this protocol (it must extend
java.net.URLStreamHandler) and register it in the system. This handler
can retrieve streamed image data.
The are enough papers about creation of custom protocol handlers in
Java - for example, you may be interested in this one:
http://developer.java.sun.com/developer/onlineTraining/protocolhandlers/

Hope this helps.

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX

jsmc> Can anyone help!

jsmc> Does xep only render graphics that are located in a file system or at a
jsmc> url?

jsmc> Is there a way of intercepting the formatter.render so that when it
jsmc> encounters a 
jsmc> graphic/image I can control what it does? i.e. read's the image from an
jsmc> input stream?

jsmc> Jason Seigel

jsmc> -------------------
jsmc> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
jsmc> in the body of the message to majordomo at renderx.com from the address
jsmc> you are subscribed from.
jsmc> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list