Package com.sodius.mdw.metamodel.xml
Interface XMLDeclaration
-
- All Superinterfaces:
Comparable<Object>,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,org.eclipse.emf.common.notify.Notifier
public interface XMLDeclaration extends MDWEObject, org.eclipse.emf.ecore.EModelElement
A representation of the model object 'XML Declaration'.The following features are supported:
- See Also:
XmlPackage.getXMLDeclaration()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEncoding()Returns the value of the 'Encoding' attribute.MDWEList<MiscText>getMiscTexts()Returns the value of the 'Misc Texts' containment reference list.DocumentgetParent()Returns the value of the 'Parent' container reference.StringgetVersionInfo()Returns the value of the 'Version Info' attribute.booleanisStandalone()Returns the value of the 'Standalone' attribute.voidsetEncoding(String value)Sets the value of the 'Encoding' attribute.voidsetParent(Document value)Sets the value of the 'Parent' container reference.voidsetStandalone(boolean value)Sets the value of the 'Standalone' attribute.voidsetVersionInfo(String value)Sets the value of the 'Version Info' attribute.-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
-
-
-
Method Detail
-
getParent
Document getParent()
Returns the value of the 'Parent' container reference. It is bidirectional and its opposite is 'Xml Decl'.- Returns:
- the value of the 'Parent' container reference.
- See Also:
setParent(Document),XmlPackage.getXMLDeclaration_Parent(),Document.getXmlDecl()
-
setParent
void setParent(Document value)
Sets the value of the 'Parent' container reference.- Parameters:
value- the new value of the 'Parent' container reference.- See Also:
getParent()
-
getVersionInfo
String getVersionInfo()
Returns the value of the 'Version Info' attribute. The default value is"".- Returns:
- the value of the 'Version Info' attribute.
- See Also:
setVersionInfo(String),XmlPackage.getXMLDeclaration_VersionInfo()
-
setVersionInfo
void setVersionInfo(String value)
Sets the value of the 'Version Info' attribute.- Parameters:
value- the new value of the 'Version Info' attribute.- See Also:
getVersionInfo()
-
isStandalone
boolean isStandalone()
Returns the value of the 'Standalone' attribute.- Returns:
- the value of the 'Standalone' attribute.
- See Also:
setStandalone(boolean),XmlPackage.getXMLDeclaration_Standalone()
-
setStandalone
void setStandalone(boolean value)
Sets the value of the 'Standalone' attribute.- Parameters:
value- the new value of the 'Standalone' attribute.- See Also:
isStandalone()
-
getEncoding
String getEncoding()
Returns the value of the 'Encoding' attribute. The default value is"".- Returns:
- the value of the 'Encoding' attribute.
- See Also:
setEncoding(String),XmlPackage.getXMLDeclaration_Encoding()
-
setEncoding
void setEncoding(String value)
Sets the value of the 'Encoding' attribute.- Parameters:
value- the new value of the 'Encoding' attribute.- See Also:
getEncoding()
-
getMiscTexts
MDWEList<MiscText> getMiscTexts()
Returns the value of the 'Misc Texts' containment reference list. The list contents are of typeMiscText.- Returns:
- the value of the 'Misc Texts' containment reference list.
- See Also:
XmlPackage.getXMLDeclaration_MiscTexts()
-
-