org.lobobrowser.html.domimpl
Interface ModelNode

All Known Implementing Classes:
AttrImpl, CDataSectionImpl, CharacterDataImpl, CommentImpl, DocumentFragmentImpl, DocumentTypeImpl, ElementImpl, HTMLAbstractUIElement, HTMLAppletElementImpl, HTMLBaseElementImpl, HTMLBaseFontElementImpl, HTMLBaseInputElement, HTMLBlockQuoteElementImpl, HTMLBodyElementImpl, HTMLBRElementImpl, HTMLButtonElementImpl, HTMLCenterElementImpl, HTMLDivElementImpl, HTMLDocumentImpl, HTMLElementImpl, HTMLEmElementImpl, HTMLFontElementImpl, HTMLFontSizeChangeElementImpl, HTMLFormElementImpl, HTMLFrameElementImpl, HTMLFrameSetElementImpl, HTMLGenericMarkupElement, HTMLHeadingElementImpl, HTMLHRElementImpl, HTMLHtmlElementImpl, HTMLIFrameElementImpl, HTMLImageElementImpl, HTMLInputElementImpl, HTMLLIElementImpl, HTMLLinkElementImpl, HTMLMonospacedElementImpl, HTMLNonStandardElement, HTMLObjectElementImpl, HTMLOListElementImpl, HTMLOptionElementImpl, HTMLPElementImpl, HTMLPreElementImpl, HTMLProcessingInstruction, HTMLScriptElementImpl, HTMLSelectElementImpl, HTMLSpanElementImpl, HTMLStrikeElementImpl, HTMLStrongElementImpl, HTMLStyleElementImpl, HTMLSuperscriptElementImpl, HTMLTableCellElementImpl, HTMLTableElementImpl, HTMLTableHeadElementImpl, HTMLTableRowElementImpl, HTMLTextAreaElementImpl, HTMLTitleElementImpl, HTMLUListElementImpl, HTMLUnderlineElementImpl, NodeImpl, TextImpl

public interface ModelNode

A generic node interface. The idea is that implementors could be W3C nodes or not.


Method Summary
 java.lang.Object getDocumentItem(java.lang.String name)
           
 java.net.URL getFullURL(java.lang.String spec)
           
 ModelNode getParentModelNode()
           
 org.lobobrowser.html.style.RenderState getRenderState()
           
 boolean isEqualOrDescendentOf(ModelNode otherNode)
           
 void setDocumentItem(java.lang.String name, java.lang.Object value)
          Sets a document item.
 void warn(java.lang.String message, java.lang.Throwable err)
           
 

Method Detail

getFullURL

java.net.URL getFullURL(java.lang.String spec)
                        throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

warn

void warn(java.lang.String message,
          java.lang.Throwable err)

isEqualOrDescendentOf

boolean isEqualOrDescendentOf(ModelNode otherNode)

getParentModelNode

ModelNode getParentModelNode()

getRenderState

org.lobobrowser.html.style.RenderState getRenderState()

setDocumentItem

void setDocumentItem(java.lang.String name,
                     java.lang.Object value)
Sets a document item. A radio button, for example, can use this to set button group state.

Parameters:
name -
value -

getDocumentItem

java.lang.Object getDocumentItem(java.lang.String name)


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Cobra Project Home]