org.enhydra.xml.xhtml.dom.xerces
Class XHTMLObjectElementImpl
java.lang.Object
|
+--org.apache.xerces.dom.NodeImpl
|
+--org.apache.xerces.dom.ChildNode
|
+--org.apache.xerces.dom.ParentNode
|
+--org.apache.xerces.dom.ElementImpl
|
+--org.apache.xerces.dom.ElementNSImpl
|
+--org.enhydra.xml.xhtml.dom.xerces.XHTMLElementImpl
|
+--org.enhydra.xml.xhtml.dom.xerces.XHTMLObjectElementImpl
- All Implemented Interfaces:
- Cloneable, Element, ElementTraversal, EventTarget, HTMLElement, org.apache.html.dom.HTMLFormControl, HTMLObjectElement, Node, NodeList, Serializable, TypeInfo, XHTMLElement, XHTMLFormControl, XHTMLObjectElement
- public class XHTMLObjectElementImpl
- extends XHTMLElementImpl
- implements XHTMLObjectElement, XHTMLFormControl
- See Also:
- Serialized Form
Inner classes inherited from class org.apache.xerces.dom.ParentNode |
org.apache.xerces.dom.ParentNode.UserDataRecord |
Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
localName, namespaceURI, serialVersionUID, type, xmlURI |
Fields inherited from class org.apache.xerces.dom.ElementImpl |
attributes, name |
Fields inherited from class org.apache.xerces.dom.ParentNode |
firstChild, fNodeListCache, ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
Fields inherited from class org.apache.xerces.dom.NodeImpl |
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Methods inherited from class org.enhydra.xml.xhtml.dom.xerces.XHTMLElementImpl |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBinary, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getInteger, getLang, getOnBlur, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getStyle, getTitle, getXmlLang, setAttribute, setAttribute, setClassName, setDir, setId, setLang, setOnBlur, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStyle, setTitle, setXmlLang |
Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, rename, setPrefix, setType |
Methods inherited from class org.apache.xerces.dom.ElementImpl |
cloneNode, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, moveSpecifiedAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, rename, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
Methods inherited from class org.apache.xerces.dom.ParentNode |
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, getTextContent, hasChildNodes, hasTextContent, insertBefore, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, removeChild, replaceChild, setTextContent, synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling, parentNode, previousSibling |
Methods inherited from class org.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getElementAncestor, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isFirstChild, isFirstChild, isIdAttribute, isIdAttribute, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setNodeValue, setUserData, setUserData, toString |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.enhydra.xml.xhtml.dom.XHTMLObjectElement |
getOnClick, getOnDblClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getStyle, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStyle |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
XHTMLObjectElementImpl
public XHTMLObjectElementImpl(XHTMLDocumentBase owner,
String namespaceURI,
String tagName)
- Constructor requires owner document.
- Parameters:
owner
- The owner HTML document
getCode
public String getCode()
- Specified by:
getCode
in interface HTMLObjectElement
setCode
public void setCode(String code)
- Specified by:
setCode
in interface HTMLObjectElement
getAlign
public String getAlign()
- Specified by:
getAlign
in interface HTMLObjectElement
setAlign
public void setAlign(String align)
- Specified by:
setAlign
in interface HTMLObjectElement
getArchive
public String getArchive()
- Specified by:
getArchive
in interface HTMLObjectElement
setArchive
public void setArchive(String archive)
- Specified by:
setArchive
in interface HTMLObjectElement
getBorder
public String getBorder()
- Specified by:
getBorder
in interface HTMLObjectElement
setBorder
public void setBorder(String border)
- Specified by:
setBorder
in interface HTMLObjectElement
getCodeBase
public String getCodeBase()
- Specified by:
getCodeBase
in interface HTMLObjectElement
setCodeBase
public void setCodeBase(String codeBase)
- Specified by:
setCodeBase
in interface HTMLObjectElement
getCodeType
public String getCodeType()
- Specified by:
getCodeType
in interface HTMLObjectElement
setCodeType
public void setCodeType(String codeType)
- Specified by:
setCodeType
in interface HTMLObjectElement
getData
public String getData()
- Specified by:
getData
in interface HTMLObjectElement
setData
public void setData(String data)
- Specified by:
setData
in interface HTMLObjectElement
getDeclare
public boolean getDeclare()
- Specified by:
getDeclare
in interface HTMLObjectElement
setDeclare
public void setDeclare(boolean declare)
- Specified by:
setDeclare
in interface HTMLObjectElement
getHeight
public String getHeight()
- Specified by:
getHeight
in interface HTMLObjectElement
setHeight
public void setHeight(String height)
- Specified by:
setHeight
in interface HTMLObjectElement
getHspace
public String getHspace()
- Specified by:
getHspace
in interface HTMLObjectElement
setHspace
public void setHspace(String hspace)
- Specified by:
setHspace
in interface HTMLObjectElement
getName
public String getName()
- Specified by:
getName
in interface HTMLObjectElement
setName
public void setName(String name)
- Specified by:
setName
in interface HTMLObjectElement
getStandby
public String getStandby()
- Specified by:
getStandby
in interface HTMLObjectElement
setStandby
public void setStandby(String standby)
- Specified by:
setStandby
in interface HTMLObjectElement
getTabIndex
public int getTabIndex()
- Specified by:
getTabIndex
in interface HTMLObjectElement
setTabIndex
public void setTabIndex(int tabIndex)
- Specified by:
setTabIndex
in interface HTMLObjectElement
getType
public String getType()
- Specified by:
getType
in interface HTMLObjectElement
setType
public void setType(String type)
- Specified by:
setType
in interface HTMLObjectElement
getUseMap
public String getUseMap()
- Specified by:
getUseMap
in interface HTMLObjectElement
setUseMap
public void setUseMap(String useMap)
- Specified by:
setUseMap
in interface HTMLObjectElement
getVspace
public String getVspace()
- Specified by:
getVspace
in interface HTMLObjectElement
setVspace
public void setVspace(String vspace)
- Specified by:
setVspace
in interface HTMLObjectElement
getWidth
public String getWidth()
- Specified by:
getWidth
in interface HTMLObjectElement
setWidth
public void setWidth(String width)
- Specified by:
setWidth
in interface HTMLObjectElement
getClassid
public String getClassid()
- Specified by:
getClassid
in interface XHTMLObjectElement
setClassid
public void setClassid(String classId)
- Specified by:
setClassid
in interface XHTMLObjectElement
getContentDocument
public Document getContentDocument()
- This was an HTML DOM Level 2 method that leaked its way into the JDK1.4+
API. HTML DOM Level 2 is supposed to be implemented in the package
org.w3c.dom.html2
, not in the Level 1 package. We are forced
to implement this method to build under JDK1.4+. However, all we do is
return null.
Note: This had been implemented prior to XMLC 1.3.2, but the implementation
was improper and simply threw an UnsupportedOperationException under JDK1.4+.
And, if the Xerces xml-apis.jar was made an endorsed library, you'd get a
NoSuchMethodError as it makes no mention of the method. As such, it's safe
to say no one is using this method so changing the behavior shouldn't hurt
anyone. The reasonable thing to do is just return null which is compatible
with the JDK Javadoc: "The document this frame contains, if there is any
and it is available, or null otherwise."
- Returns:
- always null, never contains a document
- See Also:
HTMLObjectElement#getContentDocument()
Copyright © 1999-2002 Mark Diekhans, enhydra.org. All Rights reserved.