Package net.bioclipse.managers
Class XMLManager
java.lang.Object
net.bioclipse.managers.XMLManager
- All Implemented Interfaces:
IBactingManager
,net.bioclipse.managers.business.IBioclipseManager
Bioclipse manager that provides functionality around the eXtensible
Markup Language standard.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoi()
Lists the DOIs of the articles associated to this manager.boolean
boolean
isWellFormed
(String file) listNamespaces
(String file) nu.xom.Document
readString
(String xmlContent) nu.xom.Document
nu.xom.Document
readValidString
(String xmlContent) nu.xom.Document
readWellFormed
(String file)
-
Constructor Details
-
XMLManager
Creates a newXMLManager
.- Parameters:
workspaceRoot
- location of the workspace, e.g. "."
-
-
Method Details
-
getManagerName
- Specified by:
getManagerName
in interfacenet.bioclipse.managers.business.IBioclipseManager
-
doi
Description copied from interface:IBactingManager
Lists the DOIs of the articles associated to this manager.- Specified by:
doi
in interfaceIBactingManager
- Returns:
- a
List
of String with DOIs
-
isWellFormed
public boolean isWellFormed(String file) throws net.bioclipse.core.business.BioclipseException, org.eclipse.core.runtime.CoreException - Throws:
net.bioclipse.core.business.BioclipseException
org.eclipse.core.runtime.CoreException
-
isValid
public boolean isValid(String file) throws net.bioclipse.core.business.BioclipseException, org.eclipse.core.runtime.CoreException - Throws:
net.bioclipse.core.business.BioclipseException
org.eclipse.core.runtime.CoreException
-
readValid
public nu.xom.Document readValid(String file) throws net.bioclipse.core.business.BioclipseException, org.eclipse.core.runtime.CoreException - Throws:
net.bioclipse.core.business.BioclipseException
org.eclipse.core.runtime.CoreException
-
readValidString
public nu.xom.Document readValidString(String xmlContent) throws net.bioclipse.core.business.BioclipseException, org.eclipse.core.runtime.CoreException - Throws:
net.bioclipse.core.business.BioclipseException
org.eclipse.core.runtime.CoreException
-
readString
public nu.xom.Document readString(String xmlContent) throws net.bioclipse.core.business.BioclipseException, org.eclipse.core.runtime.CoreException - Throws:
net.bioclipse.core.business.BioclipseException
org.eclipse.core.runtime.CoreException
-
readWellFormed
public nu.xom.Document readWellFormed(String file) throws net.bioclipse.core.business.BioclipseException, org.eclipse.core.runtime.CoreException - Throws:
net.bioclipse.core.business.BioclipseException
org.eclipse.core.runtime.CoreException
-
listNamespaces
public List<String> listNamespaces(String file) throws net.bioclipse.core.business.BioclipseException - Throws:
net.bioclipse.core.business.BioclipseException
-