Package org.apache.schemas.yoko.bindings.corba

Examples of org.apache.schemas.yoko.bindings.corba.ParamType


        NodeList opChildNodes = el.getChildNodes();
        for (int i = 0; i < opChildNodes.getLength(); ++i) {
            Node currentNode = opChildNodes.item(i);

            if (currentNode.getNodeName().equals("corba:param")) {
                ParamType param = new ParamType();
                NamedNodeMap paramAttributes = currentNode.getAttributes();

                for (int j = 0; j < paramAttributes.getLength(); ++j) {
                    Node paramAttrNode = paramAttributes.item(j);
                    if (paramAttrNode.getNodeName().equals("name")) {
                        param.setName(paramAttrNode.getNodeValue());
                    } else if (paramAttrNode.getNodeName().equals("mode")) {
                        param.setMode(ModeType.fromValue(paramAttrNode.getNodeValue()));
                    } else if (paramAttrNode.getNodeName().equals("idltype")) {
                        param.setIdltype(getIdlTypeName(def, paramAttrNode, currentNode));
                    }
                }
                opType.getParam().add(param);
            } else if (currentNode.getNodeName().equals("corba:return")) {
                ArgType ret = new ArgType();
View Full Code Here

TOP

Related Classes of org.apache.schemas.yoko.bindings.corba.ParamType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.