/* * Copyright (c) 2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.wso2.carbon.registry.common.ui; public class SchemaConstants { public static final String SCHEMA = "Schema"; public static final String XPATH_TARGETNAMESPACE = "//xsd:schema/@targetNamespace"; public static final String ID = "Id"; public static final String VERSION = "Version"; public static final String ELEMENTS = "Elements"; public static final String XPATH_ELEMENTS = "//xsd:element"; public static final String XPATH_ATTRIBUTES = "//xsd:attribute"; public static final String XPATH_GROUPS = "//xsd:group"; public static final String ATTRIBUTES = "Attributes"; public static final String MAXOCCURS = "Maximum Occurrence"; public static final String MINOCCURS = "Minimum Occurrence"; public static final String GROUPS = "Groups"; public static final String INCLUDES = "Includes"; public static final String IMPORTS = "Imports"; public static final String SCHEMA_INCLUDES_EXPR = "//xsd:include/@schemaLocation"; public static final String SCHEMA_IMPORTS_EXPR = "//xsd:import/@schemaLocation"; public static final String RESOURCE_JSP_PAGE = "resource.jsp"; public static final String PATH_REQ_PARAMETER = "path"; public static final String TARGETNAMESPACE = "TargetNamespace"; public static final String NAME = "name"; public static final String REF = "ref"; public static final String NAMESPACE = "namespace"; public static final String SCHEMALOCATION = "schemaLocation"; }