public class ClassConfigNode extends Node
| Constructor and Description |
|---|
ClassConfigNode(Node parent,
java.util.Map attributes)
Creates a new ClassConfigNode with the given parent and attributes.
|
ClassConfigNode(java.lang.String elementName,
Node parent,
java.util.Map attributes)
Creates a new ClassConfigNode with the given parent and attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateConditions(Node parent,
java.util.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.
|
java.lang.String |
getClassName()
Returns the name of the class this node describes.
|
java.lang.String |
getParameter(java.lang.String parameterName)
Returns the string value of the given parametername or null if the parameter is not found.
|
java.util.Map |
getParameters()
Returns a map of parameters containing the key/value pairs defined in the "parameter" children of this node
|
java.lang.Class |
getTheClass()
Returns the class this node describes.
|
void |
setClassName(java.lang.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, java.util.Map attributes) throws NodeCreationFailedException
NodeCreationFailedExceptionpublic ClassConfigNode(java.lang.String elementName,
Node parent,
java.util.Map attributes)
throws NodeCreationFailedException
NodeCreationFailedExceptionprotected void checkCreateConditions(Node parent, java.util.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 java.lang.String getClassName()
public void setClassName(java.lang.String name)
public java.lang.Class getTheClass()
public java.util.Map getParameters()
public java.lang.String getParameter(java.lang.String parameterName)
Copyright © 2017 SAP SE. All Rights Reserved.