| java.lang.Object org.zkoss.idom.impl.AbstractItem org.zkoss.idom.impl.AbstractTextual
All known Subclasses: org.zkoss.idom.CData, org.zkoss.idom.Text, org.zkoss.idom.Binary, org.zkoss.idom.Comment,
AbstractTextual | abstract public class AbstractTextual extends AbstractItem implements Textual,CharacterData(Code) | | Represents a textual item.
Note: any deriving class's getText shall not return null.
Element.getText uses this class's isPartOfParentText to know
whether a child's text shall be catenated.
author: tomyeh See Also: Element |
AbstractTextual | protected AbstractTextual(String text)(Code) | | Constructor.
|
AbstractTextual | protected AbstractTextual()(Code) | | Constructor.
|
appendData | final public void appendData(String newData)(Code) | | |
checkText | protected void checkText(String text)(Code) | | Checks whether the text is valid.
It is usually overridden by the deriving classes to check
more specifically.
|
deleteData | final public void deleteData(int offset, int count)(Code) | | |
getLength | final public int getLength()(Code) | | |
insertData | final public void insertData(int offset, String arg)(Code) | | |
isCoalesceable | public boolean isCoalesceable()(Code) | | Returns true if this textual object is allowed to be coalesced with
its siblings with the same type (class).
It is used by Group.coalesce.
Default: false. Right now only Text override it to true.
|
isElementContentWhitespace | public boolean isElementContentWhitespace()(Code) | | |
isPartOfParentText | public boolean isPartOfParentText()(Code) | | Returns true if this text object is part of the parent's text.
Default: true.
|
replaceData | final public void replaceData(int offset, int count, String arg)(Code) | | |
substringData | final public String substringData(int offset, int count)(Code) | | |
toString | public String toString()(Code) | | Gets the textual representation for debug.
|
Fields inherited from org.zkoss.idom.impl.AbstractItem | protected transient boolean _modified(Code)(Java Doc)
|
Methods inherited from org.zkoss.idom.impl.AbstractItem | public Node appendChild(Node newChild)(Code)(Java Doc) final protected void checkWritable()(Code)(Java Doc) public void clearModified(boolean includingDescendant)(Code)(Java Doc) public Item clone(boolean preserveModified)(Code)(Java Doc) public Object clone()(Code)(Java Doc) final public Node cloneNode(boolean deep)(Code)(Java Doc) public short compareDocumentPosition(Node other) throws DOMException(Code)(Java Doc) public Item detach()(Code)(Java Doc) final public boolean equals(Object o)(Code)(Java Doc) public NamedNodeMap getAttributes()(Code)(Java Doc) public String getBaseURI()(Code)(Java Doc) public NodeList getChildNodes()(Code)(Java Doc) public Document getDocument()(Code)(Java Doc) public Object getFeature(String feature, String version)(Code)(Java Doc) public Node getFirstChild()(Code)(Java Doc) public Node getLastChild()(Code)(Java Doc) public String getLocalName()(Code)(Java Doc) final public Locator getLocator()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) final public Node getNextSibling()(Code)(Java Doc) public String getNodeName()(Code)(Java Doc) public String getNodeValue()(Code)(Java Doc) public org.w3c.dom.Document getOwnerDocument()(Code)(Java Doc) final public Group getParent()(Code)(Java Doc) final public Node getParentNode()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) final public Node getPreviousSibling()(Code)(Java Doc) public String getText()(Code)(Java Doc) public String getTextContent() throws DOMException(Code)(Java Doc) public Object getUserData(String key)(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean hasChildNodes()(Code)(Java Doc) final public int hashCode()(Code)(Java Doc) public Node insertBefore(Node newChild, Node refChild)(Code)(Java Doc) public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc) public boolean isEqualNode(Node arg)(Code)(Java Doc) public boolean isModified()(Code)(Java Doc) public boolean isReadonly()(Code)(Java Doc) public boolean isSameNode(Node other)(Code)(Java Doc) final public boolean isSupported(String feature, String version)(Code)(Java Doc) public String lookupNamespaceURI(String prefix)(Code)(Java Doc) public String lookupPrefix(String namespaceURI)(Code)(Java Doc) protected static boolean match(Namespaceable vtx, String namespace, String name, Pattern ptn, int mode)(Code)(Java Doc) final public void normalize()(Code)(Java Doc) public Node removeChild(Node oldChild)(Code)(Java Doc) public Node replaceChild(Node newChild, Node oldChild)(Code)(Java Doc) final public void setLocator(Locator loc)(Code)(Java Doc) public void setModified()(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setNodeValue(String nodeValue)(Code)(Java Doc) public void setParent(Group parent)(Code)(Java Doc) public void setPrefix(String prefix)(Code)(Java Doc) public void setReadonly(boolean readonly)(Code)(Java Doc) public void setText(String text)(Code)(Java Doc) public void setTextContent(String textContent) throws DOMException(Code)(Java Doc) public Object setUserData(String key, Object data, UserDataHandler handler)(Code)(Java Doc)
|
|
|