Logo Search packages:      
Sourcecode: jclic version File versions  Download package

String org::jdom::Element::getChildTextTrim ( String  name,
Namespace  ns 
) [inline]

Returns the trimmed textual content of the named child element, or null if there's no such child.

name the name of the child
ns the namespace of the child
trimmed text content for the named child, or null if no such child

Definition at line 595 of file Element.java.

References getChild(), and getTextTrim().

        Element child = getChild(name, ns);
        if (child == null) {
            return null;
        return child.getTextTrim();

Generated by  Doxygen 1.6.0   Back to index