|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.impl.JMControllerImpl
public abstract 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.". |
Constructor Summary | |
---|---|
JMControllerImpl()
|
Method Summary | |
---|---|
DatatypeConverterInterface |
getDatatypeConverter()
Returns the marshallers or unmarshallers datatype converter. |
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()
Returns a users event handler for validation events, if any. |
JAXBContextImpl |
getJAXBContextImpl()
Returns the marshallers or unmarshallers JAXBContext . |
java.lang.Object |
getProperty(java.lang.String pProperty)
Returns the value for property pProperty . |
java.text.Format |
getTimeFormat()
Returns the Format for parsing and printing
xs:time values. |
void |
setDatatypeConverter(DatatypeConverterInterface pConverter)
Sets the marshallers or unmarshallers datatype converter. |
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)
Sets a users event handler for validation events. |
void |
setJAXBContextImpl(JAXBContextImpl pContext)
Sets the marshallers or unmarshallers JAXBContext . |
void |
setProperty(java.lang.String pProperty,
java.lang.Object pValue)
Sets the property pProperty to the value
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
public static final java.lang.String JAXME_DATATYPE_CONVERTER
DatatypeConverterInterface
: "jaxme.datatypeConverter".
public static final java.lang.String JAXME_FORMAT_DATETIME
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
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
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
pProperty
to the value
pValue
.
PropertyException
public java.lang.Object getProperty(java.lang.String pProperty) throws PropertyException
pProperty
.
PropertyException
public ValidationEventHandler getEventHandler()
setEventHandler(ValidationEventHandler)
public void setEventHandler(ValidationEventHandler pEventHandler)
getEventHandler()
public void setJAXBContextImpl(JAXBContextImpl pContext)
JAXBContext
. This is used mainly as an
object factory.
public JAXBContextImpl getJAXBContextImpl()
JAXBContext
. This is used mainly as an
object factory.
public void setDatatypeConverter(DatatypeConverterInterface pConverter)
DatatypeConverterImpl
.
public DatatypeConverterInterface getDatatypeConverter()
DatatypeConverterImpl
.
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 |