|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.xml.schema.SchemaReader
public class SchemaReader
SchemaReader traverses an XML schema, which may be represented using multiple files, and extracts the key
schema elements (including Data Type definitions and global elements). These key schema elements are
represented as GlobalDefs and stored in a GlobalDefMap
which is keyed by element name.
Constructor Summary | |
---|---|
SchemaReader(Document doc,
URI source,
DefinitionMiner definitionMiner,
String defaultTargetNamespaceURI)
Constructor for the SchemaReader object. |
Method Summary | |
---|---|
GlobalDef |
getGlobalDef(String typeName)
Return globalDef from the globalDefMap after resolving the given typeName into a baseName and namespace. |
ArrayList |
getImportPaths()
Gets the importPaths attribute of the SchemaReader object |
ArrayList |
getIncludePaths()
Returns a list of the paths that are declared as "include"s for the given Document |
NamespaceRegistry |
getInstanceNamespaces()
|
String |
getInstanceQualifiedName(String name)
|
URI |
getLocation()
|
NamespaceRegistry |
getNamespaces()
|
String |
getXsdPrefix()
|
boolean |
isBuiltIn(String qualifiedTypeName)
|
void |
read()
NOT YET DOCUMENTED |
String |
resolveToInstancePrefix(String prefix)
|
static void |
setDebug(boolean bool)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaReader(Document doc, URI source, DefinitionMiner definitionMiner, String defaultTargetNamespaceURI) throws SchemaHelperException
doc
- NOT YET DOCUMENTEDsource
- NOT YET DOCUMENTEDdefinitionMiner
- NOT YET DOCUMENTEDdefaultTargetNamespaceURI
- NOT YET DOCUMENTED
SchemaHelperException
- Description of the ExceptionMethod Detail |
---|
public String getXsdPrefix()
public boolean isBuiltIn(String qualifiedTypeName)
public NamespaceRegistry getNamespaces()
public NamespaceRegistry getInstanceNamespaces()
public String resolveToInstancePrefix(String prefix)
public URI getLocation()
public void read() throws SchemaHelperException
SchemaHelperException
- NOT YET DOCUMENTEDpublic ArrayList getIncludePaths()
Document
public ArrayList getImportPaths()
public GlobalDef getGlobalDef(String typeName)
public String getInstanceQualifiedName(String name)
public static void setDebug(boolean bool)
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |