org.apache.ws.jaxme.impl
public abstract class JMControllerImpl extends Object
Common subclass for JMMarshallerImpl, JMUnmarshallerImpl and JMValidatorImpl.
Version: $Id: JMControllerImpl.java 279090 2005-09-06 20:26:11Z jochen $
Field Summary | |
---|---|
protected ValidationEventHandler | eventHandler |
static String | JAXME_DATATYPE_CONVERTER Name of the property for setting the
DatatypeConverterInterface: "jaxme.datatypeConverter". |
static String | JAXME_FORMAT_DATE Property for setting an instance of java.text.Format,
which is being used for parsing and printing xs:date
values. |
static String | JAXME_FORMAT_DATETIME Property for setting an instance of java.text.Format,
which is being used for parsing and printing xs:dateTime
values. |
static String | JAXME_FORMAT_TIME Property for setting an instance of java.text.Format,
which is being used for parsing and printing xs:time
values. |
static String | JAXME_PRIVATE Property prefix for users private settings:
"jaxme.private.". |
Method Summary | |
---|---|
DatatypeConverterInterface | getDatatypeConverter() Returns the marshallers or unmarshallers datatype converter.
|
Format | getDateFormat() Returns the java.text.Format for parsing and printing
|
Format | getDateTimeFormat() Returns the java.text.Format for parsing and printing
|
ValidationEventHandler | getEventHandler() Returns a users event handler for validation events, if any.
|
JAXBContextImpl | getJAXBContextImpl() Returns the marshallers or unmarshallers
JAXBContext. |
Object | getProperty(String pProperty) Returns the value for property pProperty . |
Format | getTimeFormat() Returns the java.text.Format for parsing and printing
|
void | setDatatypeConverter(DatatypeConverterInterface pConverter) Sets the marshallers or unmarshallers datatype converter.
|
void | setDateFormat(Format pFormat) Sets the java.text.Format for parsing and printing
|
void | setDateTimeFormat(Format pFormat) Sets the java.text.Format for parsing and printing
|
void | setEventHandler(ValidationEventHandler pEventHandler) Sets a users event handler for validation events.
|
void | setJAXBContextImpl(JAXBContextImpl pContext) Sets the marshallers or unmarshallers
JAXBContext. |
void | setProperty(String pProperty, Object pValue) Sets the property pProperty to the value
pValue . |
void | setTimeFormat(Format pFormat) Sets the java.text.Format for parsing and printing
|
xs:date
values. Defaults to an instance of
XsDateFormat.xs:dateTime
values. Defaults to an instance of
XsDateTimeFormat.xs:time
values. Defaults to an instance of
XsTimeFormat.Returns the java.text.Format for parsing and printing
xs:date
values.
Returns: An instance of java.text.DateFormat or an instance of XsDateFormat (default).
Returns the java.text.Format for parsing and printing
xs:dateTime
values.
Returns: An instance of java.text.DateFormat or an instance of XsDateTimeFormat (default).
See Also: setEventHandler
pProperty
.Returns the java.text.Format for parsing and printing
xs:time
values.
Returns: An instance of java.text.DateFormat or an instance of XsTimeFormat (default).
Sets the java.text.Format for parsing and printing
xs:date
values.
Parameters: pFormat An instance of java.text.DateFormat or an instance of XsDateFormat (default).
Sets the java.text.Format for parsing and printing
xs:dateTime
values.
Parameters: pFormat An instance of java.text.DateFormat or an instance of XsDateTimeFormat (default).
See Also: getEventHandler
pProperty
to the value
pValue
.Sets the java.text.Format for parsing and printing
xs:date
values.
Parameters: pFormat An instance of java.text.DateFormat or an instance of XsDateFormat (default).