Package org.jibx.util

Examples of org.jibx.util.IClassLocator


        Definitions def = new Definitions(service.getPortTypeName(), service.getBindingName(), service.getServiceName(),
            service.getPortName(), "tns", wns);
        def.setServiceLocation(service.getServiceAddress());
       
        // add service documentation if available
        IClassLocator locator = m_generationParameters.getLocator();
        IClass info = locator.getClassInfo(service.getClassName());
        if (info != null) {
            List nodes = m_generationParameters.getWsdlCustom().getFormatter(service).docToNodes(info.getJavaDoc());
            def.setPortTypeDocumentation(nodes);
        }
       
View Full Code Here


     */
    private Member getItemSource() {
        if (!m_checkedSource) {
            m_checkedSource = true;
            IClass clas = getContainingClass();
            IClassLocator loc = clas.getLocator();
            if (loc instanceof IClassSourceLocator) {
                IClassSourceLocator sloc = (IClassSourceLocator)loc;
                JavaClass jc = sloc.getSourceInfo(clas.getName());
                if (jc != null) {
                    if (isMethod()) {
View Full Code Here

            if (name == null) {
                name = "binding.xml";
            }
        }
        m_rootHolder = m_bindingDirectory.configureFiles(name, pack, pregens);
        IClassLocator iloc = new DummyClassLocator();
        org.jibx.binding.model.ValidationContext vctx = new org.jibx.binding.model.ValidationContext(iloc);
        if (m_bindingDirectory.validateBindings(m_rootHolder, m_targetDir, vctx)) {
            m_bindingDirectory.writeBindings(m_targetDir);
        } else {
            reportBindingProblems(vctx, handler);
View Full Code Here

TOP

Related Classes of org.jibx.util.IClassLocator

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.