Java Doc for QDocument.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » 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 » EJB Server resin 3.1.5 » resin » com.caucho.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.xml.QAbstractNode
      com.caucho.xml.QNode
         com.caucho.xml.QDocumentFragment
            com.caucho.xml.QDocument

QDocument
public class QDocument extends QDocumentFragment implements CauchoDocument(Code)
Implements the top-level document for the XML tree.

Inner Class :static class NameKey

Field Summary
 HashMap<String, String>_attributes
    
 int_changeCount
    
 QDocumentType_dtd
    
 QElement_element
    
 String_encoding
    
 QDOMImplementation_implementation
    
 String_rootFilename
    
 String_version
    

Constructor Summary
public  QDocument()
    
public  QDocument(DocumentType docType)
    
public  QDocument(QDOMImplementation impl)
    

Method Summary
public  voidaddDepend(Path path)
    
public  voidaddNamespace(QName qname)
    
public  voidaddNamespace(String prefix, String url)
     Add a namespace declaration to a document.
public  NodeadoptNode(Node source)
    
public  NodeappendChild(Node newChild)
    
public  booleancanSetNormalizationFeature(String name, boolean state)
    
public  NodecloneNode(boolean deep)
     Returns a clone of the document.
protected  NodecopyNode(QDocument newNode, boolean deep)
    
public static  Documentcreate()
    
public  AttrcreateAttribute(String name, String value)
    
public  AttrcreateAttribute(String name)
    
public  AttrcreateAttribute(String prefix, String local, String url)
    
public  AttrcreateAttribute(QName name, String value)
    
public  AttrcreateAttributeNS(String namespaceURI, String qualifiedName)
    
public  CDATASectioncreateCDATASection(String data)
    
public  CommentcreateComment(String data)
    
public  DocumentFragmentcreateDocumentFragment()
     Creates a new document fragment.
public  ElementcreateElement(String tagName)
    
public  ElementcreateElement(String prefix, String local, String url)
    
public  ElementcreateElementByName(QName name)
    
public  ElementcreateElementNS(String namespaceURI, String name)
    
public  EntityReferencecreateEntityReference(String name)
    
public  QNamecreateName(String uri, String name)
    
public  ProcessingInstructioncreateProcessingInstruction(String target, String data)
    
public  TextcreateTextNode(String data)
     Creates a new text node in this document.
public  TextcreateUnescapedTextNode(String data)
    
public  StringgetActualEncoding()
    
public  StringgetBaseURI()
     Returns the base URI of the node.
public  ArrayList<Path>getDependList()
    
public  ArrayList<Depend>getDependencyList()
    
public  DocumentTypegetDoctype()
    
public  ElementgetDocumentElement()
    
public  StringgetDocumentURI()
    
public  DOMConfigurationgetDomConfig()
    
public  ElementgetElementById(String name)
    
public  NodeListgetElementsByTagName(String name)
     Returns a list of elements, filtered by the tag name.
public  NodeListgetElementsByTagNameNS(String uri, String name)
    
public  StringgetEncoding()
    
public  DOMErrorHandlergetErrorHandler()
    
public  DOMImplementationgetImplementation()
    
public  StringgetInputEncoding()
    
public  StringgetNamespace(String prefix)
     Returns the namespace url for a given prefix.
public  Iterator<String>getNamespaceKeys()
     Returns an iterator of top-level namespace prefixes.
public  HashMap<String, String>getNamespaces()
    
public  StringgetNodeName()
     The node name for the document is #document.
public  shortgetNodeType()
    
public  booleangetNormalizationFeature(String name)
    
public  DocumentgetOwnerDocument()
    
public  ObjectgetProperty(String name)
    
public  StringgetRootFilename()
    
public  TypeInfogetSchemaTypeInfo()
    
public  booleangetStandalone()
    
public  booleangetStrictErrorChecking()
    
public  StringgetSystemId()
    
public  StringgetXmlEncoding()
    
public  booleangetXmlStandalone()
    
public  StringgetXmlVersion()
    
 NodeimportNode(QDocument doc, boolean deep)
    
public  NodeimportNode(Node node, boolean deep)
     Imports a copy of a node into the current document.
