Package jetbrains.mps.util.xml
Class XmlUtil
- java.lang.Object
 - 
- jetbrains.mps.util.xml.XmlUtil
 
 
- 
public class XmlUtil extends Object
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanbooleanWithDefault(org.jdom.Element element, String attrName, boolean defaultValue)static Iterable<org.jdom.Element>children(org.jdom.Element container, String tagName)static org.jdom.Elementfirst(org.jdom.Element container, String tagName)static StringstringWithDefault(org.jdom.Element element, String attrName, String defaultValue)static voidtagWithAttribute(org.jdom.Element container, String tagName, String attrName, String attrValue)static voidtagWithAttributeAndText(org.jdom.Element container, String tagName, String attrName, String attrValue, String text)static voidtagWithAttributes(org.jdom.Element container, String tagName, String attrName, String attrValue, String attr2Name, String attr2Value)static voidtagWithText(org.jdom.Element container, String tagName, String text) 
 - 
 
- 
- 
Method Detail
- 
tagWithText
public static void tagWithText(org.jdom.Element container, String tagName, String text) 
- 
tagWithAttribute
public static void tagWithAttribute(org.jdom.Element container, String tagName, String attrName, String attrValue) 
- 
tagWithAttributeAndText
public static void tagWithAttributeAndText(org.jdom.Element container, String tagName, String attrName, String attrValue, String text) 
- 
tagWithAttributes
public static void tagWithAttributes(org.jdom.Element container, String tagName, String attrName, String attrValue, String attr2Name, String attr2Value) 
- 
children
public static Iterable<org.jdom.Element> children(org.jdom.Element container, String tagName)
 
- 
first
public static org.jdom.Element first(org.jdom.Element container, String tagName) 
- 
booleanWithDefault
public static boolean booleanWithDefault(org.jdom.Element element, String attrName, boolean defaultValue) 
 - 
 
 -