|
|||||||||
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 HierarchicalElementHandler
tagName
in class AbstractHierarchicalElementHandler
public java.lang.Object getResult()
getResult
in interface HierarchicalElementHandler
getResult
in class AbstractHierarchicalElementHandler
AbstractHierarchicalElementHandler.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 DMXTagHandler
elementName
- The name of the sub tagresult
- The result object from the sub tag handler, which must be type casted
DMXException
AbstractHierarchicalElementHandler.getResult()
public void activate(java.lang.String name, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
activate
in interface HierarchicalElementHandler
activate
in class AbstractHierarchicalElementHandler
name
- 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 |