Package be.selckin.ws.util.java2php.php

Examples of be.selckin.ws.util.java2php.php.PhpProperty


            if (thing instanceof org.apache.ws.commons.schema.XmlSchemaChoice) {
                XmlSchemaChoice choice = (XmlSchemaChoice) thing;
                for (XmlSchemaObject xmlSchemaObject : choice.getItems()) {
                    ParticleInfo info = ParticleInfo.forLocalItem(xmlSchemaObject, xmlSchema, xmlSchemaCollection, prefixAccumulator, qName);
                    PhpProperty orig = createProperty(info);
                    properties.add(
                            new PhpProperty(
                                    orig.getName(), new TypeHint(true, orig.getTypeHint().getName()), "null", Arrays.<String>asList(), false,
                                    info.getType().getQName().getNamespaceURI()
                            )
                    );
                }
                // Only sort these, others are returned in jaxb order
View Full Code Here


        if (itemInfo.isOptional())
            comments.add("- optional");
        else
            comments.add("- required");

        return new PhpProperty(itemInfo.getXmlName(), typeHint, initialValue, comments, !itemInfo.isOptional());
    }
View Full Code Here

TOP

Related Classes of be.selckin.ws.util.java2php.php.PhpProperty

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.