Class NonContainmentReferenceNode
- java.lang.Object
-
- com._1c.g5.modeling.xml.parser.nodemodel.AbstractNode
-
- com._1c.g5.modeling.xml.parser.nodemodel.AbstractFormattedNode
-
- com._1c.g5.modeling.xml.parser.nodemodel.NonContainmentReferenceNode
-
- All Implemented Interfaces:
ILocatable
,IModelNode
,INode
public class NonContainmentReferenceNode extends AbstractFormattedNode implements IModelNode
Узел parse-tree для non-containment фичи
-
-
Field Summary
-
Fields inherited from class com._1c.g5.modeling.xml.parser.nodemodel.AbstractFormattedNode
leftNameWS, leftValueWS, nameLocation, rightNameWS, rightValueWS, valueLocation
-
Fields inherited from class com._1c.g5.modeling.xml.parser.nodemodel.AbstractNode
children, location, parent, textValue
-
-
Constructor Summary
Constructors Constructor Description NonContainmentReferenceNode()
NonContainmentReferenceNode(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, INode parent, Location location)
NonContainmentReferenceNode(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, INode parent, Location nameLocation, Location valueLocation)
NonContainmentReferenceNode(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Location location, boolean isElement, boolean isHref)
NonContainmentReferenceNode(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Location nameLocation, Location valueLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
getLocation()
Метод для получения информации о позиции узлаorg.eclipse.emf.ecore.EStructuralFeature
getModelObject()
boolean
isElement()
boolean
isHref()
void
setElement(boolean isElement)
void
setHref(boolean isHref)
void
setLocation(Location location)
Выбрасывает исключение UnsupportedOperationExceptionvoid
setModelObject(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
-
Methods inherited from class com._1c.g5.modeling.xml.parser.nodemodel.AbstractFormattedNode
getAttributeNameLocation, getAttributeValueLocation, getLeftNameWS, getLeftValueWS, getNameLocation, getRightNameWS, getRightValueWS, getValueLocation, setLeftNameWS, setLeftValueWS, setNameLocation, setRightNameWS, setRightValueWS, setValueLocation, setWhiteSpaces
-
Methods inherited from class com._1c.g5.modeling.xml.parser.nodemodel.AbstractNode
getChildren, getNextSibling, getParent, getPreviousSibling, getTextValue, hasChildren, hasNextSibling, hasPreviousSibling, setParent, setTextValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.modeling.xml.parser.nodemodel.INode
getChildren, getNextSibling, getParent, getPreviousSibling, getTextValue, hasChildren, hasNextSibling, hasPreviousSibling, setParent, setTextValue
-
-
-
-
Constructor Detail
-
NonContainmentReferenceNode
public NonContainmentReferenceNode()
-
NonContainmentReferenceNode
public NonContainmentReferenceNode(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Location nameLocation, Location valueLocation)
-
NonContainmentReferenceNode
public NonContainmentReferenceNode(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, INode parent, Location nameLocation, Location valueLocation)
-
NonContainmentReferenceNode
public NonContainmentReferenceNode(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, INode parent, Location location)
-
NonContainmentReferenceNode
public NonContainmentReferenceNode(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, Location location, boolean isElement, boolean isHref)
-
-
Method Detail
-
getModelObject
public org.eclipse.emf.ecore.EStructuralFeature getModelObject()
- Specified by:
getModelObject
in interfaceIModelNode
-
setModelObject
public void setModelObject(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
-
isElement
public boolean isElement()
-
setElement
public void setElement(boolean isElement)
-
isHref
public boolean isHref()
-
setHref
public void setHref(boolean isHref)
-
getLocation
public Location getLocation()
Description copied from interface:INode
Метод для получения информации о позиции узла- Specified by:
getLocation
in interfaceILocatable
- Specified by:
getLocation
in interfaceINode
- Overrides:
getLocation
in classAbstractFormattedNode
- Returns:
- информация о позиции
- See Also:
Location
-
setLocation
public void setLocation(Location location)
Выбрасывает исключение UnsupportedOperationException- Specified by:
setLocation
in interfaceILocatable
- Specified by:
setLocation
in interfaceINode
- Overrides:
setLocation
in classAbstractFormattedNode
- Throws:
UnsupportedOperationException
-
-