public class XMLSchemaParser
extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
XMLSchemaParser(java.io.InputStream schemaIn)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector<java.lang.String> |
getIncludedSchemaFilePathes()
Get the included schema file paths in this schema
|
void |
parse()
Parse the schema file
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
SAX Handler that is called at the start of each XML element
|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic XMLSchemaParser(java.io.InputStream schemaIn)
throws org.xml.sax.SAXException,
edu.ucsb.nceas.utilities.PropertyNotFoundException
schemaIn - the schema content as an InputStream objectorg.xml.sax.SAXExceptionedu.ucsb.nceas.utilities.PropertyNotFoundExceptionpublic void parse()
throws org.xml.sax.SAXException,
java.io.IOException
org.xml.sax.SAXException - if some sax related exception happensjava.io.IOException - if the schema content couldn't be foundpublic java.util.Vector<java.lang.String> getIncludedSchemaFilePathes()
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionCopyright © 2020 Regents of the University of California. All Rights Reserved.