| java.lang.Object org.netbeans.modules.dbschema.SchemaElementUtil
SchemaElementUtil | public class SchemaElementUtil (Code) | | |
Method Summary | |
public static SchemaElement | forName(String name, Object obj) Returns the SchemaElement object associated with the schema with
the given string name and object. | public static SchemaElement | forName(FileObject fo) Returns the SchemaElement object associated with the schema with the given file object. |
forName | public static SchemaElement forName(String name, Object obj)(Code) | | Returns the SchemaElement object associated with the schema with
the given string name and object. The second argument is meant to
help define the context for loading of the schema and can be a
FileObject[] or FileObject. Note that if if FileObject[] is used,
the first match is returned if it's not already in the cache.
It might be extended later to accept a Project as well.
Any other non-null value for the second argument will result in an
UnsupportedOperationException.
Parameters: name - the schema name Parameters: obj - the schema context the SchemaElement object for the given schema name |
forName | public static SchemaElement forName(FileObject fo)(Code) | | Returns the SchemaElement object associated with the schema with the given file object.
Parameters: fo - the file object the SchemaElement object for the given file object |
|
|