Package | Description |
---|---|
com.hfg.xml |
Classes for XML handling.
|
Modifier and Type | Method and Description |
---|---|
XMLAttribute |
XMLAttribute.clone() |
XMLAttribute |
XMLNode.getAttribute(String inAttributeName) |
XMLAttribute |
XMLTag.getAttribute(String inAttributeName) |
XMLAttribute |
XMLNode.getAttribute(XMLName inAttributeName) |
XMLAttribute |
XMLTag.getAttribute(XMLName inAttributeName) |
XMLAttribute |
XMLNode.removeAttribute(String inAttributeName) |
XMLAttribute |
XMLTag.removeAttribute(String inAttributeName) |
XMLAttribute |
XMLNode.removeAttribute(XMLName inAttributeName) |
XMLAttribute |
XMLTag.removeAttribute(XMLName inAttributeName) |
Modifier and Type | Method and Description |
---|---|
Collection<XMLAttribute> |
XMLNode.getAttributes()
Returns a Set of XMLAttribute objects.
|
Collection<XMLAttribute> |
XMLTag.getAttributes()
Returns a Collection of XMLAttribute objects.
|
Iterator<XMLAttribute> |
XMLAttributeMap.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
XMLAttributeMap.add(XMLAttribute inXMLAttribute) |
int |
XMLAttribute.compareTo(XMLAttribute inAttr2)
XMLAttribute equality and comparison is based on the name.
|
static List<XMLNode> |
XMLUtil.findNodesByAttribute(XMLNode inRootNode,
XMLAttribute inAttribute) |
XMLNode |
XMLNode.setAttribute(XMLAttribute inAttribute) |
XMLTag |
XMLTag.setAttribute(XMLAttribute inAttribute) |
Modifier and Type | Method and Description |
---|---|
boolean |
XMLAttributeMap.addAll(Collection<? extends XMLAttribute> inXMLAttributes) |
static String |
XMLUtil.composeStartTag(String inName,
Collection<XMLAttribute> inAttributes)
Composes an xml start tag (ex: "<inName att1='value1' att2='value2'>").
|
static String |
XMLUtil.composeStartTag(String inName,
Collection<XMLAttribute> inAttributes,
boolean isEmptyTag)
Composes an xml start tag (ex: "<inName att1='value1' att2='value2'>").
|
void |
XMLNode.setAttributes(Collection<XMLAttribute> inAttributes)
Takes a Collection of XMLAttribute objects as input.
|
void |
XMLTag.setAttributes(Collection<XMLAttribute> inAttributes)
Takes a Collection of XMLAttribute objects as input.
|
protected void |
XMLTag.sortAttributes(List<XMLAttribute> inAttributes) |
Constructor and Description |
---|
XMLTag(String inName,
Collection<XMLAttribute> inAttributes) |
jataylor@hairyfatguy.com