Back to project page penmanship.
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.
package com.mindsnacks.penmanship.group_handlers; /* w ww .j av a 2 s. c o m*/ import com.mindsnacks.penmanship.AndroidXMLNode; import org.pegdown.ast.Node; /** Created by Tony Cosentini Date: 12/4/13 Time: 11:50 AM */ public abstract class BaseHandler { protected Node rootNode; protected String namespace; protected String customURIScheme; protected BaseHandler(Builder builder) { this.rootNode = builder.rootNode; this.namespace = builder.namespace; this.customURIScheme = builder.customURIScheme; } public abstract AndroidXMLNode render(); public abstract static class Builder { private Node rootNode; private String namespace; private String customURIScheme; public Builder(Node rootNode) { this.rootNode = rootNode; } public Builder namespace(String namespace) { this.namespace = namespace; return this; } public Builder customURIScheme(String customURIScheme) { this.customURIScheme = customURIScheme; return this; } public abstract BaseHandler build(); } }