Package org.frankframework.validation
Class AbstractXSD
java.lang.Object
org.frankframework.validation.AbstractXSD
- All Implemented Interfaces:
Comparable<IXSD>
,IXSD
,Schema
- Direct Known Subclasses:
ResourceXsd
,StringXsd
The representation of a XSD.
- Author:
- Michiel Meeuwissen, Jaco de Groot
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()
int
int
compareToByContents
(IXSD other) protected int
boolean
getXsdsRecursive
(Set<IXSD> xsds) getXsdsRecursive
(Set<IXSD> xsds, boolean supportRedefine) int
hashCode()
void
initFromXsds
(String namespace, IScopeProvider scopeProvider, Set<IXSD> sourceXsds) protected void
initNamespace
(String namespace, IScopeProvider scopeProvider, String resourceRef) protected void
initNoNamespace
(IScopeProvider scopeProvider, String resourceRef) void
setImportedNamespacesToIgnore
(String toIgnore) void
setImportedNamespacesToIgnore
(Set<String> toIgnore) void
setImportedSchemaLocationsToIgnore
(String toIgnore) void
setImportedSchemaLocationsToIgnore
(Set<String> toIgnore) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.frankframework.validation.IXSD
getImportedNamespaces, getImportedNamespacesToIgnore, getImportedSchemaLocationsToIgnore, getNamespace, getParentLocation, getResourceTarget, getRootTags, getScopeProvider, getTargetNamespace, getXsdDefaultNamespace, getXsdTargetNamespace, hasDependency, isAddNamespaceToSchema, isUseBaseImportedSchemaLocationsToIgnore
-
Field Details
-
useBaseImportedSchemaLocationsToIgnore
protected boolean useBaseImportedSchemaLocationsToIgnore
-
-
Constructor Details
-
AbstractXSD
protected AbstractXSD()
-
-
Method Details
-
setImportedNamespacesToIgnore
-
setImportedNamespacesToIgnore
-
setImportedSchemaLocationsToIgnore
-
setImportedSchemaLocationsToIgnore
-
initNoNamespace
protected void initNoNamespace(IScopeProvider scopeProvider, String resourceRef) throws ConfigurationException - Throws:
ConfigurationException
-
initNamespace
protected void initNamespace(String namespace, IScopeProvider scopeProvider, String resourceRef) throws ConfigurationException - Throws:
ConfigurationException
-
initFromXsds
public void initFromXsds(String namespace, IScopeProvider scopeProvider, Set<IXSD> sourceXsds) throws ConfigurationException - Throws:
ConfigurationException
-
getResourceBase
- Specified by:
getResourceBase
in interfaceIXSD
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<IXSD>
-
compareToByReferenceOrContents
-
compareToByContents
- Specified by:
compareToByContents
in interfaceIXSD
-
asString
- Specified by:
asString
in interfaceIXSD
- Throws:
IOException
-
getXsdsRecursive
- Throws:
ConfigurationException
-
getXsdsRecursive
public static Set<IXSD> getXsdsRecursive(Set<IXSD> xsds, boolean supportRedefine) throws ConfigurationException - Throws:
ConfigurationException
-
getSystemId
- Specified by:
getSystemId
in interfaceSchema
-
getImportParent
- Specified by:
getImportParent
in interfaceIXSD
-