net.ontopia.topicmaps.schema.impl.osl
Class OSLSchemaContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
net.ontopia.topicmaps.schema.impl.osl.OSLSchemaContentHandler
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
public class OSLSchemaContentHandler
- extends org.xml.sax.helpers.DefaultHandler
INTERNAL: SAX2 content handler used for importing OSL topic map
schemas into the schema object model.
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSLSchemaContentHandler
public OSLSchemaContentHandler(net.ontopia.xml.XMLReaderFactoryIF xrfactory,
LocatorIF base_address)
beginElement
public void beginElement(java.lang.String name,
org.xml.sax.Attributes attrs)
throws java.net.MalformedURLException,
org.xml.sax.SAXException
- Throws:
java.net.MalformedURLException
org.xml.sax.SAXException
stopElement
public void stopElement(java.lang.String name)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
startDocument
public void startDocument()
- Specified by:
startDocument
in interface org.xml.sax.ContentHandler
- Overrides:
startDocument
in class org.xml.sax.helpers.DefaultHandler
startElement
public void startElement(java.lang.String name,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String name)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
endDocument
public void endDocument()
throws org.xml.sax.SAXException
- Specified by:
endDocument
in interface org.xml.sax.ContentHandler
- Overrides:
endDocument
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
startElement
public void startElement(java.lang.String uri,
java.lang.String lname,
java.lang.String qname,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
- Specified by:
startElement
in interface org.xml.sax.ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String uri,
java.lang.String lname,
java.lang.String qname)
throws org.xml.sax.SAXException
- Specified by:
endElement
in interface org.xml.sax.ContentHandler
- Overrides:
endElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
getSchema
public OSLSchema getSchema()
setDocumentLocator
public void setDocumentLocator(org.xml.sax.Locator locator)
- Specified by:
setDocumentLocator
in interface org.xml.sax.ContentHandler
- Overrides:
setDocumentLocator
in class org.xml.sax.helpers.DefaultHandler
Copyright © 2000-2010 Ontopia.