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()intintcompareToByContents(IXSD other) protected intbooleangetXsdsRecursive(Set<IXSD> xsds) getXsdsRecursive(Set<IXSD> xsds, boolean supportRedefine) inthashCode()voidinitFromXsds(String namespace, IScopeProvider scopeProvider, Set<IXSD> sourceXsds) protected voidinitNamespace(String namespace, IScopeProvider scopeProvider, String resourceRef) protected voidinitNoNamespace(IScopeProvider scopeProvider, String resourceRef) voidsetImportedNamespacesToIgnore(String toIgnore) voidsetImportedNamespacesToIgnore(Set<String> toIgnore) voidsetImportedSchemaLocationsToIgnore(String toIgnore) voidsetImportedSchemaLocationsToIgnore(Set<String> toIgnore) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getResourceBasein interfaceIXSD
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<IXSD>
-
compareToByReferenceOrContents
-
compareToByContents
- Specified by:
compareToByContentsin interfaceIXSD
-
asString
- Specified by:
asStringin interfaceIXSD- Throws:
IOException
-
getXsdsRecursive
- Throws:
ConfigurationException
-
getXsdsRecursive
public static Set<IXSD> getXsdsRecursive(Set<IXSD> xsds, boolean supportRedefine) throws ConfigurationException - Throws:
ConfigurationException
-
getSystemId
- Specified by:
getSystemIdin interfaceSchema
-
getImportParent
- Specified by:
getImportParentin interfaceIXSD
-