|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--com.tbf.xml.XmlObjectFactory
|
+--VOTableUtil.ObjectFactory
This class provides methods to create instances of the objects in this class library (project).
XmlObjectFactory| Field Summary | |
protected static java.util.Hashtable |
_default_dbmap
|
protected static ObjectFactory |
_default_factory
|
protected static java.util.Hashtable |
_default_map
|
| Fields inherited from class com.tbf.xml.XmlObjectFactory |
_class_loader, _dbmap, _default_reload_modified_classes, _last_exception, _map, _reload_modified_classes, _saved_parser |
| Constructor Summary | |
protected |
ObjectFactory()
Create an instance of this ObjectFactory with no bindings set. |
| Method Summary | |
static void |
clearDefaultFactoryLastError()
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.clearLastError(). |
static void |
clearDefaultFactoryLastException()
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.clearLastException(). |
static java.util.Vector |
createList(java.sql.ResultSet rs)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getList(java.sql.ResultSet). |
static java.util.Vector |
createList(com.tbf.xml.XmlElement xml)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getList(XmlElement). |
static com.tbf.xml.XmlObject |
createObject(java.io.File f)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getInstance(java.io.File). |
static com.tbf.xml.XmlObject |
createObject(java.io.InputStream in)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getInstance(java.io.InputStream). |
static com.tbf.xml.XmlDbObject |
createObject(java.sql.ResultSet rs)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getInstance(java.sql.ResultSet). |
static com.tbf.xml.XmlObject |
createObject(java.lang.String filename)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getInstance(String). |
static com.tbf.xml.XmlObject |
createObject(java.lang.String name,
com.tbf.xml.XmlElement xml)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getInstance(String, XmlElement). |
static com.tbf.xml.XmlObject |
createObject(com.tbf.xml.XmlElement xml)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getInstance(XmlElement). |
static com.tbf.xml.XmlObject |
createObjectFromString(java.lang.String xml)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getInstanceFromString(String). |
static com.tbf.xml.XmlObject |
createObjectFromUrl(java.lang.String url)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getInstanceFromUrl(String). |
static ObjectFactory |
getDefaultFactory()
Get the default ObjectFactory instance. |
static java.lang.String |
getDefaultFactoryLastError()
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getLastError(). |
static java.lang.Exception |
getDefaultFactoryLastException()
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.getLastException(). |
static ObjectFactory |
getInstance()
Creates an instance of this ObjectFactory and populates its node to class name and column to class name maps with the defaults. |
static void |
setDefaultFactoryXmlBinding(java.lang.String name,
java.lang.String class_name)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.setXmlBinding(String, String). |
static void |
setDefaultFactoryXmlBinding(java.lang.String name,
com.tbf.xml.XmlObjectFactory factory)
Deprecated. will be removed in a future release. Use com.tbf.xml.XmlObjectFactory.setXmlBinding(String, XmlObjectFactory). |
| Methods inherited from class com.tbf.xml.XmlObjectFactory |
appendError, clearLastError, clone, dumpLicense, getActivationKey, getBuildNumber, getClassForName, getClassForResultSet, getDbBinding, getDefaultReloadModifiedClasses, getExpirationDate, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceFromString, getInstanceFromUrl, getLastError, getLastException, getLicenseNetworkString, getLicenseType, getList, getList, getParser, getRegistrationCode, getReloadModifiedClasses, getXmlBinding, main, merge, merge, removeDbBinding, removeXmlBinding, resetClassLoader, saveParser, setDbBinding, setDbBinding, setDbMap, setDefaultReloadModifiedClasses, setLastError, setLastException, setReloadModifiedClasses, setXmlBinding, setXmlBinding, setXmlMap, unmarshal, unmarshal |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static java.util.Hashtable _default_map
protected static java.util.Hashtable _default_dbmap
protected static ObjectFactory _default_factory
| Constructor Detail |
protected ObjectFactory()
| Method Detail |
public static ObjectFactory getDefaultFactory()
public static ObjectFactory getInstance()
public static java.lang.String getDefaultFactoryLastError()
getDefaultFactoryLastException()public static void clearDefaultFactoryLastError()
public static java.lang.Exception getDefaultFactoryLastException()
getDefaultFactoryLastError()public static void clearDefaultFactoryLastException()
public static void setDefaultFactoryXmlBinding(java.lang.String name,
java.lang.String class_name)
name - the name of the binding to getclass_name - the class name that the XML name is to be bound to
public static void setDefaultFactoryXmlBinding(java.lang.String name,
com.tbf.xml.XmlObjectFactory factory)
name - the name of the binding to getfactory - the XmlObjectFactory that the XML name
is to be bound to
public static com.tbf.xml.XmlObject createObject(java.lang.String name,
com.tbf.xml.XmlElement xml)
name - the class name of the object to createxml - the XmlElement (tree) containg the data for the
created objectpublic static com.tbf.xml.XmlObject createObject(java.io.InputStream in)
in - the InputStream containg the data to create and populate
an XmlObjectpublic static com.tbf.xml.XmlObject createObjectFromString(java.lang.String xml)
xml - the String containing the XML data to create and
populate an XmlObjectpublic static com.tbf.xml.XmlObject createObjectFromUrl(java.lang.String url)
url - the URL to open and read to create and
populate an XmlObjectpublic static com.tbf.xml.XmlObject createObject(com.tbf.xml.XmlElement xml)
xml - the XmlElement (tree) containg the data for the
created objectpublic static com.tbf.xml.XmlObject createObject(java.io.File f)
f - the File to open and use to create and
populate an XmlObjectpublic static com.tbf.xml.XmlObject createObject(java.lang.String filename)
filename - the filename to open and use to create and
populate an XmlObjectpublic static java.util.Vector createList(com.tbf.xml.XmlElement xml)
xml - the XmlElement (tree) containg the data for the
created list.public static com.tbf.xml.XmlDbObject createObject(java.sql.ResultSet rs)
rs - the ResultSet containg the data to create and
populate an XmlDbObjectpublic static java.util.Vector createList(java.sql.ResultSet rs)
rs - the ResultSet containg the data to create and
populate an XmlDbObject
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||