org.pz.platypus.plugin.html
Class HtmlDocContext

java.lang.Object
  extended by org.pz.platypus.plugin.html.HtmlDocContext

public class HtmlDocContext
extends java.lang.Object

Html processing context and other intelligence...

Author:
ask

Field Summary
private  HtmlOutfile htmlOutfile
           
(package private)  java.util.LinkedList<java.lang.String> listAsStack
           
(package private)  java.util.LinkedList<java.lang.String> nestTagsList
           
 
Constructor Summary
HtmlDocContext()
           
 
Method Summary
 boolean areWeInAParagraphAlready()
           
private  void generateNestedTags(java.util.LinkedList<java.lang.String> nested, java.lang.String tok)
           
 java.util.List<IOutputCommand> getNestedTagCmds()
           
 HtmlOutfile getOutfile()
           
 void handleFontFace()
           
private  boolean isIsAnOnCommand(java.lang.String tok)
           
private  boolean itIsAnOffCommand(java.lang.String tok)
           
private  void justPushIt(java.lang.String tok)
           
private  boolean matches(java.lang.String curr, java.lang.String tok)
           
 java.lang.String nestedTags()
           
 void outputTags()
           
private  void popTillItMatches(java.lang.String tok)
           
 void push(java.lang.String tok)
           
 void setOutfile(HtmlOutfile newOutfile)
           
private  java.lang.String substitutePlusWithMinus(java.lang.String tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

htmlOutfile

private HtmlOutfile htmlOutfile

listAsStack

java.util.LinkedList<java.lang.String> listAsStack

nestTagsList

java.util.LinkedList<java.lang.String> nestTagsList
Constructor Detail

HtmlDocContext

public HtmlDocContext()
Method Detail

push

public void push(java.lang.String tok)

popTillItMatches

private void popTillItMatches(java.lang.String tok)

generateNestedTags

private void generateNestedTags(java.util.LinkedList<java.lang.String> nested,
                                java.lang.String tok)

substitutePlusWithMinus

private java.lang.String substitutePlusWithMinus(java.lang.String tag)

matches

private boolean matches(java.lang.String curr,
                        java.lang.String tok)

justPushIt

private void justPushIt(java.lang.String tok)

isIsAnOnCommand

private boolean isIsAnOnCommand(java.lang.String tok)

itIsAnOffCommand

private boolean itIsAnOffCommand(java.lang.String tok)

nestedTags

public java.lang.String nestedTags()

getNestedTagCmds

public java.util.List<IOutputCommand> getNestedTagCmds()

outputTags

public void outputTags()

areWeInAParagraphAlready

public boolean areWeInAParagraphAlready()

getOutfile

public HtmlOutfile getOutfile()

setOutfile

public void setOutfile(HtmlOutfile newOutfile)

handleFontFace

public void handleFontFace()


Copyright © 2008-10 Pacific Data Works LLC