Interface ModelNode

All Known Implementing Classes:
AttrImpl, CDataSectionImpl, CharacterDataImpl, CommentImpl, DocumentFragmentImpl, DocumentImpl, DocumentTypeImpl, ElementImpl, EntityReferenceImpl, HTMLAnchorElementImpl, HTMLBaseElementImpl, HTMLBasicInputElement, HTMLBodyElementImpl, HTMLBRElementImpl, HTMLButtonElementImpl, HTMLCanvasElementImpl, HTMLCenterElementImpl, HTMLDDElementImpl, HTMLDetailsElementImpl, HTMLDialogElementImpl, HTMLDirectoryElementImpl, HTMLDivElementImpl, HTMLDListElementImpl, HTMLDocumentImpl, HTMLElementImpl, HTMLEmElementImpl, HTMLFieldsetElementImpl, HTMLFigureElementImpl, HTMLFormElementImpl, HTMLGenericMarkupElement, HTMLHeadElementImpl, HTMLHeadingElementImpl, HTMLHRElementImpl, HTMLHtmlElementImpl, HTMLIFrameElementImpl, HTMLImageElementImpl, HTMLInputElementImpl, HTMLLabelElementImpl, HTMLLegendElementImpl, HTMLLIElementImpl, HTMLLinkElementImpl, HTMLMarqueeElementImpl, HTMLMeterElementImpl, HTMLMonospacedElementImpl, HTMLNonStandardElement, HTMLNoScriptElementImpl, HTMLObjectElementImpl, HTMLOListElementImpl, HTMLOptGroupElementImpl, HTMLOptionElementImpl, HTMLPElementImpl, HTMLPreElementImpl, HTMLProcessingInstruction, HTMLProgressElementImpl, HTMLQuoteElementImpl, HTMLScriptElementImpl, HTMLSelectElementImpl, HTMLSmallElementImpl, HTMLSpanElementImpl, HTMLStrikeElementImpl, HTMLStrongElementImpl, HTMLStyleElementImpl, HTMLSuperscriptElementImpl, HTMLTableCaptionElementImpl, HTMLTableCellElementImpl, HTMLTableColElementImpl, HTMLTableColGroupElementImpl, HTMLTableElementImpl, HTMLTableRowElementImpl, HTMLTableSectionElementImpl, HTMLTextAreaElementImpl, HTMLTitleElementImpl, HTMLUListElementImpl, HTMLUnderlineElementImpl, HTMLVideoElementImpl, NodeImpl, NotationImpl, RSSChanelElementImpl, RSSDescriptionElementImpl, RSSElement, RSSElementImpl, RSSItemElementImpl, RSSTitleElementImpl, SVGAElementImpl, SVGAnimateElementImpl, SVGAnimateTransformElementImpl, SVGAnimationElementImpl, SVGAnimationImpl, SVGCircleElementImpl, SVGClipPathElementImpl, SVGDefsElementImpl, SVGElementImpl, SVGEllipseElementImpl, SVGFontElementImpl, SVGFontFaceElementImpl, SVGGElementImpl, SVGGradientElementImpl, SVGGraphic, SVGImageElementImpl, SVGLinearGradientElementImpl, SVGLineElementImpl, SVGLocatableImpl, SVGPathElementImpl, SVGPolygonElementImpl, SVGPolylineElementImpl, SVGRadialGradientElementImpl, SVGRectElementImpl, SVGStopElementImpl, SVGStylableImpl, SVGSVGElementImpl, SVGSymbolElementImpl, SVGTextElementImpl, SVGTransformableImpl, SVGUseElementImpl, TextImpl

public interface ModelNode
A generic node interface. The idea is that implementors could be W3C nodes or not.
  • Method Details

    • getDocumentItem

      Object getDocumentItem(String name)

      getDocumentItem.

      Parameters:
      name - a String object.
      Returns:
      a Object object.
    • getFullURL

      URL getFullURL(String spec) throws Exception

      getFullURL.

      Parameters:
      spec - a String object.
      Returns:
      a URL object.
      Throws:
      Exception - if any.
    • getParentModelNode

      ModelNode getParentModelNode()

      getParentModelNode.

      Returns:
      a ModelNode object.
    • getRenderState

      RenderState getRenderState()

      getRenderState.

      Returns:
      a RenderState object.
    • isEqualOrDescendentOf

      boolean isEqualOrDescendentOf(ModelNode otherNode)

      isEqualOrDescendentOf.

      Parameters:
      otherNode - a ModelNode object.
      Returns:
      a boolean.
    • setDocumentItem

      void setDocumentItem(String name, Object value)
      Sets a document item. A radio button, for example, can use this to set button group state.
      Parameters:
      name - a String object.
      value - a Object object.
    • warn

      void warn(String message, Throwable err)

      warn.

      Parameters:
      message - a String object.
      err - a Throwable object.