Java Doc for TextImpl.java in  » Database-JDBC-Connection-Pool » octopus » org » enhydra » xml » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » octopus » org.enhydra.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.enhydra.xml.NodeImpl
      org.enhydra.xml.CharacterDataImpl
         org.enhydra.xml.TextImpl

TextImpl
public class TextImpl extends CharacterDataImpl implements Text(Code)

author:
   Tweety
author:
   A class representing a node in a meta-data tree, which implements
author:
   the
author:
  

Namespaces are ignored in this implementation. The terms "tag
author:
   name" and "node name" are always considered to be synonymous.
version:
   1.0




Constructor Summary
public  TextImpl(TextImpl node)
     Constructs a TextImpl from the given node.
public  TextImpl(String value)
     Constructs a TextImpl from the given node value.
public  TextImpl(Node node)
    

Method Summary
public  NodeappendChild(Node newChild)
    
public  voidappendData(String arg)
    
protected  voidbeginToString(StringBuffer sb, Indent indent)
     Method beginToString for this class writes the value of this node (text).It should replace all special characters with their escape entitys.
protected  voidcheckNode(Node node)
    
public  NodecloneNode(boolean deep)
    
public  shortcompareDocumentPosition(Node other)
    
public  voiddeleteData(int offset, int count)
    
protected  voidendToString(StringBuffer sb, Indent indent)
     Method endToString does nothing.
public  NamedNodeMapgetAttributes()
    
public  StringgetBaseURI()
    
public  NodeListgetChildNodes()
    
public  StringgetData()
    
public  ObjectgetFeature(String feature, String version)
    
public  NodegetFirstChild()
    
public  NodegetLastChild()
    
public  intgetLength()
    
public  StringgetLocalName()
    
public  StringgetNamespaceURI()
    
public  NodegetNextSibling()
    
public  StringgetNodeName()
     Returns the name ("#text") associated with this node.
public  shortgetNodeType()
     Returns the node type.
public  StringgetNodeValue()
     Returns the trimed node value associated with this node.
public  DocumentgetOwnerDocument()
    
public  NodegetParentNode()
    
public  StringgetPrefix()
    
public  NodegetPreviousSibling()
    
public  StringgetTextContent()
    
public  ObjectgetUserData(String key)
    
public  StringgetWholeText()
    
public  booleanhasAttributes()
    
public  booleanhasChildNodes()
    
protected  voidinitNodeImplChildren(Node node)
    
public  NodeinsertBefore(Node newChild, Node refChild)
    
public  voidinsertData(int offset, String arg)
    
public  booleanisDefaultNamespace(String namespaceURI)
    
public  booleanisElementContentWhitespace()
    
public  booleanisEqualNode(Node arg)
    
public  booleanisSameNode(Node other)
    
public  booleanisSupported(String feature, String version)
    
public  Nodeitem(int index)
    
public  StringlookupNamespaceURI(String prefix)
    
public  StringlookupPrefix(String namespaceURI)
    
protected  NodenewCommentInstance(Node node)
    
protected  NodenewDefaultInstance(Node node)
    
protected  NodenewElementInstance(Node node)
    
protected  NodenewTextInstance(Node node)
    
public  voidnormalize()
    
public  NoderemoveChild(Node oldChild)
    
public  NodereplaceChild(Node newChild, Node oldChild)
    
public  voidreplaceData(int offset, int count, String arg)
    
public  TextreplaceWholeText(String content)
    
public  voidsetData(String data)
    
public  voidsetNodeValue(String nodeValue)
    
public  voidsetPrefix(String prefix)
    
public  voidsetTextContent(String textContent)
    
public  ObjectsetUserData(String key, Object data, UserDataHandler handler)
    
public  TextsplitText(int offset)
    
See Also:   org.w3c.dom.Text.splitText(int)
See Also:   Break a text node into two sibling nodes.
public  StringsubstringData(int offset, int count)
    
public  StringtoString()
    
public  StringtoString(String tab)
    


Constructor Detail
TextImpl
public TextImpl(TextImpl node)(Code)
Constructs a TextImpl from the given node.
Parameters:
  node - , as a TextImpl.



