public class UnparentedNode extends Object implements Serializable
Constructor and Description |
---|
UnparentedNode() |
UnparentedNode(Class<?> originalInterface) |
UnparentedNode(Class<?> originalInterface,
boolean isPlaceholder) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(String xmlTag,
ChildType childType,
UnparentedNode child,
Map<String,String> defaultChild) |
void |
addNonChildProperty(String xmlTag,
String defaultValue,
Class<?> childType) |
Collection<ParentedNode> |
getAllChildren() |
ParentedNode |
getChild(String propName) |
Map<String,ParentedNode> |
getChildrenProperties() |
String |
getDefaultChildValue(String propName) |
Set<String> |
getKeyedChildren() |
String |
getKeyProperty() |
Set<String> |
getNonChildProperties() |
Class<?> |
getNonChildType(String propName) |
Class<?> |
getOriginalInterface() |
String |
getRootName() |
Class<?> |
getTranslatedClass() |
Set<String> |
getUnKeyedChildren() |
boolean |
isChildProperty(String propName) |
boolean |
isPlaceholder()
For cycles we sometimes use a not-fully-filled in node
as a temporary placeholder
|
void |
setKeyProperty(String keyProperty) |
void |
setRootName(String rootName) |
void |
setTranslatedClass(Class<?> translatedClass) |
String |
toString() |
public UnparentedNode()
public UnparentedNode(Class<?> originalInterface)
public UnparentedNode(Class<?> originalInterface, boolean isPlaceholder)
public Class<?> getOriginalInterface()
public Class<?> getTranslatedClass()
public void setTranslatedClass(Class<?> translatedClass)
translatedClass
- the translatedClass to setpublic String getRootName()
public void setRootName(String rootName)
rootName
- the rootName to setpublic void addChild(String xmlTag, ChildType childType, UnparentedNode child, Map<String,String> defaultChild)
public void addNonChildProperty(String xmlTag, String defaultValue, Class<?> childType)
public ParentedNode getChild(String propName)
public Collection<ParentedNode> getAllChildren()
public String getKeyProperty()
public void setKeyProperty(String keyProperty)
keyProperty
- the keyProperty to setpublic Map<String,ParentedNode> getChildrenProperties()
public boolean isPlaceholder()
public boolean isChildProperty(String propName)
Copyright © 2009–2015 Oracle Corporation. All rights reserved.