Examples of NamingXMLType


Examples of org.exolab.castor.builder.binding.xml.NamingXMLType

                PackageType tempPackage = packages.nextElement();
                _binding.addPackage(tempPackage);
            }

            //--NamingXML
            NamingXMLType naming = loaded.getNamingXML();
            if (naming != null) {
                _binding.setNamingXML(naming);
            }

            //--NamingXML
View Full Code Here

Examples of org.exolab.castor.builder.binding.xml.NamingXMLType

        //--look up for the particular componentBinding relative to the
        //-- given annotated structure
        if (_binding != null) {
            _compBinding = _binding.getComponentBindingType(annotated);
            NamingXMLType naming = _binding.getNamingXML();
            if (naming != null) {
                switch (annotated.getStructureType()) {
                    case Structure.COMPLEX_TYPE:
                        if (naming.getComplexTypeName() != null) {
                            _prefix = naming.getComplexTypeName().getPrefix();
                            _suffix = naming.getComplexTypeName().getSuffix();
                        }
                        break;
                    case Structure.ELEMENT:
                        if (naming.getElementName() != null) {
                            _prefix = naming.getElementName().getPrefix();
                            _suffix = naming.getElementName().getSuffix();
                        }
                        break;
                    case Structure.MODELGROUP:
                        if (naming.getModelGroupName() != null) {
                            _prefix = naming.getModelGroupName().getPrefix();
                            _suffix = naming.getModelGroupName().getSuffix();
                        }
                        break;
                    default:
                        break;
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.