blob: a1aca381bbf2140330140e8988d6c2c32adce119 [file] [log] [blame]
/**
*/
package org.w3._1999.xhtml;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Html Type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.w3._1999.xhtml.HtmlType#getHead <em>Head</em>}</li>
* <li>{@link org.w3._1999.xhtml.HtmlType#getBody <em>Body</em>}</li>
* <li>{@link org.w3._1999.xhtml.HtmlType#getDir <em>Dir</em>}</li>
* <li>{@link org.w3._1999.xhtml.HtmlType#getId <em>Id</em>}</li>
* <li>{@link org.w3._1999.xhtml.HtmlType#getLang <em>Lang</em>}</li>
* <li>{@link org.w3._1999.xhtml.HtmlType#getLang1 <em>Lang1</em>}</li>
* </ul>
*
* @see org.w3._1999.xhtml.XhtmlPackage#getHtmlType()
* @model extendedMetaData="name='html_._type' kind='elementOnly'"
* @generated
*/
public interface HtmlType extends EObject {
/**
* Returns the value of the '<em><b>Head</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* content model is "head.misc" combined with a single
* title and an optional base element in any order
*
* <!-- end-model-doc -->
* @return the value of the '<em>Head</em>' containment reference.
* @see #setHead(HeadType)
* @see org.w3._1999.xhtml.XhtmlPackage#getHtmlType_Head()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='head' namespace='##targetNamespace'"
* @generated
*/
HeadType getHead();
/**
* Sets the value of the '{@link org.w3._1999.xhtml.HtmlType#getHead <em>Head</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Head</em>' containment reference.
* @see #getHead()
* @generated
*/
void setHead(HeadType value);
/**
* Returns the value of the '<em><b>Body</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Body</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Body</em>' containment reference.
* @see #setBody(BodyType)
* @see org.w3._1999.xhtml.XhtmlPackage#getHtmlType_Body()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='body' namespace='##targetNamespace'"
* @generated
*/
BodyType getBody();
/**
* Sets the value of the '{@link org.w3._1999.xhtml.HtmlType#getBody <em>Body</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Body</em>' containment reference.
* @see #getBody()
* @generated
*/
void setBody(BodyType value);
/**
* Returns the value of the '<em><b>Dir</b></em>' attribute.
* The literals are from the enumeration {@link org.w3._1999.xhtml.DirType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Dir</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Dir</em>' attribute.
* @see org.w3._1999.xhtml.DirType
* @see #isSetDir()
* @see #unsetDir()
* @see #setDir(DirType)
* @see org.w3._1999.xhtml.XhtmlPackage#getHtmlType_Dir()
* @model unsettable="true"
* extendedMetaData="kind='attribute' name='dir'"
* @generated
*/
DirType getDir();
/**
* Sets the value of the '{@link org.w3._1999.xhtml.HtmlType#getDir <em>Dir</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Dir</em>' attribute.
* @see org.w3._1999.xhtml.DirType
* @see #isSetDir()
* @see #unsetDir()
* @see #getDir()
* @generated
*/
void setDir(DirType value);
/**
* Unsets the value of the '{@link org.w3._1999.xhtml.HtmlType#getDir <em>Dir</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetDir()
* @see #getDir()
* @see #setDir(DirType)
* @generated
*/
void unsetDir();
/**
* Returns whether the value of the '{@link org.w3._1999.xhtml.HtmlType#getDir <em>Dir</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Dir</em>' attribute is set.
* @see #unsetDir()
* @see #getDir()
* @see #setDir(DirType)
* @generated
*/
boolean isSetDir();
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see org.w3._1999.xhtml.XhtmlPackage#getHtmlType_Id()
* @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID"
* extendedMetaData="kind='attribute' name='id'"
* @generated
*/
String getId();
/**
* Sets the value of the '{@link org.w3._1999.xhtml.HtmlType#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);
/**
* Returns the value of the '<em><b>Lang</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Lang</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Lang</em>' attribute.
* @see #setLang(String)
* @see org.w3._1999.xhtml.XhtmlPackage#getHtmlType_Lang()
* @model dataType="org.w3._1999.xhtml.LanguageCode"
* extendedMetaData="kind='attribute' name='lang'"
* @generated
*/
String getLang();
/**
* Sets the value of the '{@link org.w3._1999.xhtml.HtmlType#getLang <em>Lang</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Lang</em>' attribute.
* @see #getLang()
* @generated
*/
void setLang(String value);
/**
* Returns the value of the '<em><b>Lang1</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <div xmlns="http://www.w3.org/1999/xhtml">
* <h3>lang (as an attribute name)</h3>
* <p>
* denotes an attribute whose value
* is a language code for the natural language of the content of
* any element; its value is inherited. This name is reserved
* by virtue of its definition in the XML specification.</p>
* </div>
* <div xmlns="http://www.w3.org/1999/xhtml">
* <h4>Notes</h4>
* <p>
* Attempting to install the relevant ISO 2- and 3-letter
* codes as the enumerated possible values is probably never
* going to be a realistic possibility.
* </p>
* <p>
* See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
* http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
* and the IANA language subtag registry at
* <a href="http://www.iana.org/assignments/language-subtag-registry">
* http://www.iana.org/assignments/language-subtag-registry</a>
* for further information.
* </p>
* <p>
* The union allows for the 'un-declaration' of xml:lang with
* the empty string.
* </p>
* </div>
*
* <!-- end-model-doc -->
* @return the value of the '<em>Lang1</em>' attribute.
* @see #setLang1(String)
* @see org.w3._1999.xhtml.XhtmlPackage#getHtmlType_Lang1()
* @model dataType="org.eclipse.emf.ecore.xml.namespace.LangType"
* extendedMetaData="kind='attribute' name='lang' namespace='http://www.w3.org/XML/1998/namespace'"
* @generated
*/
String getLang1();
/**
* Sets the value of the '{@link org.w3._1999.xhtml.HtmlType#getLang1 <em>Lang1</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Lang1</em>' attribute.
* @see #getLang1()
* @generated
*/
void setLang1(String value);
} // HtmlType