Parameters:
  node - the node to import/copy
Parameters:
  deep - if true, recursively copy the children.
public  booleanisModified()
    
public  booleanisSupported(String feature, String version)
    
public  voidnormalizeDocument()
    
 voidprint(XmlPrinter os)
    
public  NoderemoveChild(Node oldChild)
    
public  NoderenameNode(Node n, String namespaceURI, String name)
    
public  voidsetActualEncoding(String actualEncoding)
    
 voidsetAttribute(String name, String value)
    
 voidsetAttributes(HashMap<String, String> attributes)
    
public  voidsetDoctype(DocumentType dtd)
    
public  voidsetDocumentElement(Element elt)
    
public  voidsetDocumentURI(String documentURI)
    
public  voidsetEncoding(String encoding)
    
public  voidsetErrorHandler(DOMErrorHandler errorHandler)
    
public  voidsetNormalizationFeature(String name, boolean state)
    
public  voidsetProperty(String name, Object value)
    
public  voidsetRootFilename(String filename)
    
public  voidsetStandalone(boolean standalone)
    
public  voidsetStrictErrorChecking(boolean strictErrorChecking)
    
public  voidsetSystemId(String systemId)
    
public  voidsetXmlStandalone(boolean value)
    
public  voidsetXmlVersion(String version)
    
public  StringtoString()
    
public  voidvalidateName(QName qname)
    

Field Detail
_attributes
HashMap<String, String> _attributes(Code)



_changeCount
int _changeCount(Code)



_dtd
QDocumentType _dtd(Code)



_element
QElement _element(Code)



_encoding
String _encoding(Code)



_implementation
QDOMImplementation _implementation(Code)



_rootFilename
String _rootFilename(Code)



_version
String _version(Code)




Constructor Detail
QDocument
public QDocument()(Code)



QDocument
public QDocument(DocumentType docType)(Code)



QDocument
public QDocument(QDOMImplementation impl)(Code)




Method Detail
addDepend
public void addDepend(Path path)(Code)



addNamespace
public void addNamespace(QName qname)(Code)



addNamespace
public void addNamespace(String prefix, String url)(Code)
Add a namespace declaration to a document. If the declaration prefix already has a namespace, the old one wins.



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



appendChild
public Node appendChild(Node newChild) throws DOMException(Code)



canSetNormalizationFeature
public boolean canSetNormalizationFeature(String name, boolean state)(Code)



cloneNode
public Node cloneNode(boolean deep)(Code)
Returns a clone of the document.
Parameters:
  deep - if true, recursively copy the document.



copyNode
protected Node copyNode(QDocument newNode, boolean deep)(Code)



create
public static Document create()(Code)



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



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



createAttribute
public Attr createAttribute(String prefix, String local, String url) throws DOMException(Code)
Creates a new namespace-aware attribute



createAttribute
public Attr createAttribute(QName name, String value) throws DOMException(Code)
Creates a new namespace-aware attribute



createAttributeNS
public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException(Code)
Creates a new namespace-aware attribute



createCDATASection
public CDATASection createCDATASection(String data)(Code)



createComment
public Comment createComment(String data)(Code)



createDocumentFragment
public DocumentFragment createDocumentFragment()(Code)
Creates a new document fragment.



createElement
public Element createElement(String tagName) throws DOMException(Code)
Creates a new element



createElement
public Element createElement(String prefix, String local, String url) throws DOMException(Code)
Creates a new namespace-aware element



createElementByName
public Element createElementByName(QName name) throws DOMException(Code)



createElementNS
public Element createElementNS(String namespaceURI, String name) throws DOMException(Code)
Creates a new namespace-aware element



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



createName
public QName createName(String uri, String name)(Code)



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



createTextNode
public Text createTextNode(String data)(Code)
Creates a new text node in this document.



createUnescapedTextNode
public Text createUnescapedTextNode(String data)(Code)



getActualEncoding
public String getActualEncoding()(Code)



getBaseURI
public String getBaseURI()(Code)
Returns the base URI of the node.



getDependList
public ArrayList<Path> getDependList()(Code)



getDependencyList
public ArrayList<Depend> getDependencyList()(Code)



getDoctype
public DocumentType getDoctype()(Code)



