public class CharacterDataImpl extends Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
CharacterDataImpl()
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
jsxFunction_appendData(String arg)
Append a string to character data.
|
void |
jsxFunction_deleteData(int offset,
int count)
Delete characters from character data.
|
void |
jsxFunction_insertData(int offset,
String arg)
Insert a string into character data.
|
void |
jsxFunction_replaceData(int offset,
int count,
String arg)
Replace characters of character data with a string.
|
String |
jsxFunction_substringData(int offset,
int count)
Extract a substring from character data.
|
Object |
jsxGet_data()
Get the JavaScript property "data" for this character data.
|
int |
jsxGet_length()
Get the number of character in the character data.
|
void |
jsxSet_data(String newValue)
Set the JavaScript property "data" for this character data.
|
executeEvent, fireEvent, getEventHandler, getEventHandlerProp, getJavaScriptNode, jsxFunction_addEventListener, jsxFunction_appendChild, jsxFunction_attachEvent, jsxFunction_cloneNode, jsxFunction_detachEvent, jsxFunction_hasChildNodes, jsxFunction_insertBefore, jsxFunction_isSameNode, jsxFunction_removeChild, jsxFunction_removeEventListener, jsxFunction_replaceChild, jsxGet_childNodes, jsxGet_firstChild, jsxGet_lastChild, jsxGet_nextSibling, jsxGet_nodeName, jsxGet_nodeType, jsxGet_nodeValue, jsxGet_parentNode, jsxGet_previousSibling, jsxSet_nodeValue, setEventHandler, setEventHandlerProp
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getIntArg, getLog, getObjectArg, getPrototype, getScriptableFor, getStartingScope, getStringArg, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, makeScriptableFor, setDomNode, setDomNode, setHtmlElement
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
public CharacterDataImpl()
public Object jsxGet_data()
public void jsxSet_data(String newValue)
newValue
- The new String of data.public int jsxGet_length()
public void jsxFunction_appendData(String arg)
arg
- The string to be appended to the character data.public void jsxFunction_deleteData(int offset, int count)
offset
- The position of the first character to be deleted.count
- The number of characters to be deleted.public void jsxFunction_insertData(int offset, String arg)
offset
- The position within the first character at which
the string is to be inserted.arg
- The string to insert.public void jsxFunction_replaceData(int offset, int count, String arg)
offset
- The position within the first character at which
the string is to be replaced.count
- The number of characters to be replaced.arg
- The string that replaces the count characters beginning at
the character at offset.public String jsxFunction_substringData(int offset, int count)
offset
- The position of the first character to be extracted.count
- The number of characters to be extracted.Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.