|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xoe.core.dom.XNode | +--org.xoe.core.dom.ParentNode | +--org.xoe.core.dom.XElement | +--org.xoe.core.services.ServiceInstanceElement
DOM Element used to represent IServices inside the ServiceLocator. Each ServiceInstanceElement contains a DOM representation of the IService that it represents. The only thing it adds to a simple BaseElement is a hash key for finding the actual IService.
Fields inherited from class org.xoe.core.dom.XNode |
callbacks |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
ServiceInstanceElement()
|
Method Summary | |
protected void |
addFeature(String functionality,
String name,
String value)
|
protected void |
addFunctionality(IService provider,
String func)
Add Interfaces and Features for the DOM tree for the given Functionality. |
void |
addInfo(String name,
String value)
|
protected void |
addInterface(Object provider,
String functionality,
String iface)
|
IService |
getProvider()
|
protected Object |
getProviderKey()
|
void |
init(IService provider)
Build the DOM tree for this element based on information from the IService. |
Methods inherited from class org.xoe.core.dom.XElement |
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setNodeName, setPrefix |
Methods inherited from class org.xoe.core.dom.ParentNode |
appendChild, getChildNodes, getFirstChild, getLastChild, getLength, hasChildNodes, insertBefore, item, removeChild, replaceChild, reset |
Methods inherited from class org.xoe.core.dom.XNode |
getCallback, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, isSupported, setCallback, setNodeValue, setParentNode, supports, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, isSupported, removeChild, replaceChild, setNodeValue |
Constructor Detail |
public ServiceInstanceElement()
Method Detail |
protected Object getProviderKey()
public void init(IService provider)
protected void addFunctionality(IService provider, String func)
public IService getProvider()
protected void addFeature(String functionality, String name, String value)
public void addInfo(String name, String value)
protected void addInterface(Object provider, String functionality, String iface) throws ClassCastException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |