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 intprotected static final intprotected static final intprotected static final intprotected static final Stringprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) createJavaObject(String typeStr, String value) voidvoidendElement(String uri, String lName, String qName) voidendPrefixMapping(String prefix) voiderror(SAXParseException exception) voidfatalError(SAXParseException exception) voidignorableWhitespace(char[] ch, int start, int length) protected Objectlast()static File[]listAllXml(File baseDir) static voidvoidnotationDecl(String name, String publicId, String systemId) booleanparse(XMLPullParser reader) protected Objectpop()voidprocessingInstruction(String target, String data) resolveEntity(String publicId, String systemId) voidsetDocumentLocator(Locator locator) voidskippedEntity(String name) voidvoidstartElement(String uri, String lName, String qName, Attributes attrs) voidstartPrefixMapping(String prefix, String uri) toString()voidunparsedEntityDecl(String name, String publicId, String systemId, String notationName) voidwarning(SAXParseException exception) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-
createJavaObject
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
endPrefixMapping
- Specified by:
endPrefixMappingin interfaceContentHandler- Overrides:
endPrefixMappingin classDefaultHandler- Throws:
SAXException
-
error
- Specified by:
errorin interfaceErrorHandler- Overrides:
errorin classDefaultHandler- Throws:
SAXException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Overrides:
fatalErrorin classDefaultHandler- Throws:
SAXException
-
getObjects
-
ignorableWhitespace
- Specified by:
ignorableWhitespacein interfaceContentHandler- Overrides:
ignorableWhitespacein classDefaultHandler- Throws:
SAXException
-
notationDecl
- Specified by:
notationDeclin interfaceDTDHandler- Overrides:
notationDeclin classDefaultHandler- Throws:
SAXException
-
parse
- Throws:
IOExceptionSAXException
-
processingInstruction
- Specified by:
processingInstructionin interfaceContentHandler- Overrides:
processingInstructionin classDefaultHandler- Throws:
SAXException
-
resolveEntity
- Specified by:
resolveEntityin interfaceEntityResolver- Overrides:
resolveEntityin classDefaultHandler
-
setDocumentLocator
- Specified by:
setDocumentLocatorin interfaceContentHandler- Overrides:
setDocumentLocatorin classDefaultHandler
-
skippedEntity
- Specified by:
skippedEntityin interfaceContentHandler- Overrides:
skippedEntityin classDefaultHandler- Throws:
SAXException
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDefaultHandler- Throws:
SAXException
-
startElement
public void startElement(String uri, String lName, String qName, Attributes attrs) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
startPrefixMapping
- Specified by:
startPrefixMappingin interfaceContentHandler- Overrides:
startPrefixMappingin classDefaultHandler- Throws:
SAXException
-
toString
-
unparsedEntityDecl
public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException - Specified by:
unparsedEntityDeclin interfaceDTDHandler- Overrides:
unparsedEntityDeclin classDefaultHandler- Throws:
SAXException
-
warning
- Specified by:
warningin interfaceErrorHandler- Overrides:
warningin classDefaultHandler- Throws:
SAXException
-
last
-
pop
-