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


org.apache.xerces.dom.DocumentImpl
   org.apache.html.dom.HTMLDocumentImpl

HTMLDocumentImpl
public class HTMLDocumentImpl extends DocumentImpl implements HTMLDocument(Code)
Implements an HTML document. Provides access to the top level element in the document, its body and title.

Several methods create new nodes of all basic types (comment, text, element, etc.). These methods create new nodes but do not place them in the document tree. The nodes may be placed in the document tree using org.w3c.dom.Node.appendChild or org.w3c.dom.Node.insertBefore , or they may be placed in some other document tree.

Note: <FRAMESET> documents are not supported at the moment, neither are direct document writing ( HTMLDocumentImpl.open , HTMLDocumentImpl.write ) and HTTP attribute methods ( HTMLDocumentImpl.getURL , HTMLDocumentImpl.getCookie ).
version:
   $Revision: 1.8 $ $Date: 2000/10/04 08:53:21 $
author:
   Assaf Arkin
See Also:   org.w3c.dom.html.HTMLDocument




Constructor Summary
public  HTMLDocumentImpl()
    

Method Summary
public  NodecloneNode(boolean deep)
    
public  voidclose()
    
public  AttrcreateAttribute(String name)
     Creates an Attribute having this Document as its OwnerDoc.
public  ElementcreateElement(String tagName)
    
public  ElementcreateElementNS(String namespaceURI, String qualifiedName)
    
public  HTMLCollectiongetAnchors()
    
public  HTMLCollectiongetApplets()
    
public synchronized  HTMLElementgetBody()
    
public  StringgetCookie()
    
public synchronized  ElementgetDocumentElement()
    
public  StringgetDomain()
    
public synchronized  ElementgetElementById(String elementId)
    
public  NodeListgetElementsByName(String elementName)
    
final public  NodeListgetElementsByTagName(String tagName)
    
final public  NodeListgetElementsByTagNameNS(String namespaceURI, String localName)
    
public  HTMLCollectiongetForms()
    
public synchronized  HTMLElementgetHead()
     Obtains the <HEAD> element in the document, creating one if does not exist before.
public  HTMLCollectiongetImages()
    
public  HTMLCollectiongetLinks()
    
public  StringgetReferrer()
    
public synchronized  StringgetTitle()
    
public  StringgetURL()
    
public  voidopen()
    
public synchronized  voidsetBody(HTMLElement newBody)
    
public  voidsetCookie(String cookie)
    
public synchronized  voidsetTitle(String newTitle)
    
public  voidwrite(String text)
    
public  voidwriteln(String text)
    


Constructor Detail
HTMLDocumentImpl
public HTMLDocumentImpl()(Code)




Method Detail
cloneNode
public Node cloneNode(boolean deep)(Code)



close
public void close()(Code)



createAttribute
public Attr createAttribute(String name) throws DOMException(Code)
Creates an Attribute having this Document as its OwnerDoc. Overrides DocumentImpl.createAttribute and returns and attribute whose name is lower case.
Parameters:
  name - The name of the attribute An attribute whose name is all lower case
throws:
  DOMException - (INVALID_NAME_ERR) if the attribute nameis not acceptable



createElement
public Element createElement(String tagName) throws DOMException(Code)



createElementNS
public Element createElementNS(String namespaceURI, String qualifiedName)(Code)



getAnchors
public HTMLCollection getAnchors()(Code)



getApplets
public HTMLCollection getApplets()(Code)



getBody
public synchronized HTMLElement getBody()(Code)



getCookie
public String getCookie()(Code)



getDocumentElement
public synchronized Element getDocumentElement()(Code)



getDomain
public String getDomain()(Code)



getElementById
public synchronized Element getElementById(String elementId)(Code)



getElementsByName
public NodeList getElementsByName(String elementName)(Code)



getElementsByTagName
final public NodeList getElementsByTagName(String tagName)(Code)



getElementsByTagNameNS
final public NodeList getElementsByTagNameNS(String namespaceURI, String localName)(Code)



getForms
public HTMLCollection getForms()(Code)



getHead
public synchronized HTMLElement getHead()(Code)
Obtains the <HEAD> element in the document, creating one if does not exist before. The <HEAD> element is the first element in the <HTML> in the document. The <HTML> element is obtained by calling HTMLDocumentImpl.getDocumentElement . If the element does not exist, one is created.

Called by HTMLDocumentImpl.getTitle , HTMLDocumentImpl.setTitle , HTMLDocumentImpl.getBody and HTMLDocumentImpl.setBody to assure the document has the <HEAD> element correctly placed. The <HEAD> element




getImages
public HTMLCollection getImages()(Code)



getLinks
public HTMLCollection getLinks()(Code)



getReferrer
public String getReferrer()(Code)



getTitle
public synchronized String getTitle()(Code)



getURL
public String getURL()(Code)



open
public void open()(Code)



setBody
public synchronized void setBody(HTMLElement newBody)(Code)



setCookie
public void setCookie(String cookie)(Code)



setTitle
public synchronized void setTitle(String newTitle)(Code)



write
public void write(String text)(Code)



writeln
public void writeln(String text)(Code)



Fields inherited from org.apache.xerces.dom.DocumentImpl
protected Hashtable eventListeners(Code)(Java Doc)
protected Vector iterators(Code)(Java Doc)
protected boolean mutationEvents(Code)(Java Doc)
protected Vector ranges(Code)(Java Doc)
protected Hashtable userData(Code)(Java Doc)

Methods inherited from org.apache.xerces.dom.DocumentImpl
protected void addEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code)(Java Doc)
public Node cloneNode(boolean deep)(Code)(Java Doc)
public Event createEvent(String type) throws DOMException(Code)(Java Doc)
public NodeIterator createNodeIterator(Node root, short whatToShow, NodeFilter filter)(Code)(Java Doc)
public NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)(Code)(Java Doc)
public Range createRange()(Code)(Java Doc)
public TreeWalker createTreeWalker(Node root, short whatToShow, NodeFilter filter)(Code)(Java Doc)
public TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)(Code)(Java Doc)
protected void dispatchAggregateEvents(NodeImpl node, EnclosingAttr ea)(Code)(Java Doc)
protected void dispatchAggregateEvents(NodeImpl node, AttrImpl enclosingAttr, String oldvalue, short change)(Code)(Java Doc)
protected boolean dispatchEvent(NodeImpl node, Event event)(Code)(Java Doc)
protected void dispatchEventToSubtree(NodeImpl node, Node n, Event e)(Code)(Java Doc)
protected Vector getEventListeners(NodeImpl n)(Code)(Java Doc)
public DOMImplementation getImplementation()(Code)(Java Doc)
protected Object getUserData(NodeImpl n)(Code)(Java Doc)
protected void removeEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code)(Java Doc)
protected void saveEnclosingAttr(NodeImpl node)(Code)(Java Doc)
protected void setEventListeners(NodeImpl n, Vector listeners)(Code)(Java Doc)
protected void setUserData(NodeImpl n, Object data)(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.