Class FragmentDialect

  • All Implemented Interfaces:
    Dialect

    public class FragmentDialect
    extends Object
    implements Dialect
    Implementation of the WS-Fragment dialect.
    • Constructor Summary

      Constructors 
      Constructor Description
      FragmentDialect()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.cxf.ws.transfer.Representation processCreate​(org.apache.cxf.ws.transfer.Create body)
      Method for processing incoming Create message by Dialect extension.
      boolean processDelete​(org.apache.cxf.ws.transfer.Delete body, org.apache.cxf.ws.transfer.Representation representation)
      Method for processing incoming Delete message by Dialect extension.
      javax.xml.bind.JAXBElement<org.apache.cxf.ws.transfer.dialect.fragment.ValueType> processGet​(org.apache.cxf.ws.transfer.Get body, org.apache.cxf.ws.transfer.Representation representation)
      Method for processing incoming Get message by Dialect extension.
      org.apache.cxf.ws.transfer.Representation processPut​(org.apache.cxf.ws.transfer.Put body, org.apache.cxf.ws.transfer.Representation representation)
      Method for processing incoming Put message by Dialect extension.
      void registerLanguage​(String iri, FragmentDialectLanguage language)
      Register FragmentDialectLanguage object for IRI.
      void unregisterLanguage​(String iri)
      Unregister FragmentDialectLanguage object for IRI.
    • Constructor Detail

      • FragmentDialect

        public FragmentDialect()
    • Method Detail

      • processGet

        public javax.xml.bind.JAXBElement<org.apache.cxf.ws.transfer.dialect.fragment.ValueType> processGet​(org.apache.cxf.ws.transfer.Get body,
                                                                                                            org.apache.cxf.ws.transfer.Representation representation)
        Description copied from interface: Dialect
        Method for processing incoming Get message by Dialect extension.
        Specified by:
        processGet in interface Dialect
        Parameters:
        body - Get body
        representation - XML representation stored in the ResourceManager
        Returns:
        Representation, which will be returned in response.
      • processPut

        public org.apache.cxf.ws.transfer.Representation processPut​(org.apache.cxf.ws.transfer.Put body,
                                                                    org.apache.cxf.ws.transfer.Representation representation)
        Description copied from interface: Dialect
        Method for processing incoming Put message by Dialect extension.
        Specified by:
        processPut in interface Dialect
        Parameters:
        body - Put body
        representation - XML representation stored in the ResourceManager
        Returns:
        Representation, which will be stored in ResourceManager.
      • processDelete

        public boolean processDelete​(org.apache.cxf.ws.transfer.Delete body,
                                     org.apache.cxf.ws.transfer.Representation representation)
        Description copied from interface: Dialect
        Method for processing incoming Delete message by Dialect extension.
        Specified by:
        processDelete in interface Dialect
        Parameters:
        body - Delete body
        representation - XML representation stored in the ResourceManager
        Returns:
        Representation, which will be stored in ResourceManager.
      • processCreate

        public org.apache.cxf.ws.transfer.Representation processCreate​(org.apache.cxf.ws.transfer.Create body)
        Description copied from interface: Dialect
        Method for processing incoming Create message by Dialect extension.
        Specified by:
        processCreate in interface Dialect
        Parameters:
        body - Create body
        Returns:
        Representation, which will be stored in ResourceManager.
      • registerLanguage

        public void registerLanguage​(String iri,
                                     FragmentDialectLanguage language)
        Register FragmentDialectLanguage object for IRI.
        Parameters:
        iri -
        language -
      • unregisterLanguage

        public void unregisterLanguage​(String iri)
        Unregister FragmentDialectLanguage object for IRI.
        Parameters:
        iri -