Author: gertv
Date: Mon Dec 6 15:50:34 2010
New Revision: 1042683
URL: http://svn.apache.org/viewvc?rev=1042683&view=rev
Log:
Add better javadocs to improve generated wiki/xsd documentation
Modified:
servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XQueryEndpoint.java
servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XsltProxyEndpoint.java
Modified:
servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XQueryEndpoint.java
URL:
http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XQueryEndpoint.java?rev=1042683&r1=1042682&r2=1042683&view=diff
==============================================================================
---
servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XQueryEndpoint.java
(original)
+++
servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XQueryEndpoint.java
Mon Dec 6 15:50:34 2010
@@ -65,6 +65,8 @@ public class XQueryEndpoint extends Saxo
}
/**
+ * Configure serialization properties, in JAXP format, if the result is to
be serialized. This parameter can be defaulted to null.
+ *
* @param outputProperties the outputProperties to set
*/
public void setOutputProperties(Properties outputProperties) {
@@ -79,6 +81,8 @@ public class XQueryEndpoint extends Saxo
}
/**
+ * Configure the XQuery expression to evaluate.
+ *
* @param query the query to set
* @org.apache.xbean.Flat
*/
Modified:
servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XsltProxyEndpoint.java
URL:
http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XsltProxyEndpoint.java?rev=1042683&r1=1042682&r2=1042683&view=diff
==============================================================================
---
servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XsltProxyEndpoint.java
(original)
+++
servicemix/components/engines/servicemix-saxon/trunk/src/main/java/org/apache/servicemix/saxon/XsltProxyEndpoint.java
Mon Dec 6 15:50:34 2010
@@ -71,6 +71,7 @@ public class XsltProxyEndpoint extends S
* The store factory.
*/
protected StoreFactory storeFactory;
+
/**
* The correlation property used by this component
*/
@@ -83,6 +84,11 @@ public class XsltProxyEndpoint extends S
return transformerFactory;
}
+ /**
+ * Set a transform factory, e.g. for injecting a custom transformer
configuration or implementation.
+ *
+ * @param transformerFactory
+ */
public void setTransformerFactory(TransformerFactory transformerFactory) {
this.transformerFactory = transformerFactory;
}
@@ -91,6 +97,11 @@ public class XsltProxyEndpoint extends S
return outResource;
}
+ /**
+ * Spring Resource for the XSL-T stylesheet or XQuery file to use for
transforming the 'out' message.
+ *
+ * @param outResource
+ */
public void setOutResource(Resource outResource) {
this.outResource = outResource;
}
@@ -99,6 +110,11 @@ public class XsltProxyEndpoint extends S
return faultResource;
}
+ /**
+ * Spring Resource for the XSL-T stylesheet or XQuery file to use for
transforming the 'fault' message.
+ *
+ * @param faultResource
+ */
public void setFaultResource(Resource faultResource) {
this.faultResource = faultResource;
}
@@ -107,6 +123,11 @@ public class XsltProxyEndpoint extends S
return useDomSourceForXslt;
}
+ /**
+ * Convert the XSL-T stylesheet Sources into a DOMSource. Defaults to
<code>true</true>.
+ *
+ * @param useDomSourceForXslt
+ */
public void setUseDomSourceForXslt(boolean useDomSourceForXslt) {
this.useDomSourceForXslt = useDomSourceForXslt;
}
@@ -115,6 +136,11 @@ public class XsltProxyEndpoint extends S
return useDomSourceForContent;
}
+ /**
+ * Convert the message body Source into a DOMSource. Defaults to
<code>false</true>.
+ *
+ * @param useDomSourceForContent
+ */
public void setUseDomSourceForContent(Boolean useDomSourceForContent) {
this.useDomSourceForContent = useDomSourceForContent;
}
@@ -123,6 +149,11 @@ public class XsltProxyEndpoint extends S
return target;
}
+ /**
+ * Set the target endpoint that is being proxied by the
<code>xslt:proxy</code> endpoint.
+ *
+ * @param target
+ */
public void setTarget(ExchangeTarget target) {
this.target = target;
}
@@ -133,7 +164,11 @@ public class XsltProxyEndpoint extends S
public Store getStore() {
return store;
}
+
/**
+ * Configure a custom Store implementation to store correlation
information. Usually, a store factory is configured instead of a store.
+ * Defaults to {...@link org.apache.servicemix.store.memory.MemoryStore}.
+ *
* @param store The store to set.
*/
public void setStore(Store store) {
@@ -145,7 +180,10 @@ public class XsltProxyEndpoint extends S
public StoreFactory getStoreFactory() {
return storeFactory;
}
+
/**
+ * Configure a custom StoreFactory implementation to store correlation
information. Defaults to {...@link
org.apache.servicemix.store.memory.MemoryStoreFactory}.
+ *
* @param storeFactory The storeFactory to set.
*/
public void setStoreFactory(StoreFactory storeFactory) {