X-Git-Url: http://jaekl.net/gitweb/?p=frank.git;a=blobdiff_plain;f=report%2Fnet%2Fjaekl%2Fqd%2Fxml%2FMissingInfoException.html;fp=report%2Fnet%2Fjaekl%2Fqd%2Fxml%2FMissingInfoException.html;h=0000000000000000000000000000000000000000;hp=bdfb71a72ee7f6e14b640f648fd45d6913f0f4e3;hb=c35af9e511e8390a66ca76331c3af43d0f0f7464;hpb=24f097b0fe78fa44f99b9f6f2e51a8e689d86a4a diff --git a/report/net/jaekl/qd/xml/MissingInfoException.html b/report/net/jaekl/qd/xml/MissingInfoException.html deleted file mode 100644 index bdfb71a..0000000 --- a/report/net/jaekl/qd/xml/MissingInfoException.html +++ /dev/null @@ -1,359 +0,0 @@ - - -tests coverage - - - - - - - - - -
-Frames -No Frames -
-

- - - - - - - - - - - - - - - -
 %method%block%branch%line
net.jaekl.qd.xml.MissingInfoException
100%(5/5)
100%(11/11)
100%(4/4)
100%(19/19)
-

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
hit countmethod namemethod modifiersmethod signature
3<init>[public]void <init>(java.lang.String)
2addMissingAttribute[public]void addMissingAttribute(java.lang.String)
2addMissingChild[public]void addMissingChild(java.lang.String)
3getMessage[public]java.lang.String getMessage()
4getTagName[public]java.lang.String getTagName()
-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 1 
 // Copyright (C) 2004, 2014 Christian Jaekl
 2 
 
 3 
 package net.jaekl.qd.xml;
 4 
 
 5 
 import java.util.ArrayList;
 6 
 
 7 
 public class MissingInfoException extends XmlParseException
 8 
 {
 9 
 	private static final long serialVersionUID = 1L;
 10 
 
 11 
 	String m_tagName;
 12 
 	ArrayList<String> m_missingAttributes;
 13 
 	ArrayList<String> m_missingChildTags;
 14 
 
 15 
 	public MissingInfoException(String tagName) {
 16 Block: 1/1 
 		super();
 17 
 		m_tagName = tagName;
 18 
 		m_missingAttributes = new ArrayList<String>();
 19 
 		m_missingChildTags = new ArrayList<String>();
 20 
 	}
 21 
 
 22 
 	public void addMissingAttribute(String name) {
 23 Block: 1/1 
 		m_missingAttributes.add(name);
 24 
 	}
 25 
 
 26 
 	public void addMissingChild(String name) {
 27 Block: 1/1 
 		m_missingChildTags.add(name);
 28 
 	}
 29 
 
 30 Block: 1/1 
 	public String getTagName() { return m_tagName; }
 31 
 	
 32 
 	@Override
 33 
 	public String getMessage() {
 34 Block: 1/1 
 		StringBuilder sb = new StringBuilder();
 35 
 		
 36 
 		sb.append("Tag:  \"" + getTagName() + "\"");
 37 
 		
 38 
 		for (String attr : m_missingAttributes) {
 39 Block: 1/1 Branch: 1/1 
 			sb.append("\n  Attribute:  \"" + attr + "\"");
 40 
 		}
 41 
 		
 42 Block: 1/1 Branch: 1/1 
 		for (String child : m_missingChildTags) {
 43 Block: 1/1 Branch: 1/1 
 			sb.append("\n  Child tag:  \"" + child + "\"");
 44 
 		}
 45 Block: 1/1 Branch: 1/1 
 		return sb.toString();
 46 
 	}
 47 
 }
-

-

Report generated 11/12/14 11:31 PM
- -