TextImpl
public TextImpl(String value)(Code)
Constructs a TextImpl from the given node value.
Parameters:
  value - , as a String.



TextImpl
public TextImpl(Node node)(Code)
Constructs a TextImpl from a given node, as a Node
Parameters:
  node - , as Node.




Method Detail
appendChild
public Node appendChild(Node newChild)(Code)



appendData
public void appendData(String arg)(Code)



beginToString
protected void beginToString(StringBuffer sb, Indent indent)(Code)
Method beginToString for this class writes the value of this node (text).It should replace all special characters with their escape entitys.
Parameters:
  sb - string buffer to add resulting string.
Parameters:
  indent - used in formating the output.



checkNode
protected void checkNode(Node node) throws DOMException(Code)



cloneNode
public Node cloneNode(boolean deep)(Code)



compareDocumentPosition
public short compareDocumentPosition(Node other) throws DOMException(Code)



deleteData
public void deleteData(int offset, int count) throws DOMException(Code)



endToString
protected void endToString(StringBuffer sb, Indent indent)(Code)
Method endToString does nothing.
Parameters:
  sb - is StringBuffer
Parameters:
  indent - is indentation



getAttributes
public NamedNodeMap getAttributes()(Code)



getBaseURI
public String getBaseURI()(Code)



getChildNodes
public NodeList getChildNodes()(Code)



getData
public String getData() throws DOMException(Code)



getFeature
public Object getFeature(String feature, String version)(Code)



getFirstChild
public Node getFirstChild()(Code)



getLastChild
public Node getLastChild()(Code)



getLength
public int getLength()(Code)



getLocalName
public String getLocalName()(Code)



getNamespaceURI
public String getNamespaceURI()(Code)



getNextSibling
public Node getNextSibling()(Code)



getNodeName
public String getNodeName()(Code)
Returns the name ("#text") associated with this node. the name, as a String.



getNodeType
public short getNodeType()(Code)
Returns the node type. the TEXT_NODE node type.



getNodeValue
public String getNodeValue() throws DOMException(Code)
Returns the trimed node value associated with this node. the node value, as a String.
throws:
  DOMException -



getOwnerDocument
public Document getOwnerDocument()(Code)



getParentNode
public Node getParentNode()(Code)



getPrefix
public String getPrefix()(Code)



getPreviousSibling
public Node getPreviousSibling()(Code)



getTextContent
public String getTextContent() throws DOMException(Code)



getUserData
public Object getUserData(String key)(Code)



getWholeText
public String getWholeText()(Code)



hasAttributes
public boolean hasAttributes()(Code)



hasChildNodes
public boolean hasChildNodes()(Code)



initNodeImplChildren
protected void initNodeImplChildren(Node node)(Code)



insertBefore
public Node insertBefore(Node newChild, Node refChild)(Code)



insertData
public void insertData(int offset, String arg) throws DOMException(Code)



isDefaultNamespace
public boolean isDefaultNamespace(String namespaceURI)(Code)



isElementContentWhitespace
public boolean isElementContentWhitespace()(Code)



isEqualNode
public boolean isEqualNode(Node arg)(Code)



isSameNode
public boolean isSameNode(Node other)(Code)



isSupported
public boolean isSupported(String feature, String version)(Code)



item
public Node item(int index)(Code)



lookupNamespaceURI
public String lookupNamespaceURI(String prefix)(Code)



lookupPrefix
public String lookupPrefix(String namespaceURI)(Code)



newCommentInstance
protected Node newCommentInstance(Node node)(Code)



newDefaultInstance
protected Node newDefaultInstance(Node node)(Code)



newElementInstance
protected Node newElementInstance(Node node)(Code)



newTextInstance
protected Node newTextInstance(Node node)(Code)



normalize
public void normalize()(Code)



removeChild
public Node removeChild(Node oldChild)(Code)



replaceChild
public Node replaceChild(Node newChild, Node oldChild)(Code)



replaceData
public void replaceData(int offset, int count, String arg) throws DOMException(Code)



replaceWholeText
public Text replaceWholeText(String content) throws DOMException(Code)