getDocumentElement
public Element getDocumentElement()(Code)



getDocumentURI
public String getDocumentURI()(Code)



getDomConfig
public DOMConfiguration getDomConfig()(Code)



getElementById
public Element getElementById(String name)(Code)



getElementsByTagName
public NodeList getElementsByTagName(String name)(Code)
Returns a list of elements, filtered by the tag name.



getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String uri, String name)(Code)



getEncoding
public String getEncoding()(Code)



getErrorHandler
public DOMErrorHandler getErrorHandler()(Code)



getImplementation
public DOMImplementation getImplementation()(Code)



getInputEncoding
public String getInputEncoding()(Code)



getNamespace
public String getNamespace(String prefix)(Code)
Returns the namespace url for a given prefix.



getNamespaceKeys
public Iterator<String> getNamespaceKeys()(Code)
Returns an iterator of top-level namespace prefixes.



getNamespaces
public HashMap<String, String> getNamespaces()(Code)



getNodeName
public String getNodeName()(Code)
The node name for the document is #document.



getNodeType
public short getNodeType()(Code)



getNormalizationFeature
public boolean getNormalizationFeature(String name) throws DOMException(Code)



getOwnerDocument
public Document getOwnerDocument()(Code)



getProperty
public Object getProperty(String name)(Code)



getRootFilename
public String getRootFilename()(Code)



getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()(Code)



getStandalone
public boolean getStandalone()(Code)



getStrictErrorChecking
public boolean getStrictErrorChecking()(Code)



getSystemId
public String getSystemId()(Code)



getXmlEncoding
public String getXmlEncoding()(Code)



getXmlStandalone
public boolean getXmlStandalone() throws DOMException(Code)



getXmlVersion
public String getXmlVersion()(Code)



importNode
Node importNode(QDocument doc, boolean deep)(Code)



importNode
public Node importNode(Node node, boolean deep)(Code)
Imports a copy of a node into the current document.
Parameters:
  node - the node to import/copy
Parameters:
  deep - if true, recursively copy the children. the new imported node.



isModified
public boolean isModified()(Code)



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



normalizeDocument
public void normalizeDocument()(Code)



print
void print(XmlPrinter os) throws IOException(Code)



removeChild
public Node removeChild(Node oldChild) throws DOMException(Code)



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



setActualEncoding
public void setActualEncoding(String actualEncoding)(Code)



setAttribute
void setAttribute(String name, String value)(Code)



setAttributes
void setAttributes(HashMap<String, String> attributes)(Code)



setDoctype
public void setDoctype(DocumentType dtd)(Code)



setDocumentElement
public void setDocumentElement(Element elt)(Code)



setDocumentURI
public void setDocumentURI(String documentURI)(Code)



setEncoding
public void setEncoding(String encoding)(Code)



setErrorHandler
public void setErrorHandler(DOMErrorHandler errorHandler)(Code)



setNormalizationFeature
public void setNormalizationFeature(String name, boolean state) throws DOMException(Code)



setProperty
public void setProperty(String name, Object value)(Code)



setRootFilename
public void setRootFilename(String filename)(Code)



setStandalone
public void setStandalone(boolean standalone)(Code)



setStrictErrorChecking
public void setStrictErrorChecking(boolean strictErrorChecking)(Code)



setSystemId
public void setSystemId(String systemId)(Code)



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



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



toString
public String toString()(Code)



validateName
public void validateName(QName qname) throws DOMException(Code)



Fields inherited from com.caucho.xml.QDocumentFragment
protected Document _masterDoc(Code)(Java Doc)

