public class XMLSchemaCatalogConfig extends DataListCatalogConfig
Modifier and Type | Field and Description |
---|---|
static String |
ATT_TAG_SCHEMA |
static String |
ATT_TAG_SCHEMA_LIST |
static String |
CONFIG_PATH_BASE |
static String |
CONFIG_PATH_MODE |
static String |
CONFIG_PATH_MODE_CLASSLOADER |
static String |
CONFIG_PATH_MODE_DEFAULT |
static String |
CONFIG_PATH_MODE_FILE |
ATT_BEAN_MODE, ATT_BEAN_MODE_DEFAULT, ATT_DATA_CATALOG_CONFIG, ATT_LIST_TYPE, ATT_TAG_DATA, ATT_TAG_DATA_LIST, ATT_TAG_MODULE, ATT_TAG_MODULE_CONF_ID, ATT_TAG_MODULE_CONF_MODE, ATT_TAG_MODULE_CONF_MODE_CL, ATT_TAG_MODULE_CONF_MODE_FILE, ATT_TAG_MODULE_CONF_PATH, ATT_TAG_MODULE_CONF_UNSAFE, ATT_TAG_MODULE_LIST, ATT_TAG_TYPE_STRING, ATT_TRY_XSD_VALIDATION, ATT_TRY_XSD_VALIDATION_DEFAULT, ATT_TRY_XSD_VALIDATION_FALSE, ATT_TRY_XSD_VALIDATION_TRUE, ATT_TYPE, attTagData, attTagDataList, CONFIG_CHECK_DUPLICATE_ID, CONFIG_CHECK_DUPLICATE_ID_DEFAULT, CONFIG_CHECK_DUPLICATE_ID_FAIL, CONFIG_CHECK_DUPLICATE_ID_WARN, CONFIG_CHECK_ENTRY_DUPLICATE_ID
logger
Constructor and Description |
---|
XMLSchemaCatalogConfig() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Element tag)
Configure the object.
|
Source[] |
getXsds(String setId) |
static Source[] |
getXsds(String pathMode,
String pathBase,
Collection<String> schemaList) |
static XMLSchemaCatalogConfig |
loadConfigSchema(InputStream is) |
void |
validate(ErrorHandler er,
SAXSource source,
String schemaListId) |
void |
validate(ErrorHandler er,
Source source,
String schemaListId) |
void |
validateCacheSchema(ErrorHandler er,
SAXSource source,
String schemaListId) |
void |
validateCacheSchema(ErrorHandler er,
Source source,
String schemaListId) |
static void |
validateWorker(ErrorHandler er,
SAXSource source,
Source[] xsds) |
static void |
validateWorker(ErrorHandler er,
Source source,
Source[] xsds) |
loadConfig, loadConfig
customEntryHandling, customEntryHandling, getDataList, getDefinition, getEntryIdCheck, getGeneralProps, getIdSet, getSchemaId, hasDefinition, load, newCollection, setDefinition, setSchemaId, validate
configure
configureProperties, configureXML
getLogger
public static final String ATT_TAG_SCHEMA_LIST
public static final String ATT_TAG_SCHEMA
public static final String CONFIG_PATH_MODE
public static final String CONFIG_PATH_MODE_FILE
public static final String CONFIG_PATH_MODE_CLASSLOADER
public static final String CONFIG_PATH_MODE_DEFAULT
public static final String CONFIG_PATH_BASE
public static XMLSchemaCatalogConfig loadConfigSchema(InputStream is) throws Exception
Exception
public void configure(Element tag) throws ConfigException
ConfigurableObject
Configure the object.
configure
in interface ConfigurableObject
configure
in class GenericListCatalogConfig<String>
tag
- The tag object to use for configuration.ConfigException
- If troubles arise during object configuration.public static Source[] getXsds(String pathMode, String pathBase, Collection<String> schemaList)
public void validateCacheSchema(ErrorHandler er, SAXSource source, String schemaListId) throws Exception
Exception
public void validate(ErrorHandler er, SAXSource source, String schemaListId) throws Exception
Exception
public static void validateWorker(ErrorHandler er, SAXSource source, Source[] xsds) throws Exception
Exception
public void validateCacheSchema(ErrorHandler er, Source source, String schemaListId) throws Exception
Exception
public void validate(ErrorHandler er, Source source, String schemaListId) throws Exception
Exception
public static void validateWorker(ErrorHandler er, Source source, Source[] xsds) throws Exception
Exception
Copyright © 2022 Fugerit. All rights reserved.