public class Version extends XmlFragment
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
version |
level, xpath
Constructor and Description |
---|
Version()
Creates a new instance of Version
|
Version(Version version)
copy constructor version
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear version
|
boolean |
equals(java.lang.Object obj)
Overriding the default equals() method for version
|
java.lang.String |
getContent()
Tag content getter
|
java.lang.String |
getDefaultContent()
Tag default content getter
|
java.lang.StringBuffer |
getXml() |
int |
hashCode()
Overriding the default hashCode() method for version
|
void |
set(org.w3c.dom.Node node)
xml version setter
|
void |
setContent(java.lang.String versionContent)
version content setter
|
void |
setDefaultContent(java.lang.String versionDefaultContent)
version default content setter
You may call this method manually to fix default content.
|
void |
setDefaultVersion(Version version)
setter for version
Default values are changed.
|
void |
setVersion(Version version)
setter for version
Default values are unchanged.
|
att, closeTag, composeXml, composeXml, getLevelIndentation, getXPath, hidden, hide, openTag, openTag, tag, tag, taginline, taginline, toText, toXml, xml
public static final java.lang.String version
public Version()
public Version(Version version)
version
- instance to copypublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.StringBuffer getXml()
getXml
in class XmlFragment
public void setContent(java.lang.String versionContent)
versionContent
- content of versionpublic java.lang.String getContent()
public void setDefaultContent(java.lang.String versionDefaultContent)
versionDefaultContent
- default content of versionpublic java.lang.String getDefaultContent()
public void setVersion(Version version)
version
- instance to copypublic void setDefaultVersion(Version version)
version
- instance to copypublic void set(org.w3c.dom.Node node) throws SoftwareException
node
- xml node for versionSoftwareException
- if node is not for versionpublic void clear()