Class ObjectFactory


  • public class ObjectFactory
    extends Object
    This object contains factory methods for each Java content interface and Java element interface generated in the nz.ac.waikato.adams.webservice.spectral.get package.

    An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.

    • Constructor Detail

      • ObjectFactory

        public ObjectFactory()
        Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: nz.ac.waikato.adams.webservice.spectral.get
    • Method Detail

      • createSpectrum

        public Spectrum createSpectrum()
        Create an instance of Spectrum
      • createWaves

        public Waves createWaves()
        Create an instance of Waves
      • createWave

        public Wave createWave()
        Create an instance of Wave
      • createProperty

        public Property createProperty()
        Create an instance of Property
      • createGetRequest

        public javax.xml.bind.JAXBElement<GetRequest> createGetRequest​(GetRequest value)
        Create an instance of JAXBElement<GetRequest>
        Parameters:
        value - Java instance representing xml element's value.
        Returns:
        the new instance of JAXBElement<GetRequest>
      • createGetResponse

        public javax.xml.bind.JAXBElement<GetResponse> createGetResponse​(GetResponse value)
        Create an instance of JAXBElement<GetResponse>
        Parameters:
        value - Java instance representing xml element's value.
        Returns:
        the new instance of JAXBElement<GetResponse>