public class ReleaseNotes extends XMLMessage
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHANGE_TYPE_BUGFIX
Some static change type from the DTD.
|
static java.lang.String |
CHANGE_TYPE_ENHANCEMENT
Some static change type from the DTD.
|
static java.lang.String |
CHANGE_TYPE_MISC
Some static change type from the DTD.
|
static java.lang.String |
CHANGE_TYPE_NEW
Some static change type from the DTD.
|
static java.lang.String |
CHANGE_TYPE_SECURITY
Some static change type from the DTD.
|
static java.lang.String |
RELEASE_NOTES_DOCNAME
The name of the root element.
|
static java.lang.String |
RELEASE_NOTES_DTD
The underlying DTD.
|
Constructor and Description |
---|
ReleaseNotes()
Constructs an instance based on a given DTD.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.String[]> |
getCategories()
Provides the categories from the release notes file.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getCategoriesByID()
Provides the categories from the release notes files to get the names by ID.
|
java.util.Vector<java.lang.String[]> |
getChangeTypes()
Provides the change types (static).
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getChangeTypesByID()
Provides the change types (static) to get the names by ID.
|
java.util.Vector<java.lang.String[]> |
getEditions()
Provides the editions from the release notes file.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getEditionsByID()
Provides the editions from the release notes files to get the names by ID.
|
java.util.Vector<java.util.Properties> |
getEntries(java.lang.String id,
boolean activeonly)
Provides the entries for a specific product from the release notes file.
|
Locale |
getLocale()
Provides the locale from the release notes file.
|
java.util.Vector<java.util.Properties> |
getProducts()
Provides the products from the release notes file.
|
java.lang.String |
replaceIDs(java.lang.String idlist,
java.util.Hashtable<java.lang.String,java.lang.String> cache)
Replaces the IDs from the list by their associated display names.
|
canProcess, getAttribute, getAttributeValue, getContents, getDocument, getDTD, getElement, getElements, getElementValue, getEncoding, getIntFunctionResult, isArmed, isValid, printDocument, read, read, setEncoding, setFormat, write, write
public static final java.lang.String RELEASE_NOTES_DTD
public static final java.lang.String RELEASE_NOTES_DOCNAME
public static final java.lang.String CHANGE_TYPE_NEW
public static final java.lang.String CHANGE_TYPE_ENHANCEMENT
public static final java.lang.String CHANGE_TYPE_BUGFIX
public static final java.lang.String CHANGE_TYPE_SECURITY
public static final java.lang.String CHANGE_TYPE_MISC
public ReleaseNotes()
public java.util.Vector<java.util.Properties> getProducts()
getProperty("id")
etc.
null
or emptypublic java.util.Vector<java.util.Properties> getEntries(java.lang.String id, boolean activeonly)
getProperty("text")
etc.
The text lines are concatenated with NEWLINE separator to be restored.
id
- The product identifier like "digester-1.6.1_3"activeonly
- Provide only active entries?null
or emptypublic java.util.Vector<java.lang.String[]> getCategories()
categories
element these are NOT supported!
null
or emptypublic java.util.Hashtable<java.lang.String,java.lang.String> getCategoriesByID()
null
or emptypublic java.util.Vector<java.lang.String[]> getEditions()
editions
element these are NOT supported!
null
or emptypublic java.util.Hashtable<java.lang.String,java.lang.String> getEditionsByID()
null
or emptypublic Locale getLocale()
null
public java.lang.String replaceIDs(java.lang.String idlist, java.util.Hashtable<java.lang.String,java.lang.String> cache)
idlist
- The comma separated list of IDscache
- The container with IDs (keys) and names (values)public java.util.Vector<java.lang.String[]> getChangeTypes()
null
or emptypublic java.util.Hashtable<java.lang.String,java.lang.String> getChangeTypesByID()
null
or emptyCopyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.