|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ibisph.mvc.model.SimpleXMLModelAndDate
public class SimpleXMLModelAndDate
Base Model structure for most XML controllers. Defines the standard XML model (XML systemID or document object) and the XML's date along with a basic constructors, setters, and required getters. These two components, XML data object and date, form the basis of the model created by most XML based controllers and used for the XML/XSLT transformation view.
| Field Summary | |
|---|---|
protected java.util.Date |
xmlDate
|
protected java.lang.Object |
xmlModel
|
| Constructor Summary | |
|---|---|
protected |
SimpleXMLModelAndDate()
Hidden constructor - forces non blank instances. |
|
SimpleXMLModelAndDate(java.lang.Object xmlModel)
Simplest constructor that accepts an XML Model object. |
|
SimpleXMLModelAndDate(java.lang.Object xmlModel,
java.util.Date xmlDate)
Basic constructor that sets both the XML data representation object and the XML's date object. |
|
SimpleXMLModelAndDate(java.lang.Object xmlModel,
long dateTime)
Basic constructor that sets both the XML data representation object and the XML's date object. |
| Method Summary | |
|---|---|
java.util.Date |
getXMLDate()
Basic getter method that returns the XML's date object. |
java.lang.Object |
getXMLModel()
Basic getter method that returns the XML model object. |
void |
setXMLDate(java.util.Date date)
Sets the XML model's date object. |
void |
setXMLDate(long dateTime)
Sets the date object based on the long value passed in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object xmlModel
protected java.util.Date xmlDate
| Constructor Detail |
|---|
protected SimpleXMLModelAndDate()
public SimpleXMLModelAndDate(java.lang.Object xmlModel)
xmlModel - SystemID or DOM object that represents the XML data.
public SimpleXMLModelAndDate(java.lang.Object xmlModel,
java.util.Date xmlDate)
xmlModel - SystemID or DOM object that represents the XML data.xmlDate - Date object that is associated with the XML data.
public SimpleXMLModelAndDate(java.lang.Object xmlModel,
long dateTime)
xmlModel - SystemID or DOM object that represents the XML data.dateTime - long value representing the XML model's date/time (ms
since some starting point in time as defined by Java Date).| Method Detail |
|---|
public void setXMLDate(java.util.Date date)
date - XML model's date value object.public void setXMLDate(long dateTime)
dateTime - long value representing the XML model's date/time (ms
since some starting point in time as defined by Java Date).public java.lang.Object getXMLModel()
getXMLModel in interface XMLModelAndDatepublic java.util.Date getXMLDate()
getXMLDate in interface XMLModelAndDate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||