Class BeanSerializerFactory

    • Constructor Detail

      • BeanSerializerFactory

        public BeanSerializerFactory​(java.lang.Class javaType,
                                     QName xmlType)
    • Method Detail

      • getSerializerAs

        public Serializer getSerializerAs​(java.lang.String mechanismType)
                                   throws JAXRPCException
        Description copied from interface: SerializerFactory
        Returns a Serializer for the specified XML processing mechanism type.
        Specified by:
        getSerializerAs in interface SerializerFactory
        Overrides:
        getSerializerAs in class BaseSerializerFactory
        Parameters:
        mechanismType - - XML processing mechanism type [TBD: definition of valid constants]
        Returns:
        a Serializer for the specified XML processing mechanism type
        Throws:
        JAXRPCException - if SerializerFactory does not support the specified XML processing mechanism
      • getGeneralPurpose

        protected Serializer getGeneralPurpose​(java.lang.String mechanismType)
        Optimize construction of a BeanSerializer by caching the type and property descriptors.
        Overrides:
        getGeneralPurpose in class BaseSerializerFactory