Java Doc for Document.java in  » Ajax » zk » org » zkoss » idom » 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 » Ajax » zk » org.zkoss.idom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.zkoss.idom.impl.AbstractItem
      org.zkoss.idom.impl.AbstractGroup
         org.zkoss.idom.Document

Document
public class Document extends AbstractGroup implements org.w3c.dom.Document(Code)
Represents Document which is also W3C/DOM's document, ie, org.w3c.dom.Document.
author:
   tomyeh
See Also:   Element

Inner Class :protected class ChildArray extends CheckableTreeArray


Constructor Summary
public  Document(Element root, DocType dt)
     Constructor.
public  Document(Element root)
     Constructor.
public  Document()
     Constructor.

Method Summary
public  NodeadoptNode(Node source)
    
final public  AttrcreateAttribute(String lname)
    
final public  AttrcreateAttributeNS(String nsURI, String tname)
    
final public  CDATASectioncreateCDATASection(String data)
    
final public  org.w3c.dom.CommentcreateComment(String data)
    
final public  org.w3c.dom.DocumentFragmentcreateDocumentFragment()
    
final public  org.w3c.dom.ElementcreateElement(String lname)
    
final public  org.w3c.dom.ElementcreateElementNS(String nsURI, String tname)
    
final public  org.w3c.dom.EntityReferencecreateEntityReference(String name)
    
final public  org.w3c.dom.ProcessingInstructioncreateProcessingInstruction(String target, String data)
    
final public  org.w3c.dom.TextcreateTextNode(String data)
    
final public  DocTypegetDocType()
     Gets the document type.
final public  DocumentTypegetDoctype()
    
final public  org.w3c.dom.ElementgetDocumentElement()
    
public  StringgetDocumentURI()
    
public  DOMConfigurationgetDomConfig()
    
final public  org.w3c.dom.ElementgetElementById(String elementId)
    
final public  NodeListgetElementsByTagName(String tname)
     Gets elements that matches the tag name.
final public  NodeListgetElementsByTagNameNS(String nsURI, String lname)
     Gets elements that matches the tag name and namespace.
final public  org.w3c.dom.DOMImplementationgetImplementation()
    
public  StringgetInputEncoding()
    
final public  StringgetName()
    
final public  shortgetNodeType()
    
final public  ElementgetRootElement()
     Gets the root element.
public  booleangetStrictErrorChecking()
    
public  StringgetXmlEncoding()
    
public  booleangetXmlStandalone()
    
public  StringgetXmlVersion()
    
final public  NodeimportNode(Node importedNode, boolean deep)
    
final protected  ListnewChildren()
    
public  voidnormalizeDocument()
    
public  NoderenameNode(Node n, String namespaceURI, String qualifiedName)
    
final public  voidsetDocType(DocType docType)
     Sets the document type.
public  voidsetDocumentURI(String documentURI)
    
final public  voidsetRootElement(Element root)
     Sets the root element.
public  voidsetStrictErrorChecking(boolean strictErrorChecking)
    
public  voidsetXmlStandalone(boolean xmlStandalone)
    
public  voidsetXmlVersion(String xmlVersion)
    
final public  StringtoString()
    


Constructor Detail
Document
public Document(Element root, DocType dt)(Code)
Constructor.



Document
public Document(Element root)(Code)
Constructor.



Document
public Document()(Code)
Constructor.




Method Detail
adoptNode
public Node adoptNode(Node source) throws DOMException(Code)



createAttribute
final public Attr createAttribute(String lname)(Code)



createAttributeNS
final public Attr createAttributeNS(String nsURI, String tname)(Code)



createCDATASection
final public CDATASection createCDATASection(String data)(Code)



createComment
final public org.w3c.dom.Comment createComment(String data)(Code)



createDocumentFragment
final public org.w3c.dom.DocumentFragment createDocumentFragment()(Code)



createElement
final public org.w3c.dom.Element createElement(String lname)(Code)



createElementNS
final public org.w3c.dom.Element createElementNS(String nsURI, String tname)(Code)



createEntityReference
final public org.w3c.dom.EntityReference createEntityReference(String name)(Code)



createProcessingInstruction
final public org.w3c.dom.ProcessingInstruction createProcessingInstruction(String target, String data)(Code)



