/** * Add an output parameter to the parameters object. * * @param outputs * @param outdex * @param parameters * @param trim */ private void addOutParm(Vector outputs, int outdex, Parameters parameters, boolean trim) { Parameter p = (Parameter) outputs.get(outdex); // If this is an element, we want the XML to reflect the element name // not the part name. Same check is made in addInishParam above. if (p.getType() instanceof DefinedElement) { DefinedElement de = (DefinedElement) p.getType(); p.setQName(de.getQName()); } // If this is a collection we want the XML to reflect the type in // the collection, not foo[unbounded]. // Same check is made in addInishParam above. if (p.getType() instanceof CollectionElement) { p.setQName(p.getType().getRefType().getQName()); } if (trim) { outputs.remove(outdex); } p.setMode(Parameter.OUT); ++parameters.outputs; parameters.list.add(p); } // addOutParm
/** * Add an output parameter to the parameters object. * * @param outputs * @param outdex * @param parameters * @param trim */ private void addOutParm(Vector outputs, int outdex, Parameters parameters, boolean trim) { Parameter p = (Parameter) outputs.get(outdex); // If this is an element, we want the XML to reflect the element name // not the part name. Same check is made in addInishParam above. if (p.getType() instanceof DefinedElement) { DefinedElement de = (DefinedElement) p.getType(); p.setQName(de.getQName()); } // If this is a collection we want the XML to reflect the type in // the collection, not foo[unbounded]. // Same check is made in addInishParam above. if (p.getType() instanceof CollectionElement) { p.setQName(p.getType().getRefType().getQName()); } if (trim) { outputs.remove(outdex); } p.setMode(Parameter.OUT); ++parameters.outputs; parameters.list.add(p); } // addOutParm
/** * Add an output parameter to the parameters object. * * @param outputs * @param outdex * @param parameters * @param trim */ private void addOutParm(Vector outputs, int outdex, Parameters parameters, boolean trim) { Parameter p = (Parameter) outputs.get(outdex); // If this is an element, we want the XML to reflect the element name // not the part name. Same check is made in addInishParam above. if (p.getType() instanceof DefinedElement) { DefinedElement de = (DefinedElement) p.getType(); p.setQName(de.getQName()); } // If this is a collection we want the XML to reflect the type in // the collection, not foo[unbounded]. // Same check is made in addInishParam above. if (p.getType() instanceof CollectionElement) { p.setQName(p.getType().getRefType().getQName()); } if (trim) { outputs.remove(outdex); } p.setMode(Parameter.OUT); ++parameters.outputs; parameters.list.add(p); } // addOutParm
p.setMode(Parameter.INOUT);
p.setMode(Parameter.INOUT);
p.setMode(Parameter.INOUT);
parameters.returnParam = (Parameter) outputs.get(0); parameters.returnParam.setMode(Parameter.OUT);
parameters.returnParam = (Parameter) outputs.get(0); parameters.returnParam.setMode(Parameter.OUT);
parameters.returnParam = (Parameter) outputs.get(0); parameters.returnParam.setMode(Parameter.OUT);