appendText
](../../org/hamcrest/BaseDescription.html#appendText\(java.lang.String\)) , [
appendValue
](../../org/hamcrest/BaseDescription.html#appendValue\(java.lang.Object\)) , [
appendValueList
](../../org/hamcrest/BaseDescription.html#appendValueList\(java.lang.String,
java.lang.String, java.lang.String, java.lang.Iterable\)) , [ appendValueList
](../../org/hamcrest/BaseDescription.html#appendValueList\(java.lang.String,
java.lang.String, java.lang.String, T...\)) `  
**Methods inherited from class java.lang.Object**  
---  
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait `  
  
**Constructor Detail**  
---  
  
###  StringDescription

    
    
    public **StringDescription**()

* * *

###  StringDescription

    
    
    public **StringDescription**(java.lang.Appendable out)

**Method Detail**  
---  
  
###  toString

    
    
    public static java.lang.String **toString**([SelfDescribing](../../org/hamcrest/SelfDescribing.html "interface in org.hamcrest") selfDescribing)

     Return the description of a [ ` SelfDescribing ` ](../../org/hamcrest/SelfDescribing.html "interface in org.hamcrest") object as a String. 

    

**Parameters:**      ` selfDescribing ` \- The object to be described.
**Returns:**      The description of the object.

* * *

###  asString

    
    
    public static java.lang.String **asString**([SelfDescribing](../../org/hamcrest/SelfDescribing.html "interface in org.hamcrest") selfDescribing)

     Alias for [ ` toString(SelfDescribing) ` ](../../org/hamcrest/StringDescription.html#toString\(org.hamcrest.SelfDescribing\)) . 

    

* * *

###  append

    
    
    protected void **append**(java.lang.String str)

     **Description copied from class:` [ BaseDescription ](../../org/hamcrest/BaseDescription.html#append\(java.lang.String\)) ` **
     Append the String  str  to the description. The default implementation passes every character to [ ` BaseDescription.append(char) ` ](../../org/hamcrest/BaseDescription.html#append\(char\)) . Override in subclasses to provide an efficient implementation. 

    

**Overrides:**      ` [ append
](../../org/hamcrest/BaseDescription.html#append\(java.lang.String\)) ` in
class ` [ BaseDescription ](../../org/hamcrest/BaseDescription.html "class in
org.hamcrest") `

    

* * *

###  append

    
    
    protected void **append**(char c)

     **Description copied from class:` [ BaseDescription ](../../org/hamcrest/BaseDescription.html#append\(char\)) ` **
     Append the char  c  to the description. 

    

**Specified by:**      ` [ append
](../../org/hamcrest/BaseDescription.html#append\(char\)) ` in class ` [
BaseDescription ](../../org/hamcrest/BaseDescription.html "class in
org.hamcrest") `

    

* * *

###  toString

    
    
    public java.lang.String **toString**()

     Returns the description as a string. 

    

**Overrides:**      ` toString ` in class ` java.lang.Object `

    

* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/StringDescription.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/SelfDescribing.html "interface in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/TypeSafeDiagnosingMatcher.html "class in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/StringDescription.html) [ **NO FRAMES** ](StringDescription.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* * *