Java Doc for RangeImpl.java in  » Web-Server » Rimfaxe-Web-Server » org » apache » xerces » dom » 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 » Web Server » Rimfaxe Web Server » org.apache.xerces.dom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xerces.dom.RangeImpl

RangeImpl
public class RangeImpl implements Range(Code)
The RangeImpl class implements the org.w3c.dom.range.Range interface.

Please see the API documentation for the interface classes and use the interfaces in your client programs.



Field Summary
final static  intCLONE_CONTENTS
    
final static  intDELETE_CONTENTS
    
final static  intEXTRACT_CONTENTS
    
 NodefDeleteNode
    
 booleanfDetach
    
 DocumentImplfDocument
    
 NodefEndContainer
    
 intfEndOffset
    
 NodefInsertNode
    
 booleanfIsCollapsed
    
 NodefRemoveChild
     This function is called within Range instead of Node.removeChild, so that the range can remember that it is actively removing this child.
 NodefSplitNode
    
 NodefStartContainer
    
 intfStartOffset
    

Constructor Summary
public  RangeImpl(DocumentImpl document)
     The constructor.

Method Summary
 voidcheckIndex(Node refNode, int offset)
    
public  DocumentFragmentcloneContents()
    
public  RangecloneRange()
    
public  voidcollapse(boolean toStart)
    
public  shortcompareBoundaryPoints(short how, Range sourceRange)
    
public  voiddeleteContents()
    
 voiddeleteData(CharacterData node, int offset, int count)
     This function inserts text into a Node and invokes a method to fix-up all other Ranges.
public  voiddetach()
    
public  DocumentFragmentextractContents()
    
public  booleangetCollapsed()
    
public  NodegetCommonAncestorContainer()
    
public  NodegetEndContainer()
    
public  intgetEndOffset()
    
public  NodegetStartContainer()
    
public  intgetStartOffset()
    
 intindexOf(Node child, Node parent)
    
 voidinsertData(CharacterData node, int index, String insert)
     This function inserts text into a Node and invokes a method to fix-up all other Ranges.
public  voidinsertNode(Node newNode)
    
public  voidinsertedNodeFromDOM(Node node)
     This function is called from the DOM.
 booleanisAncestorOf(Node a, Node b)
    
 NodenextNode(Node node, boolean visitChildren)
    
 voidreceiveDeletedText(Node node, int offset, int count)
     This function is called from DOM.
 voidreceiveInsertedText(Node node, int index, int len)
     This function is called from DOM.
 voidreceiveReplacedText(Node node)
     This function is called from DOM.
 voidreceiveSplitData(Node node, Node newNode, int offset)
     Fix up this Range if another Range has split a Text Node into 2 Nodes.
 NoderemoveChild(Node parent, Node child)
    
 voidremoveNode(Node node)
     This function must be called by the DOM _BEFORE_ a node is deleted, because at that time it is connected in the DOM tree, which we depend on.
public  voidselectNode(Node refNode)
    
public  voidselectNodeContents(Node refNode)
    
public  voidsetEnd(Node refNode, int offset)
    
public  voidsetEndAfter(Node refNode)
    
public  voidsetEndBefore(Node refNode)
    
public  voidsetStart(Node refNode, int offset)
    
public  voidsetStartAfter(Node refNode)
    
public  voidsetStartBefore(Node refNode)
    
 voidsignalSplitData(Node node, Node newNode, int offset)
     Signal other Ranges to update their start/end containers/offsets.
public  voidsurroundContents(Node newParent)
    
public  StringtoString()
    

Field Detail
CLONE_CONTENTS
final static int CLONE_CONTENTS(Code)



DELETE_CONTENTS
final static int DELETE_CONTENTS(Code)



EXTRACT_CONTENTS
final static int EXTRACT_CONTENTS(Code)



fDeleteNode
Node fDeleteNode(Code)



fDetach
boolean fDetach(Code)



fDocument
DocumentImpl fDocument(Code)



fEndContainer
Node fEndContainer(Code)



fEndOffset
int fEndOffset(Code)



fInsertNode
Node fInsertNode(Code)



fIsCollapsed
boolean fIsCollapsed(Code)



