xml.parser.javacc
Class XmlDocument.TagBlock

java.lang.Object
  extended by xml.parser.javacc.XmlDocument.XmlElement
      extended by xml.parser.javacc.XmlDocument.TagBlock
All Implemented Interfaces:
sidekick.util.SideKickElement
Enclosing class:
XmlDocument

public static class XmlDocument.TagBlock
extends XmlDocument.XmlElement

A tag block is a composite structure consisting of a start tag a sequence of HTML elements, and a matching end tag.


Field Summary
 XmlDocument.ElementSequence body
           
 XmlDocument.EndTag endTag
           
 XmlDocument.Tag startTag
           
 
Constructor Summary
XmlDocument.TagBlock(java.lang.String name, XmlDocument.AttributeList aList, XmlDocument.ElementSequence b)
           
XmlDocument.TagBlock(XmlDocument.Tag t, XmlDocument.ElementSequence b, XmlDocument.EndTag et)
           
 
Method Summary
 void accept(XmlVisitor v)
           
 java.lang.String toLongString()
           
 java.lang.String toString()
           
 
Methods inherited from class xml.parser.javacc.XmlDocument.XmlElement
equals, getEndLocation, getEndPosition, getStartLocation, getStartPosition, setEndLocation, setEndLocation, setEndPosition, setStartLocation, setStartLocation, setStartPosition
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

startTag

public XmlDocument.Tag startTag

endTag

public XmlDocument.EndTag endTag

body

public XmlDocument.ElementSequence body
Constructor Detail

XmlDocument.TagBlock

public XmlDocument.TagBlock(XmlDocument.Tag t,
                            XmlDocument.ElementSequence b,
                            XmlDocument.EndTag et)

XmlDocument.TagBlock

public XmlDocument.TagBlock(java.lang.String name,
                            XmlDocument.AttributeList aList,
                            XmlDocument.ElementSequence b)
Method Detail

accept

public void accept(XmlVisitor v)
Specified by:
accept in class XmlDocument.XmlElement

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toLongString

public java.lang.String toLongString()
Overrides:
toLongString in class XmlDocument.XmlElement