Methods inherited from com.caucho.xml.QDocumentFragment
public Document getMasterDoc()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
public String getTextValue()(Code)(Java Doc)
Node importNode(QDocument owner, boolean deep)(Code)(Java Doc)
void print(XmlPrinter out) throws IOException(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from com.caucho.xml.QNode
protected QAbstractNode _firstChild(Code)(Java Doc)
protected QAbstractNode _lastChild(Code)(Java Doc)

Methods inherited from com.caucho.xml.QNode
public Node appendChild(Node newNode) throws DOMException(Code)(Java Doc)
public boolean checkValid() throws Exception(Code)(Java Doc)
public boolean equals(Object arg)(Code)(Java Doc)
public boolean equals(Node arg, boolean deep)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
public NodeList getChildNodes()(Code)(Java Doc)
public Node getFirstChild()(Code)(Java Doc)
public Node getLastChild()(Code)(Java Doc)
public QAbstractNode getNextPreorder()(Code)(Java Doc)
public Node getNextSibling()(Code)(Java Doc)
public String getNodeValue()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public boolean hasChildNodes()(Code)(Java Doc)
public Node insertBefore(Node newChild, Node refChild) throws DOMException(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 refChild) throws DOMException(Code)(Java Doc)
public void setNodeValue(String value)(Code)(Java Doc)
public void setTextContent(String content)(Code)(Java Doc)

Fields inherited from com.caucho.xml.QAbstractNode
protected static L10N L(Code)(Java Doc)
String _filename(Code)(Java Doc)
int _line(Code)(Java Doc)
QAbstractNode _next(Code)(Java Doc)
QDocument _owner(Code)(Java Doc)
QNode _parent(Code)(Java Doc)
QAbstractNode _previous(Code)(Java Doc)
String _systemId(Code)(Java Doc)

Methods inherited from com.caucho.xml.QAbstractNode
public Node appendChild(Node newNode) throws DOMException(Code)(Java Doc)
public static String baseURI(Node node)(Code)(Java Doc)
public boolean checkValid() throws Exception(Code)(Java Doc)
public Node cloneNode(boolean deep)(Code)(Java Doc)
public short compareDocumentPosition(Node node)(Code)(Java Doc)
public short compareTreePosition(Node other)(Code)(Java Doc)
public boolean equals(Node arg, boolean deep)(Code)(Java Doc)
public NamedNodeMap getAttributes()(Code)(Java Doc)
public String getBaseURI()(Code)(Java Doc)
public String getCanonicalName()(Code)(Java Doc)
public NodeList getChildNodes()(Code)(Java Doc)
public int getColumn()(Code)(Java Doc)
public ArrayList<Depend> getDependencyList()(Code)(Java Doc)
public Object getFeature(String feature, String version)(Code)(Java Doc)
public String getFilename()(Code)(Java Doc)
public Node getFirstChild()(Code)(Java Doc)
public Node getInterface(String feature)(Code)(Java Doc)
public Node getLastChild()(Code)(Java Doc)
public int getLine()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public QAbstractNode getNextContent()(Code)(Java Doc)
public QAbstractNode getNextPreorder()(Code)(Java Doc)
public Node getNextSibling()(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 QAbstractNode getPreviousContent()(Code)(Java Doc)
public Node getPreviousSibling()(Code)(Java Doc)
public QName getQName()(Code)(Java Doc)
public String getTextContent() throws DOMException(Code)(Java Doc)
public String getTextValue()(Code)(Java Doc)
public Object getUserData(String data)(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public boolean hasChildNodes()(Code)(Java Doc)
public boolean hasContent()(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)
boolean isNameValid(String name)(Code)(Java Doc)
public boolean isSameNode(Node other)(Code)(Java Doc)
public boolean isSupported(String feature, String version)(Code)(Java Doc)
public String lookupNamespacePrefix(String namespaceURI, boolean useDefault)(Code)(Java Doc)
public String lookupNamespaceURI(String prefix)(Code)(Java Doc)
public String lookupPrefix(String feature)(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
void print(XmlPrinter out) throws IOException(Code)(Java Doc)
public void print(WriteStream out) throws IOException(Code)(Java Doc)
public void printHtml(WriteStream out) throws IOException(Code)(Java Doc)
public void printPretty(WriteStream out) throws IOException(Code)(Java Doc)
void remove()(Code)(Java Doc)
public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc)
public Node replaceChild(Node newChild, Node refChild) throws DOMException(Code)(Java Doc)
public void setFeature(String feature, boolean value)(Code)(Java Doc)
public void setLocation(String systemId, String filename, int line, int column)(Code)(Java Doc)
public void setNodeValue(String value)(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 value, UserDataHandler userData)(Code)(Java Doc)
public boolean supports(String feature, String version)(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.