Examples of markAsAcknowledged()


Examples of com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIFactoryMethod.markAsAcknowledged()

        Language schemaLanguage = model.options.getSchemaLanguage();
        if ((schemaLanguage != null) &&
            (schemaLanguage.equals(Language.XMLSCHEMA) || schemaLanguage.equals(Language.WSDL))) {
            BIFactoryMethod factoryMethod = Ring.get(BGMBuilder.class).getBindInfo(source).get(BIFactoryMethod.class);
            if(factoryMethod!=null) {
                factoryMethod.markAsAcknowledged();
                this.squeezedName = factoryMethod.name;
            }
        }

        model.add(this);
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.markAsAcknowledged()

                globalBinding.markAsAcknowledged();
            } else {
                // acknowledge this customization and report an error
                // otherwise the user will see "customization is attached to a wrong place" error,
                // which is incorrect
                gb.markAsAcknowledged();
                getErrorReporter().error( gb.getLocation(),
                    Messages.ERR_MULTIPLE_GLOBAL_BINDINGS);
                getErrorReporter().error( globalBinding.getLocation(),
                    Messages.ERR_MULTIPLE_GLOBAL_BINDINGS_OTHER);
            }
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIProperty.markAsAcknowledged()

            // acknowledge property customization on this schema component,
            // since it is OK to have a customization at the point of declaration
            // even when no one is using it.
            BIProperty prop = builder.getBindInfo(sc).get(BIProperty.class);
            if(prop!=nullprop.markAsAcknowledged();
        }
    }


    // should be instanciated only from BGMBuilder.
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BISchemaBinding.markAsAcknowledged()

        for( XSSchema s : Ring.get(XSSchemaSet.class).getSchemas() ) {
            BISchemaBinding sb = getBindInfo(s).get(BISchemaBinding.class);

            if(sb!=null && !sb.map) {
                sb.markAsAcknowledged();
                continue;       // no mapping for this package
            }

            getClassSelector().pushClassScope( new CClassInfoParent.Package(
                getClassSelector().getPackage(s.getTargetNamespace())) );
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BISchemaBinding.markAsAcknowledged()

    private void processPackageJavadoc( XSSchema s ) {
        // look for the schema-wide customization
        BISchemaBinding cust = getBindInfo(s).get(BISchemaBinding.class);
        if(cust==null)      return; // not present

        cust.markAsAcknowledged();
        if( cust.getJavadoc()==null )   return;     // no javadoc customization

        // produce a HTML file
        JTextFile html = new JTextFile("package.html");
        html.setContents(cust.getJavadoc());
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BISchemaBinding.markAsAcknowledged()

    public JPackage getPackage(String targetNamespace) {
        XSSchema s = Ring.get(XSSchemaSet.class).getSchema(targetNamespace);

        BISchemaBinding sb =
            builder.getBindInfo(s).get(BISchemaBinding.class);
        if(sb!=null)    sb.markAsAcknowledged();

        String name = null;

        // "-p" takes precedence over everything else
        if( builder.defaultPackage1 != null )
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIXSubstitutable.markAsAcknowledged()

        BIXSubstitutable bixSubstitutable = builder.getBindInfo(decl).get(BIXSubstitutable.class);
        if(bixSubstitutable !=null) {
            // see https://jaxb.dev.java.net/issues/show_bug.cgi?id=289
            // this customization forces non-collapsing behavior.
            bixSubstitutable.markAsAcknowledged();
            return false;
        }

        if( getGlobalBinding().isSimpleMode() && decl.isGlobal()) {
            // in the simple mode, we do more aggressive optimization, and get rid of
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIXSubstitutable.markAsAcknowledged()

            if(decl.getSubstitutables().size()>1)
                return RawTypeSet.Mode.MUST_BE_REFERENCE;
            // BIXSubstitutable also simulates this effect. Useful for separate compilation
            BIXSubstitutable subst = builder.getBindInfo(decl).get(BIXSubstitutable.class);
            if(subst!=null) {
                subst.markAsAcknowledged();
                return RawTypeSet.Mode.MUST_BE_REFERENCE;
            }

            // we have no place to put an adater if this thing maps to a type
            CElementPropertyInfo p = target.getProperty();
View Full Code Here

Examples of com.sun.tools.xjc.model.CPluginCustomization.markAsAcknowledged()

            orm.getMappedSuperclass().add( mappedSuperclass );
            this.toMappedSuperclass( outline, c, orm, mappedSuperclass );

            if ( !pc.isAcknowledged() )
            {
                pc.markAsAcknowledged();
            }

            this.mappedClasses.add( mappedSuperclass.getClazz() );
        }
    }
View Full Code Here

Examples of com.sun.tools.xjc.model.CPluginCustomization.markAsAcknowledged()

            orm.getEmbeddable().add( embeddable );
            this.toEmbeddable( c, embeddable );

            if ( !pc.isAcknowledged() )
            {
                pc.markAsAcknowledged();
            }

            this.mappedClasses.add( embeddable.getClazz() );
        }
    }
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.