Package com.volantis.devrep.device.api.xml.definitions

Examples of com.volantis.devrep.device.api.xml.definitions.Type


    private void dumpTypeDeclaration(TypeDeclaration typeDeclaration,
            StringBuffer buffer) {
        buffer.append("Type Declaration:\n");
        buffer.append("  name=" + typeDeclaration.getName() + "\n");
        Type type = typeDeclaration.getType();
        dumpType(type, "  ", buffer);

    }
View Full Code Here


        buffer.append("    Type Container:\n");
        if (typeContainer.getName() != null) {
            buffer.append("      name=" + typeContainer.getName() + "\n");
        }
        if (typeContainer.getType() != null) {
            Type type = typeContainer.getType();
            dumpType(type, "      ", buffer);
        }

    }
View Full Code Here

            // Set the the type
            // Work out the type of the policy.
            final TypeContainer typeContainer = policy.getTypeContainer();
            String typeName = typeContainer.getName();
            Type type = typeContainer.getType();
            if (typeName != null && type == null) {
                // this is a reference to a declared type.
                TypeDeclaration declaration = definitions.getType(typeName);
                if (declaration == null) {
                    throw new RepositoryException(EXCEPTION_LOCALIZER.format(
View Full Code Here

TOP

Related Classes of com.volantis.devrep.device.api.xml.definitions.Type

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.