@Deprecated public final class OMEXMLFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LATEST_VERSION
Deprecated.
Latest OME-XML version namespace.
|
protected static String |
LEGACY_SKELETON
Deprecated.
Basic skeleton for an OME-XML root node with 2003-FC legacy schema.
|
protected static String |
SKELETON
Deprecated.
Basic skeleton for an OME-XML root node with modern schema.
|
Modifier and Type | Method and Description |
---|---|
static OMEXMLNode |
newOMENode()
Deprecated.
Constructs a new, empty OME-XML root node of the latest schema version.
|
static OMEXMLNode |
newOMENode(String version)
Deprecated.
Constructs a new, empty OME-XML root node of the given schema version.
|
static OMEXMLNode |
newOMENodeFromSource(Document doc)
Deprecated.
Constructs an OME-XML root node from the given DOM tree.
|
static OMEXMLNode |
newOMENodeFromSource(File file)
Deprecated.
Constructs an OME-XML root node from the given file on disk.
|
static OMEXMLNode |
newOMENodeFromSource(String xml)
Deprecated.
Constructs an OME-XML root node from the given XML string.
|
static Document |
parseOME(File file)
Deprecated.
Parses a DOM from the given OME-XML file on disk.
|
static Document |
parseOME(InputStream is)
Deprecated.
Parses a DOM from the given OME-XML input stream.
|
static Document |
parseOME(String xml)
Deprecated.
Parses a DOM from the given OME-XML string.
|
public static final String LATEST_VERSION
protected static final String SKELETON
protected static final String LEGACY_SKELETON
public static OMEXMLNode newOMENode() throws ParserConfigurationException, SAXException, IOException
public static OMEXMLNode newOMENode(String version) throws ParserConfigurationException, SAXException, IOException
version
- The schema version (e.g., 2007-06) to use for the OME-XML.ParserConfigurationException
SAXException
IOException
public static OMEXMLNode newOMENodeFromSource(File file) throws ParserConfigurationException, SAXException, IOException
public static OMEXMLNode newOMENodeFromSource(String xml) throws ParserConfigurationException, SAXException, IOException
public static OMEXMLNode newOMENodeFromSource(Document doc)
public static Document parseOME(File file) throws ParserConfigurationException, SAXException, IOException
public static Document parseOME(String xml) throws ParserConfigurationException, SAXException, IOException
public static Document parseOME(InputStream is) throws ParserConfigurationException, SAXException, IOException
Copyright © 2014 Open Microscopy Environment