|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.html.XHtmlWidget
net.xoetrope.html.XMetaContent
public class XMetaContent
Copyright (c) Xoetrope Ltd., 1998-2003
License: see license.txt
| Field Summary |
|---|
| Fields inherited from class net.xoetrope.html.XHtmlWidget |
|---|
currentProject, divElement, htmlDoc, imageElement, inputElement, labelElement, metaElement, olElement, selectElement, tableElement, textareaElement, ulElement |
| Constructor Summary | |
|---|---|
XMetaContent()
Constructs a new XMetaContent component |
|
XMetaContent(org.w3c.dom.html.HTMLMetaElement meta)
Create a new XMetaContent based on an existing HTML meta element. |
|
XMetaContent(java.lang.String id)
Create a new XMetaContent with an id |
|
| Method Summary | |
|---|---|
java.lang.String |
getContent()
Get the meta content's name . |
org.w3c.dom.html.HTMLMetaElement |
getHTMLElement()
Get the HTML element at which refers the XMetaContent. |
java.lang.String |
getHttpEquiv()
Get the http-equiv attribute of the meta element |
java.lang.String |
getName()
Get the name attribute of the meta element |
java.lang.String |
getScheme()
Get the scheme attribute of the meta element |
void |
setContent(java.lang.String content)
Set the meta content to a simple string value |
void |
setContent(java.lang.String source,
XmlElement srcReader)
Set the meta content. |
void |
setHttpEquiv(java.lang.String httpEquiv)
Set the http-equiv attribute of the meta element |
void |
setName(java.lang.String name)
Set the name attribute of the meta element |
void |
setScheme(java.lang.String scheme)
Set the scheme attribute of the meta element |
void |
setStyle(java.lang.String style)
Set the current style. |
| Methods inherited from class net.xoetrope.html.XHtmlWidget |
|---|
addEvent, setObject, setObject, setObject, setObject, setObject, setObject, setObject, setObject, setObject, setObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMetaContent()
public XMetaContent(java.lang.String id)
id - the id of the meta contentpublic XMetaContent(org.w3c.dom.html.HTMLMetaElement meta)
meta - the HTML meta tag the XMetaContent refers to| Method Detail |
|---|
public void setContent(java.lang.String content)
public java.lang.String getContent()
public void setHttpEquiv(java.lang.String httpEquiv)
httpEquiv - the attribute valuepublic java.lang.String getHttpEquiv()
public void setName(java.lang.String name)
name - the attribute valuepublic java.lang.String getName()
public void setScheme(java.lang.String scheme)
scheme - the attribute valuepublic java.lang.String getScheme()
public org.w3c.dom.html.HTMLMetaElement getHTMLElement()
public void setContent(java.lang.String source,
XmlElement srcReader)
setContent in interface XMetaContentHoldersource - the location from which the xml was obtainedsrcReader - the input xmlpublic void setStyle(java.lang.String style)
setStyle in interface XStyleComponentstyle - the style name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||