public class ClassConfigNode extends Node
| Constructor and Description |
|---|
ClassConfigNode(Node parent,
Map attributes)
Creates a new ClassConfigNode with the given parent and attributes.
|
ClassConfigNode(String elementName,
Node parent,
Map attributes)
Creates a new ClassConfigNode with the given parent and attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateConditions(Node parent,
Map attributes)
Checks if the given classname (within the attribute map) is a real classname.
|
Node |
clone(Node newParent)
This method returns a clone of the current node whichs parent node is specified by the parameter newParent.
|
String |
getClassName()
Returns the name of the class this node describes.
|
String |
getParameter(String parameterName)
Returns the string value of the given parametername or null if the parameter is not found.
|
Map |
getParameters()
Returns a map of parameters containing the key/value pairs defined in the "parameter" children of this node
|
Class |
getTheClass()
Returns the class this node describes.
|
void |
setClassName(String name)
Set the name of the class this node describes.
|
addAttribute, addChild, addChildren, cloneAll, getAttributes, getBooleanAttribute, getBooleanAttribute, getCachedObject, getChild, getChildren, getChildren, getChildrenInternal, getEditorNode, getElementName, getIntegerAttribute, getIntegerAttribute, getLogger, getParent, getPosition, getPositionInfo, getStringAttribute, getStringAttribute, getSuperNode, removeAttribute, removeChild, replace, replaceChild, setAttributes, setElementName, setParent, setPosition, setPositionInfopublic ClassConfigNode(Node parent, Map attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic ClassConfigNode(String elementName, Node parent, Map attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionprotected void checkCreateConditions(Node parent, Map attributes) throws NodeCreationFailedException
checkCreateConditions in class Nodeparent - the parent node as given to the constructorattributes - the attribute map as given to the constructorNodeCreationFailedException - if the creation of the node failspublic String getClassName()
public void setClassName(String name)
public Class getTheClass()
public Map getParameters()
public String getParameter(String parameterName)
Copyright © 2017 SAP SE. All Rights Reserved.