| Modifier and Type | Field and Description | 
|---|---|
static String | 
CHILDREN_COMBINATION_APPEND
The attribute append. 
 | 
static String | 
CHILDREN_COMBINATION_MODE_ATTRIBUTE
The attribute which identifies merge/append. 
 | 
static String | 
SELF_COMBINATION_MERGE
The attribute which identifies  
merge | 
static String | 
SELF_COMBINATION_MODE_ATTRIBUTE
The name of the attribute. 
 | 
static String | 
SELF_COMBINATION_OVERRIDE
The attributes which identifies  
override. | 
| Constructor and Description | 
|---|
Xpp3Dom(String name)  | 
Xpp3Dom(Xpp3Dom source)
Create instance. 
 | 
Xpp3Dom(Xpp3Dom src,
       String name)
Create instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addChild(Xpp3Dom child)  | 
boolean | 
equals(Object obj) | 
String | 
getAttribute(String nameParameter)  | 
String[] | 
getAttributeNames()  | 
Xpp3Dom | 
getChild(int i)  | 
Xpp3Dom | 
getChild(String nameParameter)  | 
int | 
getChildCount()  | 
Xpp3Dom[] | 
getChildren()  | 
Xpp3Dom[] | 
getChildren(String nameParameter)  | 
String | 
getName()  | 
Xpp3Dom | 
getParent()  | 
String | 
getValue()  | 
int | 
hashCode() | 
static boolean | 
isEmpty(String str)  | 
static boolean | 
isNotEmpty(String str)  | 
Iterator<Xpp3Dom> | 
iterator() | 
static Xpp3Dom | 
mergeXpp3Dom(Xpp3Dom dominant,
            Xpp3Dom recessive)  | 
static Xpp3Dom | 
mergeXpp3Dom(Xpp3Dom dominant,
            Xpp3Dom recessive,
            Boolean childMergeOverride)  | 
void | 
removeChild(int i)  | 
void | 
setAttribute(String nameParameter,
            String valueParameter)  | 
void | 
setParent(Xpp3Dom parent)  | 
void | 
setValue(String value)  | 
String | 
toString() | 
String | 
toUnescapedString()  | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String CHILDREN_COMBINATION_MODE_ATTRIBUTE
public static final String CHILDREN_COMBINATION_APPEND
public static final String SELF_COMBINATION_MODE_ATTRIBUTE
public static final String SELF_COMBINATION_OVERRIDE
override.public static final String SELF_COMBINATION_MERGE
mergepublic Xpp3Dom(String name)
name - The name of the instance.public Xpp3Dom(Xpp3Dom source)
source - The source.public String getName()
public String[] getAttributeNames()
public String getAttribute(String nameParameter)
nameParameter - The name of the attribute.public void setAttribute(@Nonnull String nameParameter, @Nonnull String valueParameter)
nameParameter - The name of the attribute.valueParameter - The value of the attribute.public Xpp3Dom getChild(int i)
i - The index to be selected.public Xpp3Dom getChild(String nameParameter)
nameParameter - The name of the child.public void addChild(Xpp3Dom child)
child - The child to be added.public Xpp3Dom[] getChildren()
public Xpp3Dom[] getChildren(String nameParameter)
nameParameter - The name of the child.public int getChildCount()
public void removeChild(int i)
i - The child to be removed.public Xpp3Dom getParent()
public void setParent(Xpp3Dom parent)
parent - Set the parent.public static Xpp3Dom mergeXpp3Dom(Xpp3Dom dominant, Xpp3Dom recessive, Boolean childMergeOverride)
dominant - The dominant part.recessive - The recessive part.childMergeOverride - true if child merge will take precedence false otherwise.public static Xpp3Dom mergeXpp3Dom(Xpp3Dom dominant, Xpp3Dom recessive)
dominant - The dominant part.recessive - The recessive part.public String toUnescapedString()
public static boolean isNotEmpty(String str)
str - The string to be checked.null.public static boolean isEmpty(String str)
str - The string to be checked.null.Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.