FileDocCategorySizeDatePackage
DefaultDocument.javaAPI DocApache Xerces 3.0.19334Fri Sep 14 20:33:52 BST 2007org.apache.xerces.impl.xs.opti

DefaultDocument

public class DefaultDocument extends NodeImpl implements Document
xerces.internal
author
Rahul Srivastava, Sun Microsystems Inc.
version
$Id: DefaultDocument.java 446728 2006-09-15 20:43:46Z mrglavas $

Fields Summary
private String
fDocumentURI
Constructors Summary
public DefaultDocument()

    
    // default constructor
      
    
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 fDocumentURI;
    
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

        fDocumentURI = documentURI;
    
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");