|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.apache.felix.scrplugin.xml.ComponentDescriptorIO.XmlHandler
protected static final class ComponentDescriptorIO.XmlHandler
A content handler for parsing the component descriptions.
| Field Summary | |
|---|---|
protected Components |
components
The components container. |
protected Component |
currentComponent
A reference to the current component. |
protected Service |
currentService
The current service. |
protected boolean |
firstElement
Flag for detecting the first element. |
protected boolean |
isComponent
Flag for elements inside a component element |
protected java.lang.String |
overrideNamespace
Override namespace. |
protected Property |
pendingProperty
Pending property. |
| Constructor Summary | |
|---|---|
protected |
ComponentDescriptorIO.XmlHandler()
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name)
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes attributes)
|
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Components components
protected Component currentComponent
protected Service currentService
protected Property pendingProperty
protected boolean firstElement
protected boolean isComponent
protected java.lang.String overrideNamespace
| Constructor Detail |
|---|
protected ComponentDescriptorIO.XmlHandler()
| Method Detail |
|---|
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionDefaultHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionDefaultHandler.characters(char[], int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||