setData
public void setData(String data) throws DOMException(Code)



setNodeValue
public void setNodeValue(String nodeValue)(Code)



setPrefix
public void setPrefix(String prefix)(Code)



setTextContent
public void setTextContent(String textContent) throws DOMException(Code)



setUserData
public Object setUserData(String key, Object data, UserDataHandler handler)(Code)



splitText
public Text splitText(int offset) throws DOMException(Code)

See Also:   org.w3c.dom.Text.splitText(int)
See Also:   Break a text node into two sibling nodes. (Note that if the
See Also:   current node has no parent, they won't wind up as "siblings" --
See Also:   they'll both be orphans.)
Parameters:
  offset - The offset at which to split. If offset is at theend of the available data, the second node will be empty. A reference to the new node (containing data after theoffset point). The original node will contain data up to thatpoint.
throws:
  DOMException - (INDEX_SIZE_ERR) if offset is <0 or >length.
throws:
  DOMException - (NO_MODIFICATION_ALLOWED_ERR) if node is read-only.



substringData
public String substringData(int offset, int count) throws DOMException(Code)



toString
public String toString()(Code)



toString
public String toString(String tab)(Code)



Methods inherited from org.enhydra.xml.CharacterDataImpl
public void appendData(String arg)(Code)(Java Doc)
public void deleteData(int offset, int count) throws DOMException(Code)(Java Doc)
public String getData() throws DOMException(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public void insertData(int offset, String arg) throws DOMException(Code)(Java Doc)
public void replaceData(int offset, int count, String arg) throws DOMException(Code)(Java Doc)
public void setData(String data) throws DOMException(Code)(Java Doc)
public String substringData(int offset, int count) throws DOMException(Code)(Java Doc)

Fields inherited from org.enhydra.xml.NodeImpl
protected NodeImpl firstChild(Code)(Java Doc)
protected NodeImpl lastChild(Code)(Java Doc)
protected NodeImpl nextSibling(Code)(Java Doc)
protected String nodeName(Code)(Java Doc)
protected String nodeValue(Code)(Java Doc)
protected int numChildren(Code)(Java Doc)
protected Document ownerDocument(Code)(Java Doc)
protected NodeImpl parent(Code)(Java Doc)
protected NodeImpl previousSibling(Code)(Java Doc)
protected short type(Code)(Java Doc)

Methods inherited from org.enhydra.xml.NodeImpl
public Node appendChild(Node newChild)(Code)(Java Doc)
protected void beginToString(StringBuffer sb, Indent indent)(Code)(Java Doc)
protected void checkNode(Node node) throws DOMException(Code)(Java Doc)
public Node cloneNode(boolean deep)(Code)(Java Doc)
public short compareDocumentPosition(Node other) throws DOMException(Code)(Java Doc)
protected void endToString(StringBuffer sb, Indent indent)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
public String getBaseURI()(Code)(Java Doc)
public NodeList getChildNodes()(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 int getLength()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public String getNamespaceURI() throws DOMException(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getNodeValue()(Code)(Java Doc)
public Document getOwnerDocument()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public Node getPreviousSibling()(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)
protected void initNodeImplChildren(Node node)(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 isSameNode(Node other)(Code)(Java Doc)
public boolean isSupported(String feature, String version)(Code)(Java Doc)
public Node item(int index)(Code)(Java Doc)
public String lookupNamespaceURI(String prefix)(Code)(Java Doc)
public String lookupPrefix(String namespaceURI)(Code)(Java Doc)
protected Node newCommentInstance(Node node)(Code)(Java Doc)
protected Node newDefaultInstance(Node node)(Code)(Java Doc)
protected Node newElementInstance(Node node)(Code)(Java Doc)
protected Node newTextInstance(Node node)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public Node removeChild(Node oldChild)(Code)(Java Doc)
public Node replaceChild(Node newChild, Node oldChild)(Code)(Java Doc)
public void setNodeValue(String nodeValue)(Code)(Java Doc)
public void setPrefix(String prefix)(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)
public String toString()(Code)(Java Doc)
public String toString(String tab)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.