private String adjustName() {
        String escaped = makeXmlName(name);
        if(isArray.peek()) return toSingular(escaped);
        return escaped;
    }
private String adjustName ( ) { String escaped = makeXmlName ( name ) ; if ( isArray . peek ( ) ) return toSingular ( escaped ) ; return escaped ; }
Returns the name to be used as an element name
by considering {@link #isArray}