public class XMLConfigElement extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
getBooleanAttribute(String name,
boolean def) |
XMLConfigElement |
getChildByName(String name) |
ArrayList<XMLConfigElement> |
getChildList() |
ArrayList<XMLConfigElement> |
getChildListByName(String name) |
String |
getContent() |
double |
getDoubleAttribute(String name,
double def) |
float |
getFloatAttribute(String name,
float def) |
int |
getIntAttribute(String name,
int def) |
long |
getLongAttribute(String name,
long def) |
String |
getName() |
short |
getShortAttribute(String name,
short def) |
String |
getStringAttribute(String name) |
String |
getStringAttribute(String name,
String def) |
boolean |
isExistAttribute(String name) |
boolean |
isValid() |
public boolean isValid()
public boolean isExistAttribute(String name)
public boolean getBooleanAttribute(String name, boolean def)
public int getIntAttribute(String name, int def)
public double getDoubleAttribute(String name, double def)
public long getLongAttribute(String name, long def)
public short getShortAttribute(String name, short def)
public float getFloatAttribute(String name, float def)
public String getName()
public String getContent()
public XMLConfigElement getChildByName(String name)
public ArrayList<XMLConfigElement> getChildListByName(String name)
public ArrayList<XMLConfigElement> getChildList()
Copyright © 2020. All Rights Reserved.