fRemoveChild
Node fRemoveChild(Code)
This function is called within Range instead of Node.removeChild, so that the range can remember that it is actively removing this child.



fSplitNode
Node fSplitNode(Code)



fStartContainer
Node fStartContainer(Code)



fStartOffset
int fStartOffset(Code)




Constructor Detail
RangeImpl
public RangeImpl(DocumentImpl document)(Code)
The constructor. Clients must use DocumentRange.createRange(), because it registers the Range with the document, so it can be fixed-up.




Method Detail
checkIndex
void checkIndex(Node refNode, int offset) throws DOMException(Code)



cloneContents
public DocumentFragment cloneContents() throws DOMException(Code)



cloneRange
public Range cloneRange()(Code)



collapse
public void collapse(boolean toStart)(Code)



compareBoundaryPoints
public short compareBoundaryPoints(short how, Range sourceRange) throws DOMException(Code)



deleteContents
public void deleteContents() throws DOMException(Code)



deleteData
void deleteData(CharacterData node, int offset, int count)(Code)
This function inserts text into a Node and invokes a method to fix-up all other Ranges.



detach
public void detach()(Code)



extractContents
public DocumentFragment extractContents() throws DOMException(Code)



getCollapsed
public boolean getCollapsed()(Code)



getCommonAncestorContainer
public Node getCommonAncestorContainer()(Code)



getEndContainer
public Node getEndContainer()(Code)



getEndOffset
public int getEndOffset()(Code)



getStartContainer
public Node getStartContainer()(Code)



getStartOffset
public int getStartOffset()(Code)



indexOf
int indexOf(Node child, Node parent)(Code)
what is the index of the child in the parent



insertData
void insertData(CharacterData node, int index, String insert)(Code)
This function inserts text into a Node and invokes a method to fix-up all other Ranges.



insertNode
public void insertNode(Node newNode) throws DOMException, RangeException(Code)



insertedNodeFromDOM
public void insertedNodeFromDOM(Node node)(Code)
This function is called from the DOM. This node has already been inserted into the DOM. Fix-up any offsets.



isAncestorOf
boolean isAncestorOf(Node a, Node b)(Code)
is a an ancestor of b ?



nextNode
Node nextNode(Node node, boolean visitChildren)(Code)



receiveDeletedText
void receiveDeletedText(Node node, int offset, int count)(Code)
This function is called from DOM. The text has already beeen inserted. Fix-up any offsets.



receiveInsertedText
void receiveInsertedText(Node node, int index, int len)(Code)
This function is called from DOM. The text has already beeen inserted. Fix-up any offsets.



receiveReplacedText
void receiveReplacedText(Node node)(Code)
This function is called from DOM. The text has already beeen replaced. Fix-up any offsets.



receiveSplitData
void receiveSplitData(Node node, Node newNode, int offset)(Code)
Fix up this Range if another Range has split a Text Node into 2 Nodes.



removeChild
Node removeChild(Node parent, Node child)(Code)



removeNode
void removeNode(Node node)(Code)
This function must be called by the DOM _BEFORE_ a node is deleted, because at that time it is connected in the DOM tree, which we depend on.



selectNode
public void selectNode(Node refNode) throws RangeException(Code)



selectNodeContents
public void selectNodeContents(Node refNode) throws RangeException(Code)



setEnd
public void setEnd(Node refNode, int offset) throws RangeException, DOMException(Code)



setEndAfter
public void setEndAfter(Node refNode) throws RangeException(Code)



setEndBefore
public void setEndBefore(Node refNode) throws RangeException(Code)



setStart
public void setStart(Node refNode, int offset) throws RangeException, DOMException(Code)



setStartAfter
public void setStartAfter(Node refNode) throws RangeException(Code)



setStartBefore
public void setStartBefore(Node refNode) throws RangeException(Code)



signalSplitData
void signalSplitData(Node node, Node newNode, int offset)(Code)
Signal other Ranges to update their start/end containers/offsets. The data has already been split into the two Nodes.



surroundContents
public void surroundContents(Node newParent) throws DOMException, RangeException(Code)



toString
public String toString()(Code)



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.