|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.XHTMLIFrameElementImpl
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.TypeInfo |
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
Constructor Summary | |
XHTMLIFrameElementImpl(XHTMLDocumentBase owner,
String namespaceURI,
String tagName)
Constructor requires owner document. |
Method Summary | |
String |
getAlign()
|
Document |
getContentDocument()
This was an HTML DOM Level 2 method that leaked its way into the JDK1.4+ API. |
String |
getFrameBorder()
|
String |
getHeight()
|
String |
getLongDesc()
|
String |
getMarginHeight()
|
String |
getMarginWidth()
|
String |
getName()
|
String |
getScrolling()
|
String |
getSrc()
|
String |
getWidth()
|
void |
setAlign(String align)
|
void |
setFrameBorder(String frameBorder)
|
void |
setHeight(String height)
|
void |
setLongDesc(String longDesc)
|
void |
setMarginHeight(String marginHeight)
|
void |
setMarginWidth(String marginWidth)
|
void |
setName(String name)
|
void |
setScrolling(String scrolling)
|
void |
setSrc(String src)
|
void |
setWidth(String width)
|
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 |
|
Methods inherited from interface org.enhydra.xml.xhtml.dom.XHTMLIFrameElement |
getStyle, setStyle |
Methods inherited from interface org.enhydra.xml.xhtml.dom.XHTMLElement |
getXmlLang, setXmlLang |
Methods inherited from interface org.w3c.dom.html.HTMLElement |
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
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 |
Constructor Detail |
public XHTMLIFrameElementImpl(XHTMLDocumentBase owner, String namespaceURI, String tagName)
owner
- The owner HTML documentMethod Detail |
public String getAlign()
getAlign
in interface HTMLIFrameElement
public void setAlign(String align)
setAlign
in interface HTMLIFrameElement
public String getFrameBorder()
getFrameBorder
in interface HTMLIFrameElement
public void setFrameBorder(String frameBorder)
setFrameBorder
in interface HTMLIFrameElement
public String getHeight()
getHeight
in interface HTMLIFrameElement
public void setHeight(String height)
setHeight
in interface HTMLIFrameElement
public String getLongDesc()
getLongDesc
in interface HTMLIFrameElement
public void setLongDesc(String longDesc)
setLongDesc
in interface HTMLIFrameElement
public String getMarginHeight()
getMarginHeight
in interface HTMLIFrameElement
public void setMarginHeight(String marginHeight)
setMarginHeight
in interface HTMLIFrameElement
public String getMarginWidth()
getMarginWidth
in interface HTMLIFrameElement
public void setMarginWidth(String marginWidth)
setMarginWidth
in interface HTMLIFrameElement
public String getName()
getName
in interface HTMLIFrameElement
public void setName(String name)
setName
in interface HTMLIFrameElement
public String getScrolling()
getScrolling
in interface HTMLIFrameElement
public void setScrolling(String scrolling)
setScrolling
in interface HTMLIFrameElement
public String getSrc()
getSrc
in interface HTMLIFrameElement
public void setSrc(String src)
setSrc
in interface HTMLIFrameElement
public String getWidth()
getWidth
in interface HTMLIFrameElement
public void setWidth(String width)
setWidth
in interface HTMLIFrameElement
public Document getContentDocument()
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."
HTMLIFrameElement#getContentDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |