org.pegdown.plugins
Class PegDownPlugins

java.lang.Object
  extended by org.pegdown.plugins.PegDownPlugins

public class PegDownPlugins
extends java.lang.Object

Encapsulates the plugins provided to pegdown. Construct this using @{link PegdownPlugins#builder}, and then passing in either the Java plugin classes, or precompiled rules (for greater control, or if using Scala rules).


Nested Class Summary
static class PegDownPlugins.Builder
           
 
Field Summary
static PegDownPlugins NONE
          Convenience reference to no plugins.
 
Method Summary
static PegDownPlugins.Builder builder()
           
static PegDownPlugins.Builder builder(PegDownPlugins like)
          Create a builder that is a copy of the existing plugins
 org.parboiled.Rule[] getBlockPluginRules()
           
 org.parboiled.Rule[] getInlinePluginRules()
           
 java.lang.Character[] getSpecialChars()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static PegDownPlugins NONE
Convenience reference to no plugins.

Method Detail

getInlinePluginRules

public org.parboiled.Rule[] getInlinePluginRules()

getBlockPluginRules

public org.parboiled.Rule[] getBlockPluginRules()

getSpecialChars

public java.lang.Character[] getSpecialChars()

builder

public static PegDownPlugins.Builder builder()

builder

public static PegDownPlugins.Builder builder(PegDownPlugins like)
Create a builder that is a copy of the existing plugins