# Class DefaultQuotingStrategy

java.lang.Object
org.apache.cayenne.dba.DefaultQuotingStrategy

All Implemented Interfaces:
  `QuotingStrategy`

public class DefaultQuotingStrategy extends Object implements QuotingStrategy
An `QuotingStrategy` that wraps identifiers in a pair of (possibly distinct) start/end quote characters.

- ## Field Summary

  ### Fields inherited from interface QuotingStrategy

  `NONE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultQuotingStrategy(char startQuote, char endQuote)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `appendEnd(Appendable out)`
  Appends the end-quote delimiter (e.g.
  `void`
  `appendStart(Appendable out)`
  Appends the start-quote delimiter (e.g.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface QuotingStrategy

  `appendFQN, quoted, quotedFQN`

- ## Constructor Details

  - ### DefaultQuotingStrategy

    public DefaultQuotingStrategy(char startQuote, char endQuote)

- ## Method Details

  - ### appendStart

    public void appendStart(Appendable out)
    Description copied from interface: `QuotingStrategy`
    Appends the start-quote delimiter (e.g. `"`, `[` or ```). A no-op when quoting is off.
    Specified by:
      `appendStart` in interface `QuotingStrategy`

  - ### appendEnd

    public void appendEnd(Appendable out)
    Description copied from interface: `QuotingStrategy`
    Appends the end-quote delimiter (e.g. `"`, `]` or ```). A no-op when quoting is off.
    Specified by:
      `appendEnd` in interface `QuotingStrategy`