Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
Stylus Studio Technical Forum
»
API to retrieve 'Adapter URL' from Pipeline
Conferences
Stylus Studio Feature Requests
(1192)
Stylus Studio Technical Forum
(14621)
API to retrieve 'Adapter URL' ...
(2)
API to retrieve 'Adapter ...
How do I move my Stylus Studio...
(6)
API to retrieve 'Adapter URL' ...
(2)
InterPage Linking Problem in ....
(2)
xsl - header only once in fore...
(7)
StylusDiff.exe crashes when co...
(5)
Validation against schemas wan...
(5)
Conerting Excel to XML
(5)
count the number of 1 appearin...
(10)
Import validation errors
(2)
Custom Validation Saxon
(4)
How Can i Check if else condit...
(2)
Stylus Studio 2009 Ent still b...
(2)
cannot download SS2009
(2)
Use of import-schema wants sch...
(4)
Replacement Install Media/Bits
(3)
XML to Flat File
(5)
Select one of multiple attribu...
(13)
Web Service - SOAP Error
(3)
I find a BUG in stylus studio ...
(8)
Previous
[901-920]
[921-940]
[941-960]
Next
Website Feedback
(249)
XSLT Help and Discussion
(7625)
XQuery Help and Discussion
(2017)
Stylus Studio FAQs
(159)
Stylus Studio Code Samples & Utilities
(364)
Stylus Studio Announcements
(113)
Topic
next
Subject:
API to retrieve 'Adapter URL' from Pipeline
Author:
Gnanaprakash Valacha Ramswami
Date:
29 Dec 2008 02:39 PM
I am trying to use the code the generated by Stylus for a CSV file conversion process.
I have modified the code to take the input/output as streams instead of passing URIs.
I also need to pass the converter configuration dynamically. I see the converter adapter is set in the pipeline XML.
How do I retrive it at runtime? Is there a API call for that.
Pls clarify.
Thanks
Prakash
top
Subject:
API to retrieve 'Adapter URL' from Pipeline
Author:
Ivan Pedruzzi
Date:
29 Dec 2008 04:25 PM
If you make use of "Pipeline Input" and "Pipeline Output" blocks, the code generator will expose the following methods
void bindInputObject(String portName, Object obj, Object ignored)
void bindOutputObject(String portName, Object obj)
A Custom Converter can be created passing the .conv file as stream, have a look at
http://media.datadirect.com/download/docs/xmlconverters/java/javadoc/com/ddtek/xmlconverter/ConverterFactory.html#newConvertToXML(javax.xml.transform.Source
)
In order to use this feature you will need to change the code manually.
Hope this helps
Ivan Pedruzzi
Stylus Studio Team
Powered by
Stylus Studio
, the world's leading
XML IDE
for
XML
,
XSLT
,
XQuery
,
XML Schema
,
DTD
,
XPath
,
WSDL
,
XHTML
,
SQL/XML
, and
XML Mapping
!
Go to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.