Java Doc for DefaultDocument.java in  » XML » xerces-2_9_1 » org » apache » xerces » impl » xs » opti » 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 » XML » xerces 2_9_1 » org.apache.xerces.impl.xs.opti 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xerces.impl.xs.opti.DefaultNode
      org.apache.xerces.impl.xs.opti.NodeImpl
         org.apache.xerces.impl.xs.opti.DefaultDocument

All known Subclasses:   org.apache.xerces.impl.xs.opti.SchemaDOM,
DefaultDocument
public class DefaultDocument extends NodeImpl implements Document(Code)

author:
   Rahul Srivastava, Sun Microsystems Inc.
version:
   $Id: DefaultDocument.java 446728 2006-09-15 20:43:46Z mrglavas $



Constructor Summary
public  DefaultDocument()
    

Method Summary
public  NodeadoptNode(Node source)
    
public  AttrcreateAttribute(String name)
    
public  AttrcreateAttributeNS(String namespaceURI, String qualifiedName)
    
public  CDATASectioncreateCDATASection(String data)
    
public  CommentcreateComment(String data)
    
public  DocumentFragmentcreateDocumentFragment()
    
public  ElementcreateElement(String tagName)
    
public  ElementcreateElementNS(String namespaceURI, String qualifiedName)
    
public  EntityReferencecreateEntityReference(String name)
    
public  ProcessingInstructioncreateProcessingInstruction(String target, String data)
    
public  TextcreateTextNode(String data)
    
public  DocumentTypegetDoctype()
    
public  ElementgetDocumentElement()
    
public  StringgetDocumentURI()
     The location of the document or null if undefined.
public  DOMConfigurationgetDomConfig()
     The configuration used when Document.normalizeDocument is invoked.
public  ElementgetElementById(String elementId)
    
public  NodeListgetElementsByTagName(String tagname)
    
public  NodeListgetElementsByTagNameNS(String namespaceURI, String localName)
    
public  DOMImplementationgetImplementation()
    
public  StringgetInputEncoding()
    
public  booleangetStrictErrorChecking()
     An attribute specifying whether errors checking is enforced or not.
public  StringgetXmlEncoding()
    
public  booleangetXmlStandalone()
     An attribute specifying, as part of the XML declaration, whether this document is standalone.
This attribute represents the property [standalone] defined in .
public  StringgetXmlVersion()
     An attribute specifying, as part of the XML declaration, the version number of this document.
public  NodeimportNode(Node importedNode, boolean deep)
    
public  voidnormalizeDocument()
    
public  NoderenameNode(Node n, String namespaceURI, String name)
    
public  voidsetDocumentURI(String documentURI)
     The location of the document or null if undefined.
public  voidsetStrictErrorChecking(boolean strictErrorChecking)
     An attribute specifying whether errors checking is enforced or not.
public  voidsetXmlStandalone(boolean standalone)
     An attribute specifying, as part of the XML declaration, whether this document is standalone.
This attribute represents the property [standalone] defined in .
public  voidsetXmlVersion(String version)
     An attribute specifying, as part of the XML declaration, the version number of this document.


Constructor Detail
DefaultDocument
public DefaultDocument()(Code)




Method Detail
adoptNode
public Node adoptNode(Node source) throws DOMException(Code)
DOM Level 3



createAttribute
public Attr createAttribute(String name) throws DOMException(Code)



createAttributeNS
public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException(Code)



createCDATASection
public CDATASection createCDATASection(String data) throws DOMException(Code)



createComment
public Comment createComment(String data)(Code)



createDocumentFragment
public DocumentFragment createDocumentFragment()(Code)



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



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



createEntityReference
public EntityReference createEntityReference(String name) throws DOMException(Code)



createProcessingInstruction
public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException(Code)



createTextNode
public Text createTextNode(String data)(Code)



getDoctype
public DocumentType getDoctype()(Code)



getDocumentElement
public Element getDocumentElement()(Code)



getDocumentURI
public String getDocumentURI()(Code)
The location of the document or null if undefined.
Beware that when the Document supports the feature "HTML" , the href attribute of the HTML BASE element takes precedence over this attribute.
since:
   DOM Level 3



