相关代码 |
|
package org.kxml.parser; import java.io.IOException; import org.kxml.*; /** the END_DOCUMENT event */ public class EndDocument extends ParseEvent { /** returns END_DOCUMENT */ public int getType () { return Xml.END_DOCUMENT; } public boolean endCheck (StartTag start) { if (start != null) throw new RuntimeException ("Unexpected end of document"); return true; } }
相关资源 |
|