| org.netbeans.modules.visualweb.designer.markup.AbstractRaveDocument
All known Subclasses: org.netbeans.modules.visualweb.designer.markup.RaveRenderedDocument, org.netbeans.modules.visualweb.designer.markup.RaveSourceDocument,
AbstractRaveDocument | abstract public class AbstractRaveDocument extends DocumentImpl (Code) | | This class provides a DocumentImpl for use with xerces, but which instead
of ElementImpl produces XhtmlElementImpl objects.
author: Tor Norbye |
Method Summary | |
public Attr | createAttribute(String name) | public Attr | createAttributeNS(String namespaceUri, String qualifiedName) | public Attr | createAttributeNS(String namespaceUri, String qualifiedName, String localPart) | abstract protected Element | createDefaultElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName) | abstract protected Element | createDefaultElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName, String localpart) | public Element | createElement(String tagName) Non-NS elements should not be created; we don't want to mix
these with NS-elements since some document Edwin pointed me to
describes that this is a risky thing to do.
So we force the created element to be a NS element.
Parameters: tagName - The name of the element type to instantiate. | public Element | createElementNS(String namespaceURI, String qualifiedName) Introduced in DOM Level 2. | public Element | createElementNS(String namespaceURI, String qualifiedName, String localpart) NON-DOM: a factory method used by the Xerces DOM parser
to create an element.
Parameters: namespaceURI - The namespace URI of the element tocreate. Parameters: qualifiedName - The qualified name of the element type toinstantiate. Parameters: localpart - The local name of the attribute to instantiate. | abstract protected Element | createStyleElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName) | abstract protected Element | createStylesheetLinkElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName) | abstract protected Element | createTableElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName) | public Text | createTextNode(String data) Factory method; creates a Text node having this Document as its
OwnerDoc. | abstract protected Text | createTextNode(CoreDocumentImpl document, String data) | public Node | importNode(Node source, boolean deep) |
createDefaultElement | abstract protected Element createDefaultElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName)(Code) | | |
createDefaultElement | abstract protected Element createDefaultElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName, String localpart)(Code) | | |
createElement | public Element createElement(String tagName) throws DOMException(Code) | | Non-NS elements should not be created; we don't want to mix
these with NS-elements since some document Edwin pointed me to
describes that this is a risky thing to do.
So we force the created element to be a NS element.
Parameters: tagName - The name of the element type to instantiate. ForXML, this is case-sensitive. For HTML, the tagName parameter maybe provided in any case, but it must be mapped to the canonicaluppercase form by the DOM implementation. throws: DOMException - (INVALID_NAME_ERR) if the tag name is notacceptable. |
createElementNS | public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException(Code) | | Introduced in DOM Level 2.
Creates an element of the given qualified name and namespace URI.
If the given namespaceURI is null or an empty string and the
qualifiedName has a prefix that is "xml", the created element
is bound to the predefined namespace
"http://www.w3.org/XML/1998/namespace" [Namespaces].
Parameters: namespaceURI - The namespace URI of the element tocreate. Parameters: qualifiedName - The qualified name of the element type toinstantiate. Element A new Element object with the following attributes: throws: DOMException - INVALID_CHARACTER_ERR: Raised if the specifiedname contains an invalid character. throws: DOMException - NAMESPACE_ERR: Raised if the qualifiedName has aprefix that is "xml" and the namespaceURI isneither null nor an empty string nor"http://www.w3.org/XML/1998/namespace", orif the qualifiedName has a prefix differentfrom "xml" and the namespaceURI is null or anempty string. since: WD-DOM-Level-2-19990923 |
createElementNS | public Element createElementNS(String namespaceURI, String qualifiedName, String localpart) throws DOMException(Code) | | NON-DOM: a factory method used by the Xerces DOM parser
to create an element.
Parameters: namespaceURI - The namespace URI of the element tocreate. Parameters: qualifiedName - The qualified name of the element type toinstantiate. Parameters: localpart - The local name of the attribute to instantiate. Element A new Element object with the following attributes: exception: DOMException - INVALID_CHARACTER_ERR: Raised if the specifiedname contains an invalid character. |
createStyleElement | abstract protected Element createStyleElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName)(Code) | | |
createStylesheetLinkElement | abstract protected Element createStylesheetLinkElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName)(Code) | | |
createTableElement | abstract protected Element createTableElement(CoreDocumentImpl document, String namespaceURI, String qualifiedName)(Code) | | |
createTextNode | public Text createTextNode(String data)(Code) | | Factory method; creates a Text node having this Document as its
OwnerDoc.
Parameters: data - The initial contents of the Text. |
createTextNode | abstract protected Text createTextNode(CoreDocumentImpl document, String data)(Code) | | |
|
|