Examples of sequence()


Examples of com.sun.xml.bind.v2.schemagen.xmlschema.ComplexExtension.sequence()

                    ce.base(bc.getTypeName());
                    // TODO: what if the base type is anonymous?
                    // ordered props go in a sequence, unordered go in an all
                    if( c.isOrdered() ) {
                        compositor = ce.sequence();
                    } else {
                        compositor = ce.all();
                    }
                }
            }
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.ComplexType.sequence()

            Element e =  xsd._element(Element.class);
            e._attribute("name", wp.getName().getLocalPart());
            e.type(wp.getName());
            ComplexType ct =  xsd._element(ComplexType.class);
            ct._attribute("name", wp.getName().getLocalPart());
            ExplicitGroup sq = ct.sequence();           
            for (ParameterImpl p : wp.getWrapperChildren() ) if (p.getBinding().isBody()) addChild(sq, p);
        }
        for(Schema xsd: xsds.values()) xsd.commit();
    }
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.schemagen.xmlschema.ComplexType.sequence()

                    writeOccurs(e,isOptional,repeated);
                    ComplexType p = e.complexType();

                    // TODO: entry, key, and value are always unqualified. that needs to be fixed, too.
                    // TODO: we need to generate the corresponding element declaration, if they are qualified
                    e = p.sequence().element();
                    e.name("entry").minOccurs(0).maxOccurs("unbounded");

                    ExplicitGroup seq = e.complexType().sequence();
                    writeKeyOrValue(seq, "key", mp.getKeyType());
                    writeKeyOrValue(seq, "value", mp.getValueType());
View Full Code Here

Examples of org.apache.isis.applib.annotation.MemberOrder.sequence()

        return memberOrderFacet;
    }

    private static MemberOrderFacet createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
        final MemberOrder annotation = Annotations.getAnnotation(processMethodContext.getMethod(), MemberOrder.class);
        return annotation != null ? new MemberOrderFacetAnnotation(annotation.name(), annotation.sequence(), processMethodContext.getFacetHolder()) : null;
    }


}
View Full Code Here

Examples of org.apache.isis.applib.annotation.MemberOrder.sequence()

        return memberOrderFacet;
    }

    private static MemberOrderFacet createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
        final MemberOrder annotation = Annotations.getAnnotation(processMethodContext.getMethod(), MemberOrder.class);
        return annotation != null ? new MemberOrderFacetAnnotation(annotation.name(), annotation.sequence(), processMethodContext.getFacetHolder()) : null;
    }


}
View Full Code Here

Examples of org.apache.isis.applib.annotation.Title.sequence()

            @Override
            public int compare(final Method o1, final Method o2) {
                final Title a1 = o1.getAnnotation(Title.class);
                final Title a2 = o2.getAnnotation(Title.class);
                return comparator.compare(a1.sequence(), a2.sequence());
            }
        });
        if (methods.isEmpty()) {
            return;
        }
View Full Code Here

Examples of org.apache.isis.applib.annotation.Title.sequence()

            @Override
            public int compare(final Method o1, final Method o2) {
                final Title a1 = o1.getAnnotation(Title.class);
                final Title a2 = o2.getAnnotation(Title.class);
                return comparator.compare(a1.sequence(), a2.sequence());
            }
        });
        if (methods.isEmpty()) {
            return;
        }
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.version.Version.sequence()

        } else {
            str.append("specification", getSpecification().getShortIdentifier());
        }
        if(getOid() != null) {
            final Version version = getOid().getVersion();
            str.append("version", version != null ? version.sequence() : null);
        }
    }

    // ///////////////////////////////////////////////////////////////////
    // IconName
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.version.Version.sequence()

        } else {
            str.append("specification", getSpecification().getShortIdentifier());
        }
        if(getOid() != null) {
            final Version version = getOid().getVersion();
            str.append("version", version != null ? version.sequence() : null);
        }
    }

    // ///////////////////////////////////////////////////////////////////
    // IconName
View Full Code Here

Examples of org.apache.isis.core.metamodel.adapter.version.Version.sequence()

        request.appendAsHtmlEncoded(specification.getSingularName() + " - " + specification.getFullIdentifier());
        request.appendHtml("</div>");

        Version version = object.getVersion();
        request.appendHtml("<div class=\"version\">");
        request.appendAsHtmlEncoded("#" + version.sequence() + " - " + version.getUser() + " (" + version.getTime() + ")" );
        request.appendHtml("</div>");

        final List<ObjectAssociation> fields = specification.getAssociations(Contributed.EXCLUDED, ObjectAssociation.Filters.ALL);

        int row = 1;
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.