# Class DefaultHandler

#####
Index

### Constructors

constructor

### Properties

_errorNumber
out
stack

### Methods

_parseAttribute
comment
content
endTag
error
getErrorNumber
startTag
toHTML

## Constructors

### constructor

- new DefaultHandler(): DefaultHandler

- #### Returns DefaultHandler

## Properties

### _errorNumber

_errorNumber: number = 0

### out

out: string[] = []

### stack

stack: string[] = []

## Methods

### _parseAttribute

- _parseAttribute(content, isSingle): string

- #### Parameters

  - ##### content: string

  - ##### isSingle: boolean

  #### Returns string

### comment

- comment(deep, content): void

- #### Parameters

  - ##### deep: number

  - ##### content: string

  #### Returns void

### content

- content(deep, content): void

- #### Parameters

  - ##### deep: number

  - ##### content: string

  #### Returns void

### endTag

- endTag(deep, content, isEmpty?): void

- #### Parameters

  - ##### deep: number

  - ##### content: string

  - ##### `Optional` isEmpty: boolean

  #### Returns void

### error

- error(content): void

- #### Parameters

  - ##### content: string

  #### Returns void

### getErrorNumber

- getErrorNumber(): number

- #### Returns number

### startTag

- startTag(deep, content, isSingle, isEmpty?): void

- #### Parameters

  - ##### deep: number

  - ##### content: string

  - ##### isSingle: boolean

  - ##### `Optional` isEmpty: boolean

  #### Returns void

### toHTML

- toHTML(): string

- #### Returns string