Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 



org.eclipse.jst.pagedesigner.converter
Class HTMLStringTagConverter

java.lang.Object
  extended by 

org.eclipse.jst.pagedesigner.converter.AbstractTagConverter
      extended by 
org.eclipse.jst.pagedesigner.converter.HTMLStringTagConverter
All Implemented Interfaces:
IDOMFactory, ITagConverter, org.eclipse.jst.pagedesigner.css2.style.ITagEditInfo

public abstract class HTMLStringTagConverter
extends AbstractTagConverter

For some tag, could generate some XML code.

Version:
1.5

Constructor Summary
HTMLStringTagConverter (org.w3c.dom.Element host)
           
 
Method Summary
abstract  java.lang.String getGeneratedHTML ()
           
 boolean isMultiLevel ()
          When the convert result in multi-level element.
 boolean isWidget ()
           
 
Methods inherited from class org.eclipse.jst.pagedesigner.converter. AbstractTagConverter
convertRefresh, createElement, createText, dispose, getChildModeList, getChildVisualPosition, getDestDocument, getHostElement, getMinHeight, getMinWidth, getMode, getNonVisualChildren, getResultElement, getVisualImage, hasAttribute, isAdapterForType, isDesignerMode, isPreviewMode, isVisualByHTML, needBorderDecorator, needTableDecorator, notifyChanged, setDestDocument, setMinHeight, setMinWidth, setMode, setNeedBorderDecorator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLStringTagConverter

public HTMLStringTagConverter(org.w3c.dom.Element host)
Parameters:
host -
Method Detail

getGeneratedHTML

public abstract java.lang.String getGeneratedHTML()
                                           throws java.lang.Exception
Returns:
the generated HTML string
Throws:
java.lang.Exception

isMultiLevel

public boolean isMultiLevel()
Description copied from interface: ITagConverter
When the convert result in multi-level element. If this method return false, then the caller should not use child nodes of getHostElement()

Returns:
true if the host element has convertable children

isWidget

public boolean isWidget()
Returns:
true if the host element is a widget



 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire