Examples of MemberName


Examples of com.volantis.mcs.protocols.widgets.MemberName

       
        List memberNames = null;

        int lastMinusIndex = -1;
       
        MemberName lastMemberName = null;
       
        do {
            int minusIndex = referenceString.indexOf(MEMBER_SEPARATOR, lastMinusIndex + 1);

            // Extract next name component
            String component;
           
            if (minusIndex != -1) {
                // If minus sign was found, strip the name component from
                // previous up to the next minus sign.
                component = referenceString.substring(lastMinusIndex + 1, minusIndex);
            } else {
                // If minus sign was not found, strip the name component from
                // previous minus to the end of the string.
                component = referenceString.substring(lastMinusIndex + 1);
            }
           
            if (widgetId == null) {
                widgetId = component;
            } else {
                if (memberNames == null) {
                    memberNames = new ArrayList();
                }
               
                MemberName memberName;
               
                try {
                    memberName = MemberName.getMemberNameFor(component);
                } catch (IllegalArgumentException e) {
                    throw new XDIMEException("Undefined " + getMemberType().getName() + " reference: " + referenceString);
View Full Code Here

Examples of org.opengis.util.MemberName

        ArgumentChecks.ensureNonNull("container",   container);
        ArgumentChecks.ensureNonNull("memberTypes", memberTypes);
        memberTypes = new LinkedHashMap<MemberName,Type>(memberTypes);
        memberTypes.remove(null);
        for (final Map.Entry<MemberName,Type> entry : memberTypes.entrySet()) {
            final MemberName name = entry.getKey();
            final Type type = entry.getValue();
            if (type == null || !name.getAttributeType().equals(type.getTypeName())) {
                throw new IllegalArgumentException(Errors.format(Errors.Keys.IllegalMemberType_2, name, type));
            }
        }
        this.typeName    = typeName;
        this.container   = container;
View Full Code Here

Examples of org.opengis.util.MemberName

        ArgumentChecks.ensureNonNull("container",   container);
        ArgumentChecks.ensureNonNull("memberTypes", memberTypes);
        memberTypes = new LinkedHashMap<MemberName,Type>(memberTypes);
        memberTypes.remove(null);
        for (final Map.Entry<MemberName,Type> entry : memberTypes.entrySet()) {
            final MemberName name = entry.getKey();
            final Type type = entry.getValue();
            if (type == null || !name.getAttributeType().equals(type.getTypeName())) {
                throw new IllegalArgumentException(Errors.format(Errors.Keys.IllegalMemberType_2, name, type));
            }
        }
        this.typeName    = typeName;
        this.container   = container;
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.