|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.jaxme.impl.JMControllerImpl
public class JMControllerImpl
Common subclass for JMMarshallerImpl, JMUnmarshallerImpl and JMValidatorImpl.
Field Summary | |
---|---|
protected ValidationEventHandler |
eventHandler
|
static java.lang.String |
JAXME_DATATYPE_CONVERTER
Name of the property for setting the DatatypeConverterInterface : "jaxme.datatypeConverter" |
static java.lang.String |
JAXME_FORMAT_DATE
Property for setting an instance of Format ,
which is being used for parsing and printing xs:date
values. |
static java.lang.String |
JAXME_FORMAT_DATETIME
Property for setting an instance of Format ,
which is being used for parsing and printing xs:dateTime
values. |
static java.lang.String |
JAXME_FORMAT_TIME
Property for setting an instance of Format ,
which is being used for parsing and printing xs:time
values. |
static java.lang.String |
JAXME_PRIVATE
Property prefix for users private settings: "jaxme.private."; if a property name starts with this prefix, then the property value is stored in an internal Map. |
Constructor Summary | |
---|---|
JMControllerImpl()
|
Method Summary | |
---|---|
DatatypeConverterInterface |
getDatatypeConverter()
|
java.text.Format |
getDateFormat()
Returns the Format for parsing and printing
xs:date values. |
java.text.Format |
getDateTimeFormat()
Returns the Format for parsing and printing
xs:dateTime values. |
ValidationEventHandler |
getEventHandler()
|
JAXBContextImpl |
getJAXBContextImpl()
|
java.lang.Object |
getProperty(java.lang.String pProperty)
|
java.text.Format |
getTimeFormat()
Returns the Format for parsing and printing
xs:time values. |
void |
setDatatypeConverter(DatatypeConverterInterface pConverter)
|
void |
setDateFormat(java.text.Format pFormat)
Sets the Format for parsing and printing
xs:date values. |
void |
setDateTimeFormat(java.text.Format pFormat)
Sets the Format for parsing and printing
xs:dateTime values. |
void |
setEventHandler(ValidationEventHandler pEventHandler)
|
void |
setJAXBContextImpl(JAXBContextImpl pContext)
|
void |
setProperty(java.lang.String pProperty,
java.lang.Object pValue)
|
void |
setTimeFormat(java.text.Format pFormat)
Sets the Format for parsing and printing
xs:date values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String JAXME_PRIVATE
Property prefix for users private settings: "jaxme.private."; if a property name starts with this prefix, then the property value is stored in an internal Map.
public static final java.lang.String JAXME_DATATYPE_CONVERTER
Name of the property for setting the
DatatypeConverterInterface
: "jaxme.datatypeConverter"
public static final java.lang.String JAXME_FORMAT_DATETIME
Property for setting an instance of Format
,
which is being used for parsing and printing xs:dateTime
values. Defaults to an instance of
XsDateTimeFormat
.
public static final java.lang.String JAXME_FORMAT_DATE
Property for setting an instance of Format
,
which is being used for parsing and printing xs:date
values. Defaults to an instance of
XsDateFormat
.
public static final java.lang.String JAXME_FORMAT_TIME
Property for setting an instance of Format
,
which is being used for parsing and printing xs:time
values. Defaults to an instance of
XsTimeFormat
.
protected ValidationEventHandler eventHandler
Constructor Detail |
---|
public JMControllerImpl()
Method Detail |
---|
public void setProperty(java.lang.String pProperty, java.lang.Object pValue) throws PropertyException
PropertyException
public java.lang.Object getProperty(java.lang.String pProperty) throws PropertyException
PropertyException
public ValidationEventHandler getEventHandler()
public void setEventHandler(ValidationEventHandler pEventHandler)
public void setJAXBContextImpl(JAXBContextImpl pContext)
public JAXBContextImpl getJAXBContextImpl()
public void setDatatypeConverter(DatatypeConverterInterface pConverter)
public DatatypeConverterInterface getDatatypeConverter()
public void setDateTimeFormat(java.text.Format pFormat)
Sets the Format
for parsing and printing
xs:dateTime
values.
pFormat
- An instance of DateFormat
or an
instance of XsDateTimeFormat
(default).public java.text.Format getDateTimeFormat()
Returns the Format
for parsing and printing
xs:dateTime
values.
DateFormat
or an
instance of XsDateTimeFormat
(default).public void setDateFormat(java.text.Format pFormat)
Sets the Format
for parsing and printing
xs:date
values.
pFormat
- An instance of DateFormat
or an
instance of XsDateFormat
(default).public java.text.Format getDateFormat()
Returns the Format
for parsing and printing
xs:date
values.
DateFormat
or an
instance of XsDateFormat
(default).public void setTimeFormat(java.text.Format pFormat)
Sets the Format
for parsing and printing
xs:date
values.
pFormat
- An instance of DateFormat
or an
instance of XsDateFormat
(default).public java.text.Format getTimeFormat()
Returns the Format
for parsing and printing
xs:time
values.
DateFormat
or an
instance of XsTimeFormat
(default).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |