public class OSLSchemaContentHandler extends DefaultHandler
| Modifier and Type | Field and Description |
|---|---|
protected LocatorIF |
base_address |
protected String |
curelem |
protected List |
forwardrefs |
protected Stack |
openElements |
protected Stack |
openObjects |
protected Locator |
saxlocator |
protected OSLSchema |
schema |
| Constructor and Description |
|---|
OSLSchemaContentHandler(LocatorIF base_address) |
characters, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningprotected LocatorIF base_address
protected OSLSchema schema
protected String curelem
protected Locator saxlocator
protected Stack openElements
protected Stack openObjects
protected List forwardrefs
public OSLSchemaContentHandler(LocatorIF base_address)
public void beginElement(String name, Attributes attrs) throws MalformedURLException, SAXException
MalformedURLExceptionSAXExceptionpublic void stopElement(String name) throws SAXException
SAXExceptionpublic void startDocument()
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerpublic void startElement(String name, Attributes attrs) throws SAXException
SAXExceptionpublic void endElement(String name) throws SAXException
SAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXExceptionpublic void startElement(String uri, String lname, String qname, Attributes attrs) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String lname, String qname) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic OSLSchema getSchema()
protected TopicConstraintCollection getTopicConstraintCollection() throws SAXException
SAXExceptionprotected TopicClass getTopicClass() throws SAXException
SAXExceptionprotected AssociationClass getAssociationClass() throws SAXException
SAXExceptionprotected TopicRoleConstraint getTopicRoleConstraint() throws SAXException
SAXExceptionprotected AssociationRoleConstraint getAssociationRoleConstraint() throws SAXException
SAXExceptionprotected TopicNameConstraint getTopicNameConstraint() throws SAXException
SAXExceptionprotected VariantConstraint getVariantConstraint() throws SAXException
SAXExceptionprotected ScopedConstraintIF getScopedConstraint() throws SAXException
SAXExceptionprotected TypedConstraintIF getTypedConstraint() throws SAXException
SAXExceptionprotected ScopeSpecification getScopeSpecification() throws SAXException
SAXExceptionprotected TypeSpecification getTypeSpecification() throws SAXException
SAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class DefaultHandlerprotected void verifyParent(String name) throws SAXException
SAXExceptionprotected void verifyParent(String name1, String name2) throws SAXException
SAXExceptionprotected void verifyParent(String[] names) throws SAXException
SAXExceptionprotected SAXException getException(String message)
protected void inheritScope(ScopedConstraintIF parent, ScopedConstraintIF child)
protected void setMinMax(CardinalityConstraintIF constraint, Attributes attrs) throws SAXException
SAXExceptionprotected boolean getTrueFalse(String value, String tvalue, String fvalue) throws SAXException
SAXException