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, warning
protected 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
MalformedURLException
SAXException
public void stopElement(String name) throws SAXException
SAXException
public void startDocument()
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
public void startElement(String name, Attributes attrs) throws SAXException
SAXException
public void endElement(String name) throws SAXException
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
public void startElement(String uri, String lname, String qname, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String lname, String qname) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public OSLSchema getSchema()
protected TopicConstraintCollection getTopicConstraintCollection() throws SAXException
SAXException
protected TopicClass getTopicClass() throws SAXException
SAXException
protected AssociationClass getAssociationClass() throws SAXException
SAXException
protected TopicRoleConstraint getTopicRoleConstraint() throws SAXException
SAXException
protected AssociationRoleConstraint getAssociationRoleConstraint() throws SAXException
SAXException
protected TopicNameConstraint getTopicNameConstraint() throws SAXException
SAXException
protected VariantConstraint getVariantConstraint() throws SAXException
SAXException
protected ScopedConstraintIF getScopedConstraint() throws SAXException
SAXException
protected TypedConstraintIF getTypedConstraint() throws SAXException
SAXException
protected ScopeSpecification getScopeSpecification() throws SAXException
SAXException
protected TypeSpecification getTypeSpecification() throws SAXException
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class DefaultHandler
protected void verifyParent(String name) throws SAXException
SAXException
protected void verifyParent(String name1, String name2) throws SAXException
SAXException
protected void verifyParent(String[] names) throws SAXException
SAXException
protected SAXException getException(String message)
protected void inheritScope(ScopedConstraintIF parent, ScopedConstraintIF child)
protected void setMinMax(CardinalityConstraintIF constraint, Attributes attrs) throws SAXException
SAXException
protected boolean getTrueFalse(String value, String tvalue, String fvalue) throws SAXException
SAXException