|
Ila | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.topoweb.ila.protocol.PNode
The XML respresentation of a Node instance.
| Field Summary |
| Fields inherited from interface org.topoweb.ila.protocol.ProtocolConstants |
PC_BACKLINK_COUNT, PC_BACKLINKS, PC_CO_BACKLINK_COUNT, PC_CO_FORELINK_COUNT, PC_CONTENT_LENGTH, PC_CONTENT_TYPE, PC_ERROR_CODE, PC_EXPIRATION, PC_FAIL, PC_FIRST, PC_FORELINK_COUNT, PC_FORELINKS, PC_GET_KNOWN, PC_GET_LINK_NODE, PC_GET_LINKS, PC_GET_NODE, PC_HI, PC_HTTP, PC_ID, PC_ILA, PC_INCOMMUNICADO, PC_LAST, PC_LAST_MODIFIED, PC_LINK_NODE, PC_LINK_TYPE, PC_LO, PC_MAX_COUNT, PC_NODE, PC_NODE_SET, PC_OKAY, PC_ORI, PC_PAGE, PC_REGISTER, PC_REQUEST, PC_RESPONSE, PC_SIZE, PC_STATE, PC_STATUS, PC_SYNC_VERSION_ID, PC_SYNC_VERSION_TIMESTAMP, PC_TITLE, PC_USER, PC_USER_AGENT, PC_USER_NAMESPACE, PC_VERSION, PC_VERSION_ID, PC_VERSION_TIMESTAMP |
| Fields inherited from interface org.topoweb.ila.NodeConstants |
BACK, FIRST_PAGE, FORE, LAST_PAGE, LINK_MASK, PAGE_MASK |
| Fields inherited from interface org.topoweb.ila.StateConstants |
NF, NK, NV, OK |
| Constructor Summary | |
PNode(PState pstate)
Creates a new instance with the given entity translator. |
|
| Method Summary | |
org.w3c.dom.Element |
toElement(Node node,
org.w3c.dom.Document factory)
Translates the specified node using the given
factory. |
Node |
toNode(org.w3c.dom.Element element)
Translates the given element to a Node
instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PNode(PState pstate)
pstate - the State entity translator
java.lang.IllegalArgumentException - if pstate is null| Method Detail |
public Node toNode(org.w3c.dom.Element element)
throws IlaProtocolException
element to a Node
instance.
element - the XML representation of a Node
Node instance
IlaProtocolException - if there is an error in the XML representation
public org.w3c.dom.Element toElement(Node node,
org.w3c.dom.Document factory)
node using the given
factory. The element returned is not appended to the
factory as its child.
node - the instance to be translatedfactory - the Document from which
Element instances are created
|
Ila | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||