public class SchemaReader
extends java.lang.Object
GlobalDefMap
which is keyed by element name.Constructor and Description |
---|
SchemaReader(org.dom4j.Document doc,
java.net.URI source,
DefinitionMiner definitionMiner,
java.lang.String defaultTargetNamespaceURI)
Constructor for the SchemaReader object.
|
Modifier and Type | Method and Description |
---|---|
GlobalDef |
getGlobalDef(java.lang.String typeName)
Return globalDef from the globalDefMap after resolving the given typeName into a baseName and namespace.
|
java.util.ArrayList |
getImportPaths()
Gets the importPaths attribute of the SchemaReader object
|
java.util.ArrayList |
getIncludePaths()
Returns a list of the paths that are declared as "include"s for the given
Document |
NamespaceRegistry |
getInstanceNamespaces() |
java.lang.String |
getInstanceQualifiedName(java.lang.String name) |
java.net.URI |
getLocation() |
NamespaceRegistry |
getNamespaces() |
java.lang.String |
getXsdPrefix() |
boolean |
isBuiltIn(java.lang.String qualifiedTypeName) |
void |
read()
NOT YET DOCUMENTED
|
java.lang.String |
resolveToInstancePrefix(java.lang.String prefix) |
static void |
setDebug(boolean bool) |
public SchemaReader(org.dom4j.Document doc, java.net.URI source, DefinitionMiner definitionMiner, java.lang.String defaultTargetNamespaceURI) throws SchemaHelperException
doc
- NOT YET DOCUMENTEDsource
- NOT YET DOCUMENTEDdefinitionMiner
- NOT YET DOCUMENTEDdefaultTargetNamespaceURI
- NOT YET DOCUMENTEDSchemaHelperException
- Description of the Exceptionpublic java.lang.String getXsdPrefix()
public boolean isBuiltIn(java.lang.String qualifiedTypeName)
public NamespaceRegistry getNamespaces()
public NamespaceRegistry getInstanceNamespaces()
public java.lang.String resolveToInstancePrefix(java.lang.String prefix)
public java.net.URI getLocation()
public void read() throws SchemaHelperException
SchemaHelperException
- NOT YET DOCUMENTEDpublic java.util.ArrayList getIncludePaths()
Document
public java.util.ArrayList getImportPaths()
public GlobalDef getGlobalDef(java.lang.String typeName)
public java.lang.String getInstanceQualifiedName(java.lang.String name)
public static void setDebug(boolean bool)