Class BaseMarshaller

    • Constructor Detail

      • BaseMarshaller

        public BaseMarshaller()
    • Method Detail

      • setProperty

        public void setProperty​(String s,
                                Object o)
                         throws PropertyException
        Description copied from interface: Marshaller
        Set the particular property in the underlying implementation of Marshaller. This method can only be used to set one of the standard Jakarta XML Binding defined properties above or a provider specific property. Attempting to set an undefined property will result in a PropertyException being thrown. See Supported Properties.
        Specified by:
        setProperty in interface Marshaller
        Parameters:
        s - the name of the property to be set. This value can either be specified using one of the constant fields or a user supplied string.
        o - the value of the property to be set
        Throws:
        PropertyException - when there is an error processing the given property or value