|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ocd.blx.XMLObjectWrapper
Constructor Summary | |
XMLObjectWrapper()
Creates new XMLObjectWrapper |
|
XMLObjectWrapper(org.w3c.dom.Document pBLXDocument,
java.net.URL pMainURL)
Creates new XMLObjectWrapper |
|
XMLObjectWrapper(org.w3c.dom.Node pBLXNode,
java.net.URL pMainURL)
Creates new XMLObjectWrapper |
|
XMLObjectWrapper(java.net.URL pMainURL)
Creates new XMLObjectWrapper |
|
XMLObjectWrapper(java.net.URL pMainURL,
java.lang.String pBLXData)
Creates new XMLObjectWrapper |
Method Summary | |
org.w3c.dom.Element |
createBLXElement()
Create an BLX Element for this XML Object |
java.net.URL |
getAbsoluteHREF()
Get the Absolute URL for the HREF attribute If the HREF attribute is not set then this returns null |
org.w3c.dom.Element |
getBLXElement()
Get the BLXElement that was used to create this Wrapper Object |
java.lang.String |
getClassName()
Get the ClassName for this BLX Object |
java.lang.String |
getExtensionHREF()
Get the Extension HREF |
java.lang.String |
getExtensionName()
Get the Name of the Extension |
int |
getFactoryType()
If this Object represents a Factory then this returns the type of the factory |
org.w3c.dom.Element |
getFirstChildElement(java.lang.String pElementName)
Get the FirstChildElement of the BLXElement This Element would represent the Data Element of a BLXElement Node |
java.lang.String |
getHREF()
Gets the HREF for this BLX Object's Data Element |
java.lang.String |
getID()
Get a Unigue ID of this Component |
java.awt.Point |
getLocation()
Get the XY Location of the Component that this BLX Element Represents |
java.net.URL |
getMainURL()
Get the URL that all HREF attributes are relative to |
java.awt.Dimension |
getSize()
Get the Size of the Component that this BLX Element Represents |
int |
getType()
Get the Type that this Wrapper Object Represents |
java.lang.String |
getVersion()
Get the Version of the Extension this BLX Object requires |
protected void |
processNode()
Process the blxNode and setup all Attributes of this Wrapper Object |
void |
setClassName(java.lang.String pClassName)
Set the ClassName of this BLX Object |
void |
setExtensionHREF(java.lang.String pHREF)
Set the HREF for the URL to this Objects Extension |
void |
setExtensionName(java.lang.String pExtName)
Set the Name of the Extension this BLX Object uses |
void |
setFactoryType(int pType)
If this Object represents a Factory then this sets the Factory Type |
void |
setHREF(java.lang.String pHREF)
Set the HREF URL of this BLX Object |
void |
setMainURL(java.net.URL pMainURL)
URL that all HREF attributes will be relative to |
void |
setType(int pType)
Set the Type that this Wrapper Object Represents |
void |
setVersion(java.lang.String pVersion)
Set the Version of the Extension required by this BLX Object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLObjectWrapper()
public XMLObjectWrapper(java.net.URL pMainURL)
pMainURL
- - URL that all HREFS will be relative topublic XMLObjectWrapper(java.net.URL pMainURL, java.lang.String pBLXData) throws InvalidBLXXMLException
pMainURL
- - URL that all HREFS will be relative topBLXData
- - String XML that represents the BLX node and contentInvalidBLXXMLException
- if the pBLXData doesn't represent a BLX Nodepublic XMLObjectWrapper(org.w3c.dom.Node pBLXNode, java.net.URL pMainURL) throws InvalidBLXXMLException
pBLXDocument
- - the root element should be a BLXElementpMainURL
- - URL that all HREFS will be relative toInvalidBLXXMLException
- if the pBLXNode doesn't represent a BLX Nodepublic XMLObjectWrapper(org.w3c.dom.Document pBLXDocument, java.net.URL pMainURL) throws InvalidBLXXMLException
pBLXDocument
- - the root element should be a BLXElementpMainURL
- - URL that all HREFS will be relative toInvalidBLXXMLException
- if the Root Node of the Document doesn't represent a BLX NodeMethod Detail |
protected void processNode() throws InvalidBLXXMLException
public java.net.URL getAbsoluteHREF()
public void setMainURL(java.net.URL pMainURL)
pMainURL
- public java.net.URL getMainURL()
public int getType()
public void setType(int pType)
pType
- (IXMLPersitable.OBJECT_TYPE, IXMLPersitable.COMP_TYPE, IXMLPersitable.FACTORY_TYPE)public int getFactoryType()
public void setFactoryType(int pType)
pType
- (IXMLPersitable.OBJECT_FACTORY_TYPE , IXMLPersitable.COMPONET_FACTORY_TYPE)public java.lang.String getClassName()
public void setClassName(java.lang.String pClassName)
pClassName
- public java.lang.String getExtensionName()
public void setExtensionName(java.lang.String pExtName)
pExtName
- public java.lang.String getExtensionHREF()
public void setExtensionHREF(java.lang.String pHREF)
pHREF
- of Extension URLpublic java.lang.String getVersion()
public void setVersion(java.lang.String pVersion)
pVersion
- of Extensionpublic java.lang.String getHREF()
public void setHREF(java.lang.String pHREF)
pHREF
- String url of this Objects Data XMLpublic org.w3c.dom.Element createBLXElement()
Document
- Owner to use to Create the Elementpublic org.w3c.dom.Element getBLXElement()
public org.w3c.dom.Element getFirstChildElement(java.lang.String pElementName)
pElementName
- - name of the child elementpublic java.awt.Point getLocation()
public java.awt.Dimension getSize()
public java.lang.String getID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |