com.sun.rave.web.ui.model
Class ScriptMarkup

java.lang.Object
  extended by com.sun.rave.web.ui.model.Markup
      extended by com.sun.rave.web.ui.model.ScriptMarkup

public class ScriptMarkup
extends Markup

Specialized version of Markup that automatically surrounds any accumulated markup in this element with the required prolog and epilogue strings for an embedded script element.


Constructor Summary
ScriptMarkup()
           
 
Method Summary
 java.lang.String getMarkup()
          Return the accumulated markup for this element, surrounded by the required prolog and epilog strings for an embedded script element.
 boolean isCdata()
          Return the current state of CDATA wrapping for this markup.
 void setCdata(boolean cdata)
          Set the new state of CDATA wrapping for this markup.
 
Methods inherited from class com.sun.rave.web.ui.model.Markup
clear, close, endElement, getEncoding, hexadecimal, hexadecimals, numeric, setEncoding, startElement, toString, writeAttribute, writeComment, writeRaw, writeText, writeURIAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptMarkup

public ScriptMarkup()
Method Detail

isCdata

public boolean isCdata()

Return the current state of CDATA wrapping for this markup.


setCdata

public void setCdata(boolean cdata)

Set the new state of CDATA wrapping for this markup.

Parameters:
cdata - New wrapping flag

getMarkup

public java.lang.String getMarkup()

Return the accumulated markup for this element, surrounded by the required prolog and epilog strings for an embedded script element.

Overrides:
getMarkup in class Markup