org.hoglet.data
Class Tag

java.lang.Object
  extended by org.hoglet.data.Tag

public class Tag
extends Object


Constructor Summary
Tag(Tag parent, String name, Map options, Processor proc)
           
Tag(Tag parent, String name, Processor proc)
           
 
Method Summary
 void addChild(Tag t)
           
 String expandContent()
           
 String format()
           
 List getChildren()
           
 int getColumn()
           
 String getContent()
           
 int getLine()
           
 String getName()
           
 String getOption(int i)
           
 String getOption(String name)
           
 Map getOptions()
           
 Tag getParent()
           
 Processor getProcessor()
           
 void setColumn(int c)
           
 void setContent(String c)
           
 void setLine(int l)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tag

public Tag(Tag parent,
           String name,
           Processor proc)

Tag

public Tag(Tag parent,
           String name,
           Map options,
           Processor proc)
Method Detail

getColumn

public int getColumn()

getLine

public int getLine()

setColumn

public void setColumn(int c)

setLine

public void setLine(int l)

getProcessor

public Processor getProcessor()

format

public String format()

toString

public String toString()
Overrides:
toString in class Object

getOption

public String getOption(int i)

getOption

public String getOption(String name)

getOptions

public Map getOptions()

getName

public String getName()

getParent

public Tag getParent()

getChildren

public List getChildren()

addChild

public void addChild(Tag t)

expandContent

public String expandContent()
                     throws HogletException
Throws:
HogletException

getContent

public String getContent()

setContent

public void setContent(String c)


  Copyright © 2006 Gary Bentley. All Rights Reserved.