|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.openadaptor.util.sax.AbstractHierarchicalElementHandler
org.openadaptor.dmx.converter.DMXTagHandler
org.openadaptor.dmx.converter.DMXHeaderHandler
public class DMXHeaderHandler
This element handler is responsible for building XMIHeader objects
| Nested Class Summary | |
|---|---|
class |
DMXHeaderHandler.XMIHeader
|
| Constructor Summary | |
|---|---|
DMXHeaderHandler()
|
|
| Method Summary | |
|---|---|
void |
activate(java.lang.String name,
org.xml.sax.Attributes attributes)
This method is called, when the handler's start tag is reached. |
java.lang.Object |
getResult()
Return the result of retreiving all data in the corresponding tag |
void |
handleSubResult(java.lang.String elementName,
java.lang.Object result)
Handle the given result object of a sub tag handler. |
java.lang.String |
tagName()
Returns the tag name, the receiver is responsible for. |
| Methods inherited from class org.openadaptor.dmx.converter.DMXTagHandler |
|---|
getTypeRegistry, newAttribute, newClass, newType, stringToInteger, tagViolationException |
| Methods inherited from class org.openadaptor.util.sax.AbstractHierarchicalElementHandler |
|---|
endElement, getController, reactivate, setController, startElement |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.ContentHandler |
|---|
characters, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping |
| Constructor Detail |
|---|
public DMXHeaderHandler()
| Method Detail |
|---|
public java.lang.String tagName()
tagName in interface HierarchicalElementHandlertagName in class AbstractHierarchicalElementHandlerpublic java.lang.Object getResult()
getResult in interface HierarchicalElementHandlergetResult in class AbstractHierarchicalElementHandlerAbstractHierarchicalElementHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
public void handleSubResult(java.lang.String elementName,
java.lang.Object result)
throws DMXException
handleSubResult in class DMXTagHandlerelementName - The name of the sub tagresult - The result object from the sub tag handler, which must be type casted
DMXExceptionAbstractHierarchicalElementHandler.getResult()
public void activate(java.lang.String name,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
activate in interface HierarchicalElementHandleractivate in class AbstractHierarchicalElementHandlername - The name of the tag which activates the receiver.attributes - The list of attributes, the parser found in the tag
org.xml.sax.SAXException - Wrapping exception around all internal exceptions.SAXReadController,
ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||