public static interface XmlResourceBundle.ResourceNode
Modifier and Type | Field and Description |
---|---|
static XmlResourceBundle.ResourceNode[] |
EMPTY_RESOURCE_NODE_ARRAY
Empty resource node array.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Get the comment.
|
java.lang.String |
getId()
Get an unique id for this resource.
|
XmlResourceBundle.ResourceNode[] |
getSubNodes()
Get the sub nodes of this node.
|
java.lang.String |
getXmlTag()
Get the XML tag of this node
|
void |
registerResources(java.util.Map<java.lang.String,XmlResourceBundle.ResourceNode> resourceMapping)
Register the resources.
|
void |
setComment(java.lang.String comment)
Set the comment.
|
java.lang.String |
toXml()
Convert the node to XML.
|
static final XmlResourceBundle.ResourceNode[] EMPTY_RESOURCE_NODE_ARRAY
java.lang.String getComment()
void setComment(java.lang.String comment)
comment
- commentjava.lang.String toXml()
XmlResourceBundle.ResourceNode[] getSubNodes()
null
if this is a node which cannot have sub nodes,void registerResources(java.util.Map<java.lang.String,XmlResourceBundle.ResourceNode> resourceMapping)
resourceMapping
- map where to registerjava.lang.String getXmlTag()
java.lang.String getId()
null
if this is no resource to look for