org.ocd.blx
Interface ICompFactory
- All Known Implementing Classes:
- CompFactory
- public interface ICompFactory
- Since:
- $Date: 2002/08/14 07:29:48 $
- Version:
- $Revision: 1.6 $
- Author:
- $Author: drichan $, ocd_dino - ocd_dino@users.sourceforge.net (initial author)
Method Summary |
org.w3c.dom.Document |
getBLXDocument(IXMLPersistable pBLXObject)
Get a BLX Document Object from an IXMLPersistable Object |
java.awt.Component |
getComponent(org.w3c.dom.Document pDocument,
java.net.URL pMainURL)
|
java.awt.Component |
getComponent(org.w3c.dom.Node pNode,
java.net.URL pMainURL)
|
java.awt.Component |
getComponent(java.lang.String pName,
java.lang.ClassLoader pLoader)
|
java.awt.Component |
getComponent(java.lang.String pName,
java.lang.String pExtension)
|
java.awt.Component |
getComponent(java.lang.String pName,
java.net.URL pExtURL)
|
java.awt.Component |
getComponent(java.net.URL pURL)
|
java.awt.Component |
getComponent(XMLObjectWrapper pWrapper)
|
java.lang.Object |
getObject(org.w3c.dom.Document pDocument,
java.net.URL pMainURL)
|
java.lang.Object |
getObject(org.w3c.dom.Node pNode,
java.net.URL pMainURL)
|
java.lang.Object |
getObject(java.lang.String pName,
java.lang.ClassLoader pLoader)
|
java.lang.Object |
getObject(java.lang.String pName,
java.lang.String pExtension)
|
java.lang.Object |
getObject(java.lang.String pName,
java.net.URL pExtURL)
|
java.lang.Object |
getObject(java.net.URL pMainURL)
|
java.lang.Object |
getObject(XMLObjectWrapper pWrapper)
|
getBLXDocument
public org.w3c.dom.Document getBLXDocument(IXMLPersistable pBLXObject)
- Get a BLX Document Object from an IXMLPersistable Object
- Parameters:
pBLXObject
- blx Object to obtain the Document for- Returns:
- dom Document
getComponent
public java.awt.Component getComponent(java.net.URL pURL)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
InvalidBLXXMLException,
java.io.IOException
- Parameters:
pURL
- of the BLX Document- Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
- InvalidBLXXMLException
-
getComponent
public java.awt.Component getComponent(org.w3c.dom.Document pDocument,
java.net.URL pMainURL)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
InvalidBLXXMLException
- Parameters:
pDocument
- pMainURL,
- url used for all relative links in the Document- Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
- InvalidBLXXMLException
-
getComponent
public java.awt.Component getComponent(org.w3c.dom.Node pNode,
java.net.URL pMainURL)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
InvalidBLXXMLException
- Parameters:
pNode
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
- InvalidBLXXMLException
-
getComponent
public java.awt.Component getComponent(XMLObjectWrapper pWrapper)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException
- Parameters:
pWrapper
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
-
getComponent
public java.awt.Component getComponent(java.lang.String pName,
java.lang.String pExtension)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException
- Parameters:
pName
- pExtension
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
-
getComponent
public java.awt.Component getComponent(java.lang.String pName,
java.net.URL pExtURL)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException
- Parameters:
pName
- pExtURL
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
-
getComponent
public java.awt.Component getComponent(java.lang.String pName,
java.lang.ClassLoader pLoader)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException
- Parameters:
pName
- pLoader
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
-
getObject
public java.lang.Object getObject(java.net.URL pMainURL)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
InvalidBLXXMLException
- Parameters:
pURL
- main URL that all relative URLs are calculated from- Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
- InvalidBLXXMLException
-
getObject
public java.lang.Object getObject(org.w3c.dom.Document pDocument,
java.net.URL pMainURL)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
InvalidBLXXMLException
- Parameters:
pDocument
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
- InvalidBLXXMLException
-
getObject
public java.lang.Object getObject(org.w3c.dom.Node pNode,
java.net.URL pMainURL)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
InvalidBLXXMLException
- Parameters:
pNode
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
- InvalidBLXXMLException
-
getObject
public java.lang.Object getObject(XMLObjectWrapper pWrapper)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException
- Parameters:
pWrapper
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
-
getObject
public java.lang.Object getObject(java.lang.String pName,
java.lang.ClassLoader pLoader)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException
- Parameters:
pName
- pLoader
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
-
getObject
public java.lang.Object getObject(java.lang.String pName,
java.lang.String pExtension)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException
- Parameters:
pName
- pExtension
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
-
getObject
public java.lang.Object getObject(java.lang.String pName,
java.net.URL pExtURL)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException
- Parameters:
pName
- pExtURL
- - Returns:
-
- Throws:
java.lang.ClassNotFoundException
- java.lang.InstantiationException
-