public class SvgScript extends AbstractSvgNode implements SvgNode
XMLContainerImpl.sMode
mContentAndSubtagList
Constructor and Description |
---|
SvgScript() |
SvgScript(CharSequence inContent) |
SvgScript(MimeType inType) |
SvgScript(String inContent) |
SvgScript(XMLTag inXMLTag) |
Modifier and Type | Method and Description |
---|---|
SvgScript |
addContent(CharSequence inContent) |
void |
addSubtag(XMLCDATA inCDATA) |
SvgScript |
appendln(CharSequence inContent) |
void |
clearContent()
Clears content (not subtags).
|
String |
getContent()
The returned content does not contain any embedded subtags.
|
boolean |
hasContent() |
protected void |
initFromXMLTag(XMLTag inXMLTag) |
SvgScript |
setContent(CharSequence inContent) |
SvgScript |
setHref(String inURL) |
SvgScript |
setType(MimeType inValue)
Sets the script type.
|
SvgScript |
setType(String inValue)
Sets the script type.
|
SvgScript |
useCDATA(boolean inValue)
Defaults to true.
|
addClass, addStyle, adjustBoundsForTransform, applyTransform, applyTransforms, draw, drawSubnodes, getAdjustedFont, getBoundsBox, getCenterPoint, getClassAttribute, getCssTransform, getG2Composite, getG2Paint, getG2Stroke, getG2StrokeColor, getTransform, rangeCheckOpacityValue, setClass, setFilter, setId, setOnClick, setOnMouseDown, setOnMouseOut, setOnMouseOver, setOnMouseUp, setPosition, setStyle, setTitle, setTransform
addSubtag, addSubtag, addXMLNamespaceDeclaration, clone, compareTo, equals, findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getEndTag, getNamespace, getQualifiedTagName, getStartTag, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttribute, setAttribute, setAttributes, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, toString, toXML, toXML, toXML, toXML, useDoubleQuotes, verifyTagName, verifyTagName, verifyTagName, verifyTagName
addContentWithoutEscaping, addSubtag, addSubtag, addSubtags, clearSubtags, getContentPlusSubtagList, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagById, getRequiredSubtagById, getRequiredSubtagByName, getRequiredSubtagByName, getSubtagByAttribute, getSubtagByAttribute, getSubtags, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByClass, getSubtagsByClass, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContentOrSubtags, indexOf, innerHTML, removeSubtag, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByClass, removeSubtagsByClass, removeSubtagsByName, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtags
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addStyle, getBoundsBox, getCenterPoint, getTransform, setPosition, setTransform
findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getNamespace, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttribute, setAttribute, setAttributes, setNamespace, setTagName, setTagName, toIndentedXML, verifyTagName, verifyTagName, verifyTagName, verifyTagName
addContentWithoutEscaping, addSubtag, addSubtags, clearSubtags, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagByName, getRequiredSubtagByName, getSubtags, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, indexOf, removeSubtag, removeSubtagsByName, removeSubtagsByName, setParentNode, setSubtags
clone, toIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXML
public SvgScript()
public SvgScript(CharSequence inContent)
public SvgScript setContent(CharSequence inContent)
setContent
in interface XMLContainer
setContent
in class XMLTag
public SvgScript appendln(CharSequence inContent)
public SvgScript addContent(CharSequence inContent)
addContent
in interface XMLContainer
addContent
in class XMLContainerImpl
public void clearContent()
XMLContainer
clearContent
in interface XMLContainer
clearContent
in class XMLContainerImpl
public boolean hasContent()
hasContent
in interface XMLContainer
hasContent
in class XMLContainerImpl
public String getContent()
XMLContainer
getContent
in interface XMLContainer
getContent
in class XMLContainerImpl
protected void initFromXMLTag(XMLTag inXMLTag)
initFromXMLTag
in class AbstractSvgNode
jataylor@hairyfatguy.com