cox.jmatt.java.MathTools.markup.html
Class BQTag

java.lang.Object
  extended by cox.jmatt.java.MathTools.markup.Tag
      extended by cox.jmatt.java.MathTools.markup.html.BaseHTag
          extended by cox.jmatt.java.MathTools.markup.html.ContainerTag
              extended by cox.jmatt.java.MathTools.markup.html.SimpleDecorationTag
                  extended by cox.jmatt.java.MathTools.markup.html.BQTag

public class BQTag
extends SimpleDecorationTag

This class provides the <blockquote> tag. It is classified as SimpleDecorationTag because in non-strict HTML it is allowed to contain non-block elements. To generate strict HTML or XHTML avoid adding non-block elements to this tag. Also, because of its placement, this tag (only!) has methods to add lists, definitions and tables to itself. Use with care.


Nested Class Summary
 
Nested classes/interfaces inherited from class cox.jmatt.java.MathTools.markup.html.BaseHTag
BaseHTag.TagKeys
 
Field Summary
 
Fields inherited from class cox.jmatt.java.MathTools.markup.Tag
myTagName
 
Constructor Summary
BQTag()
          Standard constructor for editable tags.
BQTag(java.lang.String pContent)
          Construct a tag with content.
 
Method Summary
 BQTag addDL(DLTag pTag)
          Add a DLTag to the current block.
 BQTag addList(ListTag pTag)
          Add a ListTag to the current block.
 BQTag addP(PTag pTag)
          Add a PTag.
 BQTag addTable(TableTag pTag)
          Add a TableTag to the current block.
 BQTag copyOf()
          Copy the current tag.
 
Methods inherited from class cox.jmatt.java.MathTools.markup.html.SimpleDecorationTag
add
 
Methods inherited from class cox.jmatt.java.MathTools.markup.html.ContainerTag
addAnchor, addBold, addBQ, addBreak, addEM, addHeading, addHR, addImage, addItalic, addUnderline
 
Methods inherited from class cox.jmatt.java.MathTools.markup.html.BaseHTag
_addTag, _content, _enableCopy, _setContent, addCDATA, addContent, getID, getRawContent, getTagKey, getTagName, isInBody, setClicked, setCSS, setName, setStyle
 
Methods inherited from class cox.jmatt.java.MathTools.markup.Tag
_addAttribute, _addAttributes, _addNAttribute, _asBoolean, _asDouble, _asInt, _attributes, _clampNAttribute, _clampNAttribute, _fixKey, _setEnableXMLTag, badPizza, closeTag, configureTag, configureTagFromGlobalPizza, makeTag, openTag, reset, setID, toString, validString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BQTag

public BQTag()
Standard constructor for editable tags.


BQTag

public BQTag(java.lang.String pContent)
Construct a tag with content.

Method Detail

copyOf

public BQTag copyOf()
Copy the current tag.


addP

public BQTag addP(PTag pTag)
Add a PTag. <div>- and <body>-level tags are ignored.


addList

public BQTag addList(ListTag pTag)
Add a ListTag to the current block.


addDL

public BQTag addDL(DLTag pTag)
Add a DLTag to the current block.


addTable

public BQTag addTable(TableTag pTag)
Add a TableTag to the current block.