public static class ChildElement.ChildElementBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
attributePropertyMap |
protected HashMap<String,ParseableElement> |
childElements |
protected Class |
elementClass |
protected String |
elementName |
protected String |
elementPropertyName |
| Constructor and Description |
|---|
ChildElement.ChildElementBuilder(Class elementClass) |
| Modifier and Type | Method and Description |
|---|---|
ChildElement |
build() |
ChildElement.ChildElementBuilder |
withAttribute(String attributeName,
String propertyName) |
ChildElement.ChildElementBuilder |
withChildElement(ParseableElement childElement) |
ChildElement.ChildElementBuilder |
withElementName(String elementName) |
ChildElement.ChildElementBuilder |
withElementPropertyName(String elementPropertyName) |
protected Class elementClass
protected String elementName
protected String elementPropertyName
protected HashMap<String,ParseableElement> childElements
public ChildElement.ChildElementBuilder(Class elementClass)
public ChildElement.ChildElementBuilder withElementName(String elementName)
public ChildElement.ChildElementBuilder withElementPropertyName(String elementPropertyName)
public ChildElement.ChildElementBuilder withAttribute(String attributeName, String propertyName)
public ChildElement.ChildElementBuilder withChildElement(ParseableElement childElement)
public ChildElement build()
Copyright © 2017. All rights reserved.