java.lang.Object
org.eclipse.persistence.internal.eis.adapters.xmlfile.XMLFileInteractionSpec
All Implemented Interfaces:
InteractionSpec, Serializable

public class XMLFileInteractionSpec extends Object implements InteractionSpec
Interaction spec for XML file JCA adapter. Supports CRUD access to an XML file based on XPath and XQuery. Also supports in-memory DOM access.
Since:
OracleAS TopLink 10g (10.0.3)
See Also:
  • Field Details

  • Constructor Details

    • XMLFileInteractionSpec

      public XMLFileInteractionSpec()
      Default constructor.
    • XMLFileInteractionSpec

      public XMLFileInteractionSpec(NamespaceResolver namespaceResolver)
  • Method Details

    • getXPath

      public String getXPath()
      Return the path to the element within the document to be accessed.
    • getNamespaceResolver

      public NamespaceResolver getNamespaceResolver()
      Return the namespaceResolver to be used to resolve any namespace prefixes in the XPath.
    • setNamespaceResolver

      public void setNamespaceResolver(NamespaceResolver namespaceResolver)
      Return the namespaceResolver to be used to resolve any namespace prefixes in the XPath.
    • setXPath

      public void setXPath(String xPath)
      Set the path to the element within the document to be accessed.
    • getXQuery

      public String getXQuery()
      Return the query to the element within the document to be accessed.
    • setXQuery

      public void setXQuery(String xQuery)
      Set the query to the element within the document to be accessed.
    • getInteractionType

      public int getInteractionType()
      Return the CRUD interaction type of the interaction.
    • setInteractionType

      public void setInteractionType(int interactionType)
      Set the CRUD interaction type of the interaction.
    • getFileName

      public String getFileName()
      Return the name of file to be accessed.
    • setFileName

      public void setFileName(String fileName)
      Set the name of file to be accessed.
    • getDOM

      public Element getDOM()
      Return the XML DOM element to be accessed directly. This can be used for in-memory DOM access.
    • setDOM

      public void setDOM(Element dom)
      Set the XML DOM element to be accessed directly. This can be used for in-memory DOM access.
    • toString

      public String toString()
      Overrides:
      toString in class Object