FileDocCategorySizeDatePackage
DefaultDocument.javaAPI DocJava SE 5 API10920Fri Aug 26 14:55:52 BST 2005com.sun.org.apache.xerces.internal.impl.xs.opti

DefaultDocument

public class DefaultDocument extends NodeImpl implements Document
author
Rahul Srivastava, Sun Microsystems Inc.
version
$Id: DefaultDocument.java,v 1.5 2003/11/13 22:47:16 elena Exp $

Fields Summary
Constructors Summary
public DefaultDocument()

    
Methods Summary
public org.w3c.dom.NodeadoptNode(org.w3c.dom.Node source)
DOM Level 3

        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.AttrcreateAttribute(java.lang.String name)

	throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.AttrcreateAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName)

	throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.CDATASectioncreateCDATASection(java.lang.String data)

	throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.CommentcreateComment(java.lang.String data)

	return null;
    
public org.w3c.dom.DocumentFragmentcreateDocumentFragment()

	return null;
    
public org.w3c.dom.ElementcreateElement(java.lang.String tagName)

	throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.ElementcreateElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)

	throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.EntityReferencecreateEntityReference(java.lang.String name)

	throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.ProcessingInstructioncreateProcessingInstruction(java.lang.String target, java.lang.String data)

	throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.TextcreateTextNode(java.lang.String data)

	return null;
    
public org.w3c.dom.DocumentTypegetDoctype()

	return null;
    
public org.w3c.dom.ElementgetDocumentElement()

	return null;
    
public java.lang.StringgetDocumentURI()
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

        return null;
    
public org.w3c.dom.DOMConfigurationgetDomConfig()
The configuration used when Document.normalizeDocument is invoked.

since
DOM Level 3

        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.ElementgetElementById(java.lang.String elementId)

	return null;
    
public org.w3c.dom.NodeListgetElementsByTagName(java.lang.String tagname)

	return null;
    
public org.w3c.dom.NodeListgetElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)

	return null;
    
public org.w3c.dom.DOMImplementationgetImplementation()

	return null;
    
public java.lang.StringgetInputEncoding()

        return null;
    
public booleangetStrictErrorChecking()
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

        return false;
    
public java.lang.StringgetXmlEncoding()
public void setInputEncoding(String actualEncoding){ throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported"); }

        return null;
    
public booleangetXmlStandalone()
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

        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public java.lang.StringgetXmlVersion()
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

        return null;
    
public org.w3c.dom.NodeimportNode(org.w3c.dom.Node importedNode, boolean deep)

	throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public voidnormalizeDocument()
DOM Level 3

        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public org.w3c.dom.NoderenameNode(org.w3c.dom.Node n, java.lang.String namespaceURI, java.lang.String name)
DOM Level 3

        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public voidsetDocumentURI(java.lang.String documentURI)
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

        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public voidsetStrictErrorChecking(boolean strictErrorChecking)
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

        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
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 .

since
DOM Level 3

        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
    
public voidsetXmlVersion(java.lang.String version)
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

        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");