org.ocd.blx
Interface IXMLPersistable

All Known Subinterfaces:
IDesktop
All Known Implementing Classes:
DefaultCmdAction, DCComponent

public interface IXMLPersistable

Since:
$Date: 2002/04/15 05:25:10 $
Version:
$Revision: 1.3 $
Author:
$Author: ocd_dino $, ocd_dino - ocd_dino@users.sourceforge.net (initial author)

Field Summary
static java.lang.String BLX_CLASS_NAME_ATTR
           
static java.lang.String BLX_COMP_HEIGHT_ATTR
           
static java.lang.String BLX_COMP_ID
           
static java.lang.String BLX_COMP_NODE_NAME
           
static java.lang.String BLX_COMP_WIDTH_ATTR
           
static java.lang.String BLX_COMP_X_ATTR
           
static java.lang.String BLX_COMP_Y_ATTR
           
static java.lang.String BLX_DOCUMENT_NAME
           
static java.lang.String BLX_EXT_HREF_ATTR
           
static java.lang.String BLX_EXT_VERSION_ATTR
           
static java.lang.String BLX_EXTENSION_ATTR
           
static java.lang.String BLX_FACTORY_NODE_NAME
           
static java.lang.String BLX_FACTORY_TYPE_ATTR
           
static java.lang.String BLX_HREF_ATTR
           
static java.lang.String BLX_NS
           
static java.lang.String BLX_OBJ_NODE_NAME
           
static int COMP_TYPE
           
static int COMPONENT_FACTORY_TYPE
           
static java.lang.String COMPONENT_FACTORY_TYPE_STR
           
static int FACTORY_TYPE
           
static java.lang.String FILE_EXT
           
static int OBJECT_FACTORY_TYPE
           
static java.lang.String OBJECT_FACTORY_TYPE_STR
           
static int OBJECT_TYPE
           
 
Method Summary
 org.w3c.dom.Element getBLXElement()
          Get the BLX-Node for this Component
 org.w3c.dom.Element getXMLElement()
          Get the Data Node for this Component
 void setBLXElement(org.w3c.dom.Element pElement, java.net.URL pRelativeURL)
          Set the Node on this Component
 boolean xmlHasChanged()
          Return true if this components state has changed in a way that Requires a new XML Node to be fetched
 

Field Detail

FILE_EXT

public static final java.lang.String FILE_EXT

BLX_NS

public static final java.lang.String BLX_NS

BLX_DOCUMENT_NAME

public static final java.lang.String BLX_DOCUMENT_NAME

BLX_OBJ_NODE_NAME

public static final java.lang.String BLX_OBJ_NODE_NAME

BLX_COMP_NODE_NAME

public static final java.lang.String BLX_COMP_NODE_NAME

BLX_FACTORY_NODE_NAME

public static final java.lang.String BLX_FACTORY_NODE_NAME

BLX_FACTORY_TYPE_ATTR

public static final java.lang.String BLX_FACTORY_TYPE_ATTR

BLX_EXTENSION_ATTR

public static final java.lang.String BLX_EXTENSION_ATTR

BLX_EXT_HREF_ATTR

public static final java.lang.String BLX_EXT_HREF_ATTR

BLX_EXT_VERSION_ATTR

public static final java.lang.String BLX_EXT_VERSION_ATTR

BLX_CLASS_NAME_ATTR

public static final java.lang.String BLX_CLASS_NAME_ATTR

BLX_HREF_ATTR

public static final java.lang.String BLX_HREF_ATTR

BLX_COMP_X_ATTR

public static final java.lang.String BLX_COMP_X_ATTR

BLX_COMP_Y_ATTR

public static final java.lang.String BLX_COMP_Y_ATTR

BLX_COMP_WIDTH_ATTR

public static final java.lang.String BLX_COMP_WIDTH_ATTR

BLX_COMP_HEIGHT_ATTR

public static final java.lang.String BLX_COMP_HEIGHT_ATTR

BLX_COMP_ID

public static final java.lang.String BLX_COMP_ID

OBJECT_TYPE

public static final int OBJECT_TYPE

COMP_TYPE

public static final int COMP_TYPE

FACTORY_TYPE

public static final int FACTORY_TYPE

OBJECT_FACTORY_TYPE_STR

public static final java.lang.String OBJECT_FACTORY_TYPE_STR

COMPONENT_FACTORY_TYPE_STR

public static final java.lang.String COMPONENT_FACTORY_TYPE_STR

OBJECT_FACTORY_TYPE

public static final int OBJECT_FACTORY_TYPE

COMPONENT_FACTORY_TYPE

public static final int COMPONENT_FACTORY_TYPE
Method Detail

setBLXElement

public void setBLXElement(org.w3c.dom.Element pElement,
                          java.net.URL pRelativeURL)
Set the Node on this Component
Parameters:
pElement - Node that contains this components settings
pRelativeURL - the URL that all HREFs would be relative to

getXMLElement

public org.w3c.dom.Element getXMLElement()
Get the Data Node for this Component
Returns:
the Node that contains this Components Settings

getBLXElement

public org.w3c.dom.Element getBLXElement()
Get the BLX-Node for this Component
Returns:
the Node that contains this Components blx Settings

xmlHasChanged

public boolean xmlHasChanged()
Return true if this components state has changed in a way that Requires a new XML Node to be fetched
Returns:
true if component has changed