Package org.exolab.castor.xml.util

Examples of org.exolab.castor.xml.util.XMLClassDescriptorAdapter.addFieldDescriptor()


           
            if (xmlId != null) { xmlClassDesc.setIdentity((XMLFieldDescriptorImpl) xmlId); }
            for (int i = 0; i < fieldList.size(); i++) {
                FieldDescriptor fieldDesc = (FieldDescriptor) fieldList.get(i);
                if (fieldDesc != null) {
                    xmlClassDesc.addFieldDescriptor((XMLFieldDescriptorImpl) fieldDesc);
                }
            }
           
            if (classMapping.getAutoComplete()) {
View Full Code Here


                        // If there is no field with this name, we can add it
                        if (introFields[i].getFieldName().equals(identity)) {
                            xmlClassDesc.setIdentity(introFields[i]);
                        }
                        else {
                            xmlClassDesc.addFieldDescriptor(introFields[i]);
                        }
                    }
                }

                // Elements
View Full Code Here

                        // If there is no field with this name, we can add it
                        if (introFields[i].getFieldName().equals(identity)) {
                            xmlClassDesc.setIdentity(introFields[i]);
                        }
                        else {
                            xmlClassDesc.addFieldDescriptor(introFields[i]);
                        }
                    }
                }

                // Content
View Full Code Here

                // Content
                XMLFieldDescriptor field = referenceDesc.getContentDescriptor();
                if (field != null) {
                    if (!isMatchFieldName(xmlFields2, field.getFieldName())) {
                        // If there is no field with this name, we can add
                        xmlClassDesc.addFieldDescriptor(field);
                    }
                }
            }

            // Copy ns-uri + ns-prefix + element-definition
View Full Code Here

                    // If there is no field with this name, we can add it
                    if (introFields[i].getFieldName().equals(identity)) {
                        xmlClassDesc.setIdentity(introFields[i]);
                    }
                    else {
                        xmlClassDesc.addFieldDescriptor(introFields[i]);
                    }
                }
            }

            // Elements
View Full Code Here

                    // If there is no field with this name, we can add it
                    if (introFields[i].getFieldName().equals(identity)) {
                        xmlClassDesc.setIdentity(introFields[i]);
                    }
                    else {
                        xmlClassDesc.addFieldDescriptor(introFields[i]);
                    }
                }
            }

            // Content
View Full Code Here

            // Content
            XMLFieldDescriptor field = referenceDesc.getContentDescriptor();
            if (field!= null)
                if (isMatchFieldName(fields, field.getFieldName()))
                    // If there is no field with this name, we can add
                    xmlClassDesc.addFieldDescriptor(field);


        } //-- End of auto-complete

View Full Code Here

                    // If there is no field with this name, we can add it
                    if (introFields[i].getFieldName().equals(identity)) {
                        xmlClassDesc.setIdentity(introFields[i]);
                    }
                    else {
                        xmlClassDesc.addFieldDescriptor(introFields[i]);
                    }
                }
            }

            // Elements
View Full Code Here

                    // If there is no field with this name, we can add it
                    if (introFields[i].getFieldName().equals(identity)) {
                        xmlClassDesc.setIdentity(introFields[i]);
                    }
                    else {
                        xmlClassDesc.addFieldDescriptor(introFields[i]);
                    }
                }
            }

            // Content
View Full Code Here

            // Content
            XMLFieldDescriptor field = referenceDesc.getContentDescriptor();
            if (field!= null)
                if (isMatchFieldName(fields, field.getFieldName()))
                    // If there is no field with this name, we can add
                    xmlClassDesc.addFieldDescriptor(field);


        } //-- End of auto-complete

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.