Class XMLDefaultHandlerImpl
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.sblim.wbem.xml.XMLDefaultHandlerImpl
- All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
protected static final int
protected static final int
protected static final int
protected static final String
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) createJavaObject
(String typeStr, String value) void
void
endElement
(String uri, String lName, String qName) void
endPrefixMapping
(String prefix) void
error
(SAXParseException exception) void
fatalError
(SAXParseException exception) void
ignorableWhitespace
(char[] ch, int start, int length) protected Object
last()
static File[]
listAllXml
(File baseDir) static void
void
notationDecl
(String name, String publicId, String systemId) boolean
parse
(XMLPullParser reader) protected Object
pop()
void
processingInstruction
(String target, String data) resolveEntity
(String publicId, String systemId) void
setDocumentLocator
(Locator locator) void
skippedEntity
(String name) void
void
startElement
(String uri, String lName, String qName, Attributes attrs) void
startPrefixMapping
(String prefix, String uri) toString()
void
unparsedEntityDecl
(String name, String publicId, String systemId, String notationName) void
warning
(SAXParseException exception) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ContentHandler
declaration
-
Field Details
-
CIM
protected static final int CIM -
CLASS
protected static final int CLASS -
CLASSNAME
protected static final int CLASSNAME -
CLASSPATH
protected static final int CLASSPATH -
EMPTY
- See Also:
-
ERROR
protected static final int ERROR -
EXPMETHODCALL
protected static final int EXPMETHODCALL -
EXPPARAMVALUE
protected static final int EXPPARAMVALUE -
HOST
protected static final int HOST -
IMETHODRESPONSE
protected static final int IMETHODRESPONSE -
INSTANCE
protected static final int INSTANCE -
INSTANCENAME
protected static final int INSTANCENAME -
INSTANCEPATH
protected static final int INSTANCEPATH -
IPARAMVALUE
protected static final int IPARAMVALUE -
IRETURNVALUE
protected static final int IRETURNVALUE -
KEYBINDING
protected static final int KEYBINDING -
KEYVALUE
protected static final int KEYVALUE -
LOCALCLASSPATH
protected static final int LOCALCLASSPATH -
LOCALINSTANCEPATH
protected static final int LOCALINSTANCEPATH -
LOCALNAMESPACEPATH
protected static final int LOCALNAMESPACEPATH -
MESSAGE
protected static final int MESSAGE -
METHOD
protected static final int METHOD -
METHODRESPONSE
protected static final int METHODRESPONSE -
MULTIEXPREQ
protected static final int MULTIEXPREQ -
MULTIEXPRSP
protected static final int MULTIEXPRSP -
MULTIREQ
protected static final int MULTIREQ -
MULTIRSP
protected static final int MULTIRSP -
NAMESPACE
protected static final int NAMESPACE -
NAMESPACEPATH
protected static final int NAMESPACEPATH -
OBJECTPATH
protected static final int OBJECTPATH -
PARAMETER
protected static final int PARAMETER -
PARAMETER_ARRAY
protected static final int PARAMETER_ARRAY -
PARAMETER_REFARRAY
protected static final int PARAMETER_REFARRAY -
PARAMETER_REFERENCE
protected static final int PARAMETER_REFERENCE -
PARAMVALUE
protected static final int PARAMVALUE -
PROPERTY
protected static final int PROPERTY -
PROPERTY_ARRAY
protected static final int PROPERTY_ARRAY -
PROPERTY_REFERENCE
protected static final int PROPERTY_REFERENCE -
QUALIFIER
protected static final int QUALIFIER -
QUALIFIER_DECLARATION
protected static final int QUALIFIER_DECLARATION -
RETURNVALUE
protected static final int RETURNVALUE -
SCOPE
protected static final int SCOPE -
SIMPLEEXPREQ
protected static final int SIMPLEEXPREQ -
SIMPLEEXPRSP
protected static final int SIMPLEEXPRSP -
SIMPLERSP
protected static final int SIMPLERSP -
SIMPLREQ
protected static final int SIMPLREQ -
VALUE
protected static final int VALUE -
VALUE_ARRAY
protected static final int VALUE_ARRAY -
VALUE_NAMEDINSTANCE
protected static final int VALUE_NAMEDINSTANCE -
VALUE_NAMEDOBJECT
protected static final int VALUE_NAMEDOBJECT -
VALUE_OBJECT
protected static final int VALUE_OBJECT -
VALUE_OBJECTWITHLOCALPATH
protected static final int VALUE_OBJECTWITHLOCALPATH -
VALUE_OBJECTWITHPATH
protected static final int VALUE_OBJECTWITHPATH -
VALUE_REFARRAY
protected static final int VALUE_REFARRAY -
VALUE_REFERENCE
protected static final int VALUE_REFERENCE
-
-
Constructor Details
-
XMLDefaultHandlerImpl
public XMLDefaultHandlerImpl() -
XMLDefaultHandlerImpl
public XMLDefaultHandlerImpl(boolean debug)
-
-
Method Details
-
listAllXml
-
main
-
characters
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
- Throws:
SAXException
-
createJavaObject
-
endDocument
- Specified by:
endDocument
in interfaceContentHandler
- Overrides:
endDocument
in classDefaultHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
endPrefixMapping
- Specified by:
endPrefixMapping
in interfaceContentHandler
- Overrides:
endPrefixMapping
in classDefaultHandler
- Throws:
SAXException
-
error
- Specified by:
error
in interfaceErrorHandler
- Overrides:
error
in classDefaultHandler
- Throws:
SAXException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Overrides:
fatalError
in classDefaultHandler
- Throws:
SAXException
-
getObjects
-
ignorableWhitespace
- Specified by:
ignorableWhitespace
in interfaceContentHandler
- Overrides:
ignorableWhitespace
in classDefaultHandler
- Throws:
SAXException
-
notationDecl
- Specified by:
notationDecl
in interfaceDTDHandler
- Overrides:
notationDecl
in classDefaultHandler
- Throws:
SAXException
-
parse
- Throws:
IOException
SAXException
-
processingInstruction
- Specified by:
processingInstruction
in interfaceContentHandler
- Overrides:
processingInstruction
in classDefaultHandler
- Throws:
SAXException
-
resolveEntity
- Specified by:
resolveEntity
in interfaceEntityResolver
- Overrides:
resolveEntity
in classDefaultHandler
-
setDocumentLocator
- Specified by:
setDocumentLocator
in interfaceContentHandler
- Overrides:
setDocumentLocator
in classDefaultHandler
-
skippedEntity
- Specified by:
skippedEntity
in interfaceContentHandler
- Overrides:
skippedEntity
in classDefaultHandler
- Throws:
SAXException
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
- Throws:
SAXException
-
startElement
public void startElement(String uri, String lName, String qName, Attributes attrs) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
startPrefixMapping
- Specified by:
startPrefixMapping
in interfaceContentHandler
- Overrides:
startPrefixMapping
in classDefaultHandler
- Throws:
SAXException
-
toString
-
unparsedEntityDecl
public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException - Specified by:
unparsedEntityDecl
in interfaceDTDHandler
- Overrides:
unparsedEntityDecl
in classDefaultHandler
- Throws:
SAXException
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Overrides:
warning
in classDefaultHandler
- Throws:
SAXException
-
last
-
pop
-