Media Authoring
with Java API

tv.amwa.maj.embeddable
Class ProductVersion.XMLHandler

java.lang.Object
  extended by tv.amwa.maj.io.xml.MasterContentHandler
      extended by tv.amwa.maj.io.xml.LocalHandler
          extended by tv.amwa.maj.embeddable.ProductVersion.XMLHandler
All Implemented Interfaces:
ContentHandler, SpecifiedClasses
Direct Known Subclasses:
Identification.ProductVersionXMLHandler, Identification.ToolkitVersionXMLHandler
Enclosing class:
ProductVersion

public static class ProductVersion.XMLHandler
extends LocalHandler
implements ContentHandler

XML parser event handler for converting product version elements into product version values.

Author:
Richard Cartwright

Field Summary
static String[] dataElementNames
           
static String elementName
           
 
Fields inherited from interface tv.amwa.maj.industry.SpecifiedClasses
abstractInterchangeable, abstractMeta, interchangeable, meta
 
Constructor Summary
ProductVersion.XMLHandler()
           
 
Method Summary
 Object createResult()
          Create the resulting object from the deserialization carried out by this content handler.
 
Methods inherited from class tv.amwa.maj.io.xml.LocalHandler
areAttributesPresent, characters, endDocument, endElement, getAttributesForElement, getAttributesForThis, getAttributeValueChildElement, getAttributeValueThisElement, getBytesFromStream, getElementData, getElementDataList, getElementName, getInputStreamForName, getSubElement, getSubElementList, isDataElementList, isDataElementPresent, isSingleDataElement, isSingleSubElement, isSubElementList, isSubElementPresent, startElement
 
Methods inherited from class tv.amwa.maj.io.xml.MasterContentHandler
endPrefixMapping, ignorableWhitespace, processingInstruction, registerCoreHandlers, registerHandler, registerHandlersForClass, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Field Detail

elementName

public static final String elementName
See Also:
Constant Field Values

dataElementNames

public static final String[] dataElementNames
Constructor Detail

ProductVersion.XMLHandler

public ProductVersion.XMLHandler()
Method Detail

createResult

public Object createResult()
                    throws Exception
Description copied from class: LocalHandler

Create the resulting object from the deserialization carried out by this content handler. This method must be implemented in every subclass of LocalHandler and will be called when data is available from within the methods implementation by calling:

Returns:
Object created from the deserialization of an XML fragment carried out by this content handler.
Throws:
Exception - TODO

Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.