Android Open Source - penmanship Base Visitor






From Project

Back to project page penmanship.

License

The source code is released under:

Apache License

If you think the Android project penmanship listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.mindsnacks.penmanship;
/*from   ww w.  ja v  a2s .  co  m*/
import org.pegdown.ast.AbbreviationNode;
import org.pegdown.ast.AutoLinkNode;
import org.pegdown.ast.BlockQuoteNode;
import org.pegdown.ast.BulletListNode;
import org.pegdown.ast.CodeNode;
import org.pegdown.ast.DefinitionListNode;
import org.pegdown.ast.DefinitionNode;
import org.pegdown.ast.DefinitionTermNode;
import org.pegdown.ast.ExpImageNode;
import org.pegdown.ast.ExpLinkNode;
import org.pegdown.ast.HeaderNode;
import org.pegdown.ast.HtmlBlockNode;
import org.pegdown.ast.InlineHtmlNode;
import org.pegdown.ast.ListItemNode;
import org.pegdown.ast.MailLinkNode;
import org.pegdown.ast.Node;
import org.pegdown.ast.OrderedListNode;
import org.pegdown.ast.ParaNode;
import org.pegdown.ast.QuotedNode;
import org.pegdown.ast.RefImageNode;
import org.pegdown.ast.RefLinkNode;
import org.pegdown.ast.ReferenceNode;
import org.pegdown.ast.RootNode;
import org.pegdown.ast.SimpleNode;
import org.pegdown.ast.SpecialTextNode;
import org.pegdown.ast.StrongEmphSuperNode;
import org.pegdown.ast.SuperNode;
import org.pegdown.ast.TableBodyNode;
import org.pegdown.ast.TableCaptionNode;
import org.pegdown.ast.TableCellNode;
import org.pegdown.ast.TableColumnNode;
import org.pegdown.ast.TableHeaderNode;
import org.pegdown.ast.TableNode;
import org.pegdown.ast.TableRowNode;
import org.pegdown.ast.TextNode;
import org.pegdown.ast.VerbatimNode;
import org.pegdown.ast.Visitor;
import org.pegdown.ast.WikiLinkNode;

/** Created by Tony Cosentini Date: 12/4/13 Time: 3:37 PM */
// Base visitor class to remove clutter from concrete implementation.
public abstract class BaseVisitor implements Visitor {
  @Override public void visit(AbbreviationNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(AutoLinkNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(BlockQuoteNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(BulletListNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(CodeNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(DefinitionListNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(DefinitionNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(DefinitionTermNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(ExpImageNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(ExpLinkNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(HeaderNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(HtmlBlockNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(InlineHtmlNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(ListItemNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(MailLinkNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(OrderedListNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(ParaNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(QuotedNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(ReferenceNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(RefImageNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(RefLinkNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(RootNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(SimpleNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(SpecialTextNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(StrongEmphSuperNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(TableBodyNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(TableCaptionNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(TableCellNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(TableColumnNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(TableHeaderNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(TableNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(TableRowNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(VerbatimNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(WikiLinkNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(TextNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(SuperNode node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }

  @Override public void visit(Node node) {
    //To change body of implemented methods use File | Settings | File Templates.
  }
}




Java Source Code List

com.mindsnacks.penmanship.AndroidMarkdownVisitor.java
com.mindsnacks.penmanship.AndroidXMLConstants.java
com.mindsnacks.penmanship.AndroidXMLNode.java
com.mindsnacks.penmanship.BaseVisitor.java
com.mindsnacks.penmanship.Penmanship.java
com.mindsnacks.penmanship.Penmanship.java
com.mindsnacks.penmanship.group_handlers.BaseHandler.java
com.mindsnacks.penmanship.group_handlers.ImageGroupHandler.java
com.mindsnacks.penmanship.group_handlers.TextNodeGroupHandler.java
com.penmanship.example.MainActivity.java