java/sql-dk/src/info/globalcode/sql/dk/formatting/AbstractXmlFormatter.java
branchv_0
changeset 152 7a3382823fc3
parent 136 c0f9521900bf
child 155 eb3676c6929b
equal deleted inserted replaced
151:21eb46c5e2ec 152:7a3382823fc3
    88 	protected void printStartElement(QName element) {
    88 	protected void printStartElement(QName element) {
    89 		printStartElement(element, null);
    89 		printStartElement(element, null);
    90 	}
    90 	}
    91 
    91 
    92 	protected Map<QName, String> singleAttribute(QName name, String value) {
    92 	protected Map<QName, String> singleAttribute(QName name, String value) {
    93 		Map<QName, String> attributes = new HashMap<>(1);
    93 		Map<QName, String> attributes = new HashMap<>(2);
    94 		attributes.put(name, value);
    94 		attributes.put(name, value);
    95 		return attributes;
    95 		return attributes;
    96 	}
    96 	}
    97 
    97 
    98 	protected void printStartElement(QName element, Map<QName, String> attributes) {
    98 	protected void printStartElement(QName element, Map<QName, String> attributes) {