Examples of DOMSupplementaryValidatorDetails


Examples of com.volantis.mcs.xml.validation.DOMSupplementaryValidatorDetails

                };
        context.getODOMSelectionManager().
                addSelectionListener(deviceSelectionListener, deviceFilter);


        context.addSupplementaryValidator(new DOMSupplementaryValidatorDetails(
                MCSNamespace.DEVICE.getURI(),
                DeviceRepositorySchemaConstants.POLICY_VALUE_ELEMENT_NAME,
                new ContentPresentElementValidator(DeviceRepositorySchemaConstants.
                POLICY_VALUE_ELEMENT_NAME, MCSNamespace.DEVICE)));
    }
View Full Code Here

Examples of com.volantis.mcs.xml.validation.DOMSupplementaryValidatorDetails

    public DeviceOverviewPart(DeviceEditorContext context) {
        // the root element is the hierarchy element
        super(DeviceRepositorySchemaConstants.HIERARCHY_ELEMENT_NAME,
                context);

        context.addSupplementaryValidator(new DOMSupplementaryValidatorDetails(
                MCSNamespace.DEVICE_IDENTIFICATION.getURI(),
                DeviceRepositorySchemaConstants.REGULAR_EXPRESSION_ELEMENT_NAME,
                new ContentPresentElementValidator(
                        DeviceRepositorySchemaConstants.
                                REGULAR_EXPRESSION_ELEMENT_NAME,
View Full Code Here

Examples of com.volantis.mcs.xml.validation.DOMSupplementaryValidatorDetails

            }
            // Add all the relevant supplementary validators to the new
            // ValidationManager
            Iterator validators = supplementaryValidators.iterator();
            while (validators.hasNext()) {
                DOMSupplementaryValidatorDetails validatorDetails =
                        (DOMSupplementaryValidatorDetails)
                                validators.next();
                if (validatorDetails.namespaceURI.equals(rootElement.
                        getNamespaceURI())) {
                    manager.addSupplementaryValidator(validatorDetails);
View Full Code Here

Examples of com.volantis.mcs.xml.validation.DOMSupplementaryValidatorDetails

            }
            // Add all the relevant supplementary validators to the new
            // ValidationManager
            Iterator validators = supplementaryValidators.iterator();
            while (validators.hasNext()) {
                DOMSupplementaryValidatorDetails validatorDetails =
                        (DOMSupplementaryValidatorDetails)
                                validators.next();
                if (validatorDetails.namespaceURI.equals(rootElement.
                        getNamespaceURI())) {
                    manager.addSupplementaryValidator(validatorDetails);
View Full Code Here

Examples of com.volantis.mcs.xml.validation.DOMSupplementaryValidatorDetails

        try {
            context.addRootElement(identificationRootElement,
                    identificationRootElement.getName());

            context.addSupplementaryValidator(new DOMSupplementaryValidatorDetails(
                    MCSNamespace.DEVICE_TAC_IDENTIFICATION.getURI(),
                    DeviceRepositorySchemaConstants.NUMBER_ELEMENT_NAME,
                    new TACNumberValidator()));

            // Censor xsd generated errors on the number element
View Full Code Here

Examples of com.volantis.mcs.xml.validation.DOMSupplementaryValidatorDetails

        super(DeviceRepositorySchemaConstants.DEFINITIONS_ELEMENT_NAME,
                context);

        this.context = context;

        context.addSupplementaryValidator(new DOMSupplementaryValidatorDetails(
                MCSNamespace.DEVICE_DEFINITIONS.getURI(),
                DeviceRepositorySchemaConstants.
                POLICY_DEFINITION_RANGE_ELEMENT_NAME,
                new RangeValidator()));
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.