getDomConfig
public DOMConfiguration getDomConfig()(Code)
The configuration used when Document.normalizeDocument is invoked.
since:
   DOM Level 3



getElementById
public Element getElementById(String elementId)(Code)



getElementsByTagName
public NodeList getElementsByTagName(String tagname)(Code)



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



getImplementation
public DOMImplementation getImplementation()(Code)



getInputEncoding
public String getInputEncoding()(Code)



getStrictErrorChecking
public boolean getStrictErrorChecking()(Code)
An attribute specifying whether errors checking is enforced or not. When set to false, the implementation is free to not test every possible error case normally defined on DOM operations, and not raise any DOMException. In case of error, the behavior is undefined. This attribute is true by defaults.
since:
   DOM Level 3



getXmlEncoding
public String getXmlEncoding()(Code)
public void setInputEncoding(String actualEncoding){ throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported"); }



getXmlStandalone
public boolean getXmlStandalone()(Code)
An attribute specifying, as part of the XML declaration, whether this document is standalone.
This attribute represents the property [standalone] defined in .
since:
   DOM Level 3



getXmlVersion
public String getXmlVersion()(Code)
An attribute specifying, as part of the XML declaration, the version number of this document. This is null when unspecified.
This attribute represents the property [version] defined in .
exception:
  DOMException - NOT_SUPPORTED_ERR: Raised if the version is set to a value that is not supported by this Document.
since:
   DOM Level 3



importNode
public Node importNode(Node importedNode, boolean deep) throws DOMException(Code)



normalizeDocument
public void normalizeDocument()(Code)
DOM Level 3



renameNode
public Node renameNode(Node n, String namespaceURI, String name) throws DOMException(Code)
DOM Level 3



setDocumentURI
public void setDocumentURI(String documentURI)(Code)
The location of the document or null if undefined.
Beware that when the Document supports the feature "HTML" , the href attribute of the HTML BASE element takes precedence over this attribute.
since:
   DOM Level 3



setStrictErrorChecking
public void setStrictErrorChecking(boolean strictErrorChecking)(Code)
An attribute specifying whether errors checking is enforced or not. When set to false, the implementation is free to not test every possible error case normally defined on DOM operations, and not raise any DOMException. In case of error, the behavior is undefined. This attribute is true by defaults.
since:
   DOM Level 3



setXmlStandalone
public void setXmlStandalone(boolean standalone)(Code)
An attribute specifying, as part of the XML declaration, whether this document is standalone.
This attribute represents the property [standalone] defined in .
since:
   DOM Level 3



setXmlVersion
public void setXmlVersion(String version) throws DOMException(Code)
An attribute specifying, as part of the XML declaration, the version number of this document. This is null when unspecified.
This attribute represents the property [version] defined in .
exception:
  DOMException - NOT_SUPPORTED_ERR: Raised if the version is set to a value that is not supported by this Document.
since:
   DOM Level 3



Fields inherited from org.apache.xerces.impl.xs.opti.NodeImpl
boolean hidden(Code)(Java Doc)
String localpart(Code)(Java Doc)
short nodeType(Code)(Java Doc)
String prefix(Code)(Java Doc)
String rawname(Code)(Java Doc)
String uri(Code)(Java Doc)

Methods inherited from org.apache.xerces.impl.xs.opti.NodeImpl
public String getLocalName()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public boolean getReadOnly()(Code)(Java Doc)
public void setReadOnly(boolean hide, boolean deep)(Code)(Java Doc)

Methods inherited from org.apache.xerces.impl.xs.opti.DefaultNode
public Node appendChild(Node newChild) throws DOMException(Code)(Java Doc)
public Node cloneNode(boolean deep)(Code)(Java Doc)
public short compareDocumentPosition(Node other)(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 String getLocalName()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getNodeValue() throws DOMException(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)
public Node insertBefore(Node newChild, Node refChild) throws DOMException(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 String lookupNamespaceURI(String prefix)(Code)(Java Doc)
public String lookupPrefix(String namespaceURI)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc)
public Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc)
public void setNodeValue(String nodeValue) throws DOMException(Code)(Java Doc)
public void setPrefix(String prefix) throws DOMException(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.