public abstract class BaseStaticJavaWidget extends BaseStaticWidget implements StaticJavaWidget
Modifier | Constructor and Description |
---|---|
protected |
BaseStaticJavaWidget(String textContent) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getImports() |
protected String |
getTextContent() |
void |
putImport(String packageName) |
void |
write(Writer writer) |
getChildren, getClientProperty, getParent, putClientProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getClientProperty, putClientProperty
protected BaseStaticJavaWidget(String textContent)
public Set<String> getImports()
getImports
in interface StaticJavaWidget
public void putImport(String packageName)
public void write(Writer writer) throws IOException
write
in interface StaticWidget
write
in class BaseStaticWidget
IOException
protected String getTextContent()
Copyright © 2015. All Rights Reserved.