org.apache.ws.jaxme.impl
Class JMControllerImpl
java.lang.Objectorg.apache.ws.jaxme.impl.JMControllerImpl
public abstract class JMControllerImpl
extends java.lang.Object
Common subclass for JMMarshallerImpl, JMUnmarshallerImpl and
JMValidatorImpl.
$Id: JMControllerImpl.java 279090 2005-09-06 20:26:11Z jochen $
JAXME_DATATYPE_CONVERTER
public static final String JAXME_DATATYPE_CONVERTER
JAXME_FORMAT_DATE
public static final String JAXME_FORMAT_DATE
Property for setting an instance of
java.text.Format,
which is being used for parsing and printing
xs:date
values. Defaults to an instance of
XsDateFormat.
JAXME_FORMAT_DATETIME
public static final String JAXME_FORMAT_DATETIME
Property for setting an instance of
java.text.Format,
which is being used for parsing and printing
xs:dateTime
values. Defaults to an instance of
XsDateTimeFormat.
JAXME_FORMAT_TIME
public static final String JAXME_FORMAT_TIME
Property for setting an instance of
java.text.Format,
which is being used for parsing and printing
xs:time
values. Defaults to an instance of
XsTimeFormat.
JAXME_PRIVATE
public static final 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.
getDateFormat
public Format getDateFormat()
Returns the java.text.Format for parsing and printing
xs:date values.
- An instance of
java.text.DateFormat or an
instance of XsDateFormat
(default).
getDateTimeFormat
public Format getDateTimeFormat()
Returns the java.text.Format for parsing and printing
xs:dateTime values.
- An instance of
java.text.DateFormat or an
instance of XsDateTimeFormat
(default).
getEventHandler
public ValidationEventHandler getEventHandler()
Returns a users event handler for validation events, if any.
Defaults to null.
getJAXBContextImpl
public JAXBContextImpl getJAXBContextImpl()
Returns the marshallers or unmarshallers
JAXBContext. This is used mainly as an
object factory.
getProperty
public Object getProperty(String pProperty)
throws PropertyExceptionReturns the value for property pProperty.
getTimeFormat
public Format getTimeFormat()
Returns the java.text.Format for parsing and printing
xs:time values.
- An instance of
java.text.DateFormat or an
instance of XsTimeFormat
(default).
setDateFormat
public void setDateFormat(Format pFormat)
Sets the java.text.Format for parsing and printing
xs:date values.
pFormat - An instance of java.text.DateFormat or an
instance of XsDateFormat
(default).
setDateTimeFormat
public void setDateTimeFormat(Format pFormat)
Sets the java.text.Format for parsing and printing
xs:dateTime values.
pFormat - An instance of java.text.DateFormat or an
instance of XsDateTimeFormat
(default).
setEventHandler
public void setEventHandler(ValidationEventHandler pEventHandler)
Sets a users event handler for validation events.
Defaults to null.
setJAXBContextImpl
public void setJAXBContextImpl(JAXBContextImpl pContext)
Sets the marshallers or unmarshallers
JAXBContext. This is used mainly as an
object factory.
setProperty
public void setProperty(String pProperty,
Object pValue)
throws PropertyExceptionSets the property pProperty to the value
pValue.
setTimeFormat
public void setTimeFormat(Format pFormat)
Sets the java.text.Format for parsing and printing
xs:date values.
pFormat - An instance of java.text.DateFormat or an
instance of XsDateFormat
(default).