createTextNode
final public org.w3c.dom.Text createTextNode(String data)(Code)



getDocType
final public DocType getDocType()(Code)
Gets the document type.



getDoctype
final public DocumentType getDoctype()(Code)



getDocumentElement
final public org.w3c.dom.Element getDocumentElement()(Code)



getDocumentURI
public String getDocumentURI()(Code)



getDomConfig
public DOMConfiguration getDomConfig()(Code)



getElementById
final public org.w3c.dom.Element getElementById(String elementId)(Code)



getElementsByTagName
final public NodeList getElementsByTagName(String tname)(Code)
Gets elements that matches the tag name.

Unlike other implementations (Xerces or Crimson), the returned list is a snapshot of the current tree -- not a "live" representation.




getElementsByTagNameNS
final public NodeList getElementsByTagNameNS(String nsURI, String lname)(Code)
Gets elements that matches the tag name and namespace.

Unlike other implementations (Xerces or Crimson), the returned list is a snapshot of the current tree -- not a "live" representation.




getImplementation
final public org.w3c.dom.DOMImplementation getImplementation()(Code)



getInputEncoding
public String getInputEncoding()(Code)



getName
final public String getName()(Code)



getNodeType
final public short getNodeType()(Code)



getRootElement
final public Element getRootElement()(Code)
Gets the root element.



getStrictErrorChecking
public boolean getStrictErrorChecking()(Code)



getXmlEncoding
public String getXmlEncoding()(Code)



getXmlStandalone
public boolean getXmlStandalone()(Code)



getXmlVersion
public String getXmlVersion()(Code)



importNode
final public Node importNode(Node importedNode, boolean deep)(Code)



newChildren
final protected List newChildren()(Code)



normalizeDocument
public void normalizeDocument()(Code)



renameNode
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException(Code)



setDocType
final public void setDocType(DocType docType)(Code)
Sets the document type.



setDocumentURI
public void setDocumentURI(String documentURI)(Code)



setRootElement
final public void setRootElement(Element root)(Code)
Sets the root element.



setStrictErrorChecking
public void setStrictErrorChecking(boolean strictErrorChecking)(Code)



setXmlStandalone
public void setXmlStandalone(boolean xmlStandalone) throws DOMException(Code)



setXmlVersion
public void setXmlVersion(String xmlVersion) throws DOMException(Code)



toString
final public String toString()(Code)



Fields inherited from org.zkoss.idom.impl.AbstractGroup
protected List _children(Code)(Java Doc)

Methods inherited from org.zkoss.idom.impl.AbstractGroup
final public boolean anyElement()(Code)(Java Doc)
final public Node appendChild(Node newChild)(Code)(Java Doc)
public void clearModified(boolean includingDescendant)(Code)(Java Doc)
public Item clone(boolean preserveModified)(Code)(Java Doc)
final public int coalesce(boolean recursive)(Code)(Java Doc)
final public List detachChildren()(Code)(Java Doc)
final public NodeList getChildNodes()(Code)(Java Doc)
final public List getChildren()(Code)(Java Doc)
final public Element getElement(String namespace, String name, int mode)(Code)(Java Doc)
final public Element getElement(String tname)(Code)(Java Doc)
final public int getElementIndex(int indexFrom, String namespace, String name, int mode)(Code)(Java Doc)
final public int getElementIndex(int indexFrom, String tname)(Code)(Java Doc)
final public Set getElementNames()(Code)(Java Doc)
final public String getElementValue(String namespace, String name, int mode, boolean trim)(Code)(Java Doc)
final public String getElementValue(String tname, boolean trim)(Code)(Java Doc)
final public List getElements()(Code)(Java Doc)
final public List getElements(String namespace, String name, int mode)(Code)(Java Doc)
final public List getElements(String tname)(Code)(Java Doc)
final public Node getFirstChild()(Code)(Java Doc)
final public Node getLastChild()(Code)(Java Doc)
final public boolean hasChildNodes()(Code)(Java Doc)
final public Node insertBefore(Node newChild, Node refChild)(Code)(Java Doc)
protected List newChildren()(Code)(Java Doc)
final public Node removeChild(Node oldChild)(Code)(Java Doc)
final public Node replaceChild(Node newChild, Node oldChild)(Code)(Java Doc)

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)

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.