public class PropertyContainerPeriodFormatter extends java.lang.Object implements DomFormatter<PropertyContainer>
| Constructor and Description |
|---|
PropertyContainerPeriodFormatter() |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Node |
format(org.w3c.dom.Document doc,
PropertyContainer value)
format the input value as a Dom Node.
|
uk.ac.ed.epcc.webapp.time.SplitPeriod |
getPeriod(PropertyContainer o) |
java.lang.Class<? super PropertyContainer> |
getTarget()
Get the target type for this formatter.
|
public java.lang.Class<? super PropertyContainer> getTarget()
DomFormattergetTarget in interface DomFormatter<PropertyContainer>getTarget in interface uk.ac.ed.epcc.webapp.Targetted<PropertyContainer>public org.w3c.dom.Node format(org.w3c.dom.Document doc,
PropertyContainer value)
throws java.lang.Exception
DomFormatterformat in interface DomFormatter<PropertyContainer>java.lang.Exceptiondoc - document to create result inpublic uk.ac.ed.epcc.webapp.time.SplitPeriod getPeriod(PropertyContainer o) throws InvalidPropertyException
InvalidPropertyException