Package org.kie.dmn.model.v1_3
Class KieDMNModelInstrumentedBase
- java.lang.Object
-
- org.kie.dmn.model.v1_3.KieDMNModelInstrumentedBase
-
- All Implemented Interfaces:
DMNModelInstrumentedBase
- Direct Known Subclasses:
Bounds,Color,DiagramElement,DiagramElement.Extension,Dimension,DMNDI,Point,Style,TBinding,TDMNElement,TDMNElement.TExtensionElements,TDMNElementReference,TRuleAnnotation,TRuleAnnotationClause
public abstract class KieDMNModelInstrumentedBase extends Object implements DMNModelInstrumentedBase
-
-
Constructor Summary
Constructors Constructor Description KieDMNModelInstrumentedBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChildren(DMNModelInstrumentedBase child)<T extends DMNModelInstrumentedBase>
List<? extends T>findAllChildren(Class<T> clazz)Map<QName,String>getAdditionalAttributes()List<DMNModelInstrumentedBase>getChildren()StringgetIdentifierString()LocationgetLocation()Returns an approximated location of the XML origin for this DMN Model node.StringgetNamespaceURI(String prefix)Map<String,String>getNsContext()Namespace context map as defined at the level of the given element.DMNModelInstrumentedBasegetParent()DMNModelInstrumentedBasegetParentDRDElement()Optional<String>getPrefixForNamespaceURI(String namespaceURI)StringgetURIFEEL()voidsetAdditionalAttributes(Map<QName,String> additionalAttributes)voidsetLocation(Location location)voidsetParent(DMNModelInstrumentedBase parent)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.dmn.model.api.DMNModelInstrumentedBase
recurseNsKeys
-
-
-
-
Field Detail
-
URI_DMN
public static final String URI_DMN
- See Also:
- Constant Field Values
-
URI_FEEL
public static final String URI_FEEL
- See Also:
- Constant Field Values
-
URI_KIE
public static final String URI_KIE
- See Also:
- Constant Field Values
-
URI_DMNDI
public static final String URI_DMNDI
- See Also:
- Constant Field Values
-
URI_DI
public static final String URI_DI
- See Also:
- Constant Field Values
-
URI_DC
public static final String URI_DC
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdentifierString
public String getIdentifierString()
- Specified by:
getIdentifierStringin interfaceDMNModelInstrumentedBase
-
getParentDRDElement
public DMNModelInstrumentedBase getParentDRDElement()
- Specified by:
getParentDRDElementin interfaceDMNModelInstrumentedBase
-
getNsContext
public Map<String,String> getNsContext()
Description copied from interface:DMNModelInstrumentedBaseNamespace context map as defined at the level of the given element. Please notice it support also default namespace (no prefix) as "" as defined inXMLConstants.DEFAULT_NS_PREFIX.- Specified by:
getNsContextin interfaceDMNModelInstrumentedBase
-
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURIin interfaceDMNModelInstrumentedBase
-
getPrefixForNamespaceURI
public Optional<String> getPrefixForNamespaceURI(String namespaceURI)
- Specified by:
getPrefixForNamespaceURIin interfaceDMNModelInstrumentedBase
-
setAdditionalAttributes
public void setAdditionalAttributes(Map<QName,String> additionalAttributes)
- Specified by:
setAdditionalAttributesin interfaceDMNModelInstrumentedBase
-
getAdditionalAttributes
public Map<QName,String> getAdditionalAttributes()
- Specified by:
getAdditionalAttributesin interfaceDMNModelInstrumentedBase
-
getParent
public DMNModelInstrumentedBase getParent()
- Specified by:
getParentin interfaceDMNModelInstrumentedBase
-
setParent
public void setParent(DMNModelInstrumentedBase parent)
- Specified by:
setParentin interfaceDMNModelInstrumentedBase
-
getChildren
public List<DMNModelInstrumentedBase> getChildren()
- Specified by:
getChildrenin interfaceDMNModelInstrumentedBase
-
addChildren
public void addChildren(DMNModelInstrumentedBase child)
- Specified by:
addChildrenin interfaceDMNModelInstrumentedBase
-
setLocation
public void setLocation(Location location)
- Specified by:
setLocationin interfaceDMNModelInstrumentedBase
-
getLocation
public Location getLocation()
Returns an approximated location of the XML origin for this DMN Model node.- Specified by:
getLocationin interfaceDMNModelInstrumentedBase
-
getURIFEEL
public String getURIFEEL()
- Specified by:
getURIFEELin interfaceDMNModelInstrumentedBase
-
findAllChildren
public <T extends DMNModelInstrumentedBase> List<? extends T> findAllChildren(Class<T> clazz)
- Specified by:
findAllChildrenin interfaceDMNModelInstrumentedBase
-
-