org.eclipse.jst.pagedesigner.converter
Class HTMLStringTagConverter
java.lang.Object
org.eclipse.jst.pagedesigner.converter.AbstractTagConverter
org.eclipse.jst.pagedesigner.converter.HTMLStringTagConverter
- All Implemented Interfaces:
- IDOMFactory, ITagConverter, org.eclipse.jst.pagedesigner.css2.style.ITagEditInfo, org.eclipse.wst.sse.core.internal.provisional.INodeAdapter
public abstract class HTMLStringTagConverter
- extends AbstractTagConverter
For some tag, could generate some XML code.
- Version:
- 1.5
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 |
HTMLStringTagConverter
public HTMLStringTagConverter(org.w3c.dom.Element host)
- Parameters:
host
-
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