public abstract class StaticXmlMetawidget extends StaticMetawidget implements StaticXmlWidget
StaticMetawidget.Pipeline
Constructor and Description |
---|
StaticXmlMetawidget() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAdditionalNamespaceURIs()
Some XML tags may use namespaces in addition to the one declared for their tag.
|
String |
getAttribute(String name) |
Map<String,String> |
getNamespaces()
Recurse over all children and retrieve the namespaces they use.
|
String |
getNamespaceURI() |
String |
getPrefix() |
String |
getTextContent() |
void |
putAttribute(String name,
String value) |
void |
setTextContent(String textContent) |
void |
write(Writer writer,
int initialIndent)
Write the Metawidget output using the given Writer.
|
addWidgetProcessor, beforeBuildCompoundWidget, getConfig, getConfigReader, getDefaultConfiguration, getInspector, getLabelString, getLayout, getPath, getWidgetBuilder, getWidgetProcessor, getWidgetProcessors, initNestedMetawidget, inspect, inspect, isReadOnly, newPipeline, removeWidgetProcessor, setConfig, setConfigReader, setInspectionResultProcessors, setInspector, setLayout, setMaximumInspectionDepth, setPath, setReadOnly, setWidgetBuilder, setWidgetProcessors, startBuild, write
getChildren, getClientProperty, getParent, putClientProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getClientProperty, putClientProperty, write
public void putAttribute(String name, String value)
putAttribute
in interface StaticXmlWidget
public String getAttribute(String name)
getAttribute
in interface StaticXmlWidget
public String getPrefix()
getPrefix
in interface StaticXmlWidget
public Map<String,String> getAdditionalNamespaceURIs()
StaticXmlWidget
getAdditionalNamespaceURIs
in interface StaticXmlWidget
public String getTextContent()
getTextContent
in interface StaticXmlWidget
public void setTextContent(String textContent)
setTextContent
in interface StaticXmlWidget
public void write(Writer writer, int initialIndent)
StaticMetawidget
write
in class StaticMetawidget
initialIndent
- the initialIndent that will be applied to every line. 0 for no initial indent. -1
for no subsequent indenting eitherpublic String getNamespaceURI()
getNamespaceURI
in interface StaticXmlWidget
Copyright © 2015. All Rights Reserved.