Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.htmlparser.tags
Class StyleTag  view StyleTag download StyleTag.java

java.lang.Object
  extended byorg.htmlparser.Node
      extended byorg.htmlparser.tags.Tag
          extended byorg.htmlparser.tags.CompositeTag
              extended byorg.htmlparser.tags.StyleTag
All Implemented Interfaces:
java.io.Serializable

public class StyleTag
extends CompositeTag

A HTMLStyleTag represents a <style> tag


Field Summary
 
Fields inherited from class org.htmlparser.tags.CompositeTag
childTags, endTag, startTag
 
Fields inherited from class org.htmlparser.tags.Tag
attributes, breakTags, EMPTYTAG, tagContents, TAGNAME, thisScanner, TYPE
 
Fields inherited from class org.htmlparser.Node
lineSeparator, nodeBegin, nodeEnd, parent
 
Constructor Summary
StyleTag(org.htmlparser.tags.data.TagData tagData, org.htmlparser.tags.data.CompositeTagData compositeTagData)
          The HTMLStyleTag is constructed by providing the beginning posn, ending posn and the tag contents.
 
Method Summary
 java.lang.String getStyleCode()
          Get the javascript code in this tag
 java.lang.String toString()
          Print the contents of the javascript node
 
Methods inherited from class org.htmlparser.tags.CompositeTag
accept, childAt, children, collectInto, collectInto, digupStringNode, elements, findPositionOf, findPositionOf, getChild, getChildCount, getChildren, getChildrenAsNodeArray, getChildrenHTML, getEndTag, getStartTag, putChildrenInto, putEndTagInto, putStartTagInto, searchByName, searchFor, searchFor, searchFor, toHtml, toPlainTextString
 
Methods inherited from class org.htmlparser.tags.Tag
append, append, breaksFlow, extractWord, find, getAttribute, getAttributes, getParameter, getParsed, getTagBegin, getTagEnd, getTagEndLine, getTagLine, getTagLines, getTagName, getTagStartLine, getText, getThisScanner, getType, isEmptyXmlTag, redoParseAttributes, scan, setAttribute, setAttributes, setEmptyXmlTag, setTagBegin, setTagEnd, setTagLine, setTagParser, setText, setThisScanner
 
Methods inherited from class org.htmlparser.Node
elementBegin, elementEnd, getLineSeparator, getParent, setLineSeparator, setParent, toHTML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StyleTag

public StyleTag(org.htmlparser.tags.data.TagData tagData,
                org.htmlparser.tags.data.CompositeTagData compositeTagData)
The HTMLStyleTag is constructed by providing the beginning posn, ending posn and the tag contents.

Method Detail

getStyleCode

public java.lang.String getStyleCode()
Get the javascript code in this tag


toString

public java.lang.String toString()
Print the contents of the javascript node

Overrides:
toString in class Tag