Package ca.phon.app.opgraph
Class OpgraphXMLFileOpenHandler
java.lang.Object
ca.phon.app.opgraph.OpgraphXMLFileOpenHandler
- All Implemented Interfaces:
XMLOpenHandler
,IPluginExtensionPoint<XMLOpenHandler>
public class OpgraphXMLFileOpenHandler
extends Object
implements XMLOpenHandler, IPluginExtensionPoint<XMLOpenHandler>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canRead
(StartElement startEle) Class<?>
Get type of extensionGet factory for extension point objectsvoid
openXMLFile
(File file, Map<String, Object> args) Open xml documentGet supported extensions (without '.')
-
Constructor Details
-
OpgraphXMLFileOpenHandler
public OpgraphXMLFileOpenHandler()
-
-
Method Details
-
getExtensionType
Description copied from interface:IPluginExtensionPoint
Get type of extension- Specified by:
getExtensionType
in interfaceIPluginExtensionPoint<XMLOpenHandler>
-
getFactory
Description copied from interface:IPluginExtensionPoint
Get factory for extension point objects- Specified by:
getFactory
in interfaceIPluginExtensionPoint<XMLOpenHandler>
-
supportedExtensions
Description copied from interface:XMLOpenHandler
Get supported extensions (without '.')- Specified by:
supportedExtensions
in interfaceXMLOpenHandler
-
canRead
- Specified by:
canRead
in interfaceXMLOpenHandler
- Returns:
true
if this reader can handle the given root start element.
-
openXMLFile
Description copied from interface:XMLOpenHandler
Open xml document- Specified by:
openXMLFile
in interfaceXMLOpenHandler
- Throws:
IOException
-