Class NotXmlParser
- java.lang.Object
-
- org.intermine.objectstore.intermine.NotXmlParser
-
public final class NotXmlParser extends java.lang.Object
Parses a String suitable for storing in the OBJECT field of database tables into an Object.- Author:
- Matthew Wakeling
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DELIM
The string that delimits the sections of the NotXml.static java.lang.String
ENCODED_DELIM
The character that denotes an encoded delimiter in the string.static java.util.regex.Pattern
SPLITTER
A Pattern that will find delimiters.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InterMineObject
parse(java.lang.String xml, ObjectStoreInterMineImpl os)
Parse the given NotXml String into an Object.
-
-
-
Field Detail
-
DELIM
public static final java.lang.String DELIM
The string that delimits the sections of the NotXml.- See Also:
- Constant Field Values
-
ENCODED_DELIM
public static final java.lang.String ENCODED_DELIM
The character that denotes an encoded delimiter in the string.- See Also:
- Constant Field Values
-
SPLITTER
public static final java.util.regex.Pattern SPLITTER
A Pattern that will find delimiters.
-
-
Method Detail
-
parse
public static InterMineObject parse(java.lang.String xml, ObjectStoreInterMineImpl os) throws java.lang.ClassNotFoundException
Parse the given NotXml String into an Object.- Parameters:
xml
- the NotXml Stringos
- the ObjectStore from which to create lazy objects- Returns:
- an InterMineObject
- Throws:
java.lang.ClassNotFoundException
- if a class cannot be found
-
-