Knopflerfish OSGi 5.2.0

org.knopflerfish.shared.cm
Class XmlReader

java.lang.Object
  extended by org.knopflerfish.shared.cm.XmlReader
Direct Known Subclasses:
CMDataReader

public class XmlReader
extends java.lang.Object


Field Summary
protected static java.lang.String EOF
           
 
Constructor Summary
XmlReader()
           
 
Method Summary
protected  void endElement(java.lang.String elementType, java.util.Dictionary<java.lang.String,java.lang.String> attributes, java.lang.String content)
           
protected  void read(java.io.PushbackReader r)
           
protected  void startElement(java.lang.String elementType, java.util.Dictionary<java.lang.String,java.lang.String> attributes)
           
protected  void throwIfMissingAttribute(java.lang.String element, java.lang.String name, java.lang.String value)
           
protected  void throwIfNotExpectedChar(char c, char expected)
           
protected  void throwIfNotExpectedChar(char c, char expected, java.io.PushbackReader pbr)
           
protected  void throwMessage(java.lang.String message)
           
protected  void throwMisplacedTagException(java.lang.String element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOF

protected static final java.lang.String EOF
See Also:
Constant Field Values
Constructor Detail

XmlReader

public XmlReader()
Method Detail

startElement

protected void startElement(java.lang.String elementType,
                            java.util.Dictionary<java.lang.String,java.lang.String> attributes)
                     throws java.lang.Exception
Throws:
java.lang.Exception

endElement

protected void endElement(java.lang.String elementType,
                          java.util.Dictionary<java.lang.String,java.lang.String> attributes,
                          java.lang.String content)
                   throws java.lang.Exception
Throws:
java.lang.Exception

read

protected void read(java.io.PushbackReader r)
             throws java.lang.Exception
Throws:
java.lang.Exception

throwIfNotExpectedChar

protected void throwIfNotExpectedChar(char c,
                                      char expected)
                               throws java.lang.Exception
Throws:
java.lang.Exception

throwIfNotExpectedChar

protected void throwIfNotExpectedChar(char c,
                                      char expected,
                                      java.io.PushbackReader pbr)
                               throws java.lang.Exception
Throws:
java.lang.Exception

throwMessage

protected void throwMessage(java.lang.String message)
                     throws java.lang.Exception
Throws:
java.lang.Exception

throwIfMissingAttribute

protected void throwIfMissingAttribute(java.lang.String element,
                                       java.lang.String name,
                                       java.lang.String value)
                                throws java.lang.Exception
Throws:
java.lang.Exception

throwMisplacedTagException

protected void throwMisplacedTagException(java.lang.String element)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

Knopflerfish OSGi 5.2.0