Skip navigation links
oracle.jdeveloper.audit.service
Class DefaultProfile.NameScanner
java.lang.Object
org.xml.sax.helpers.DefaultHandler
oracle.jdeveloper.audit.service.DefaultProfile.NameScanner
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- Enclosing class:
- DefaultProfile
-
public static class DefaultProfile.NameScanner
- extends org.xml.sax.helpers.DefaultHandler
Opens a profile file and scans until the profile name and key is found. The profile name is the first object encoded; as a string, it is encoded in a "string" element. The
Method Summary |
void |
characters(char[] characters, int offset, int length)
|
void |
endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qualifiedName)
|
java.lang.String |
getKey()
|
java.lang.String |
getName()
|
boolean |
isValid()
|
void |
scan(java.net.URL url)
|
void |
startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qualifiedName, 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 |
DefaultProfile.NameScanner
public DefaultProfile.NameScanner()
DefaultProfile.NameScanner
public DefaultProfile.NameScanner(java.net.URL url)
scan
public void scan(java.net.URL url)
isValid
public boolean isValid()
getName
public java.lang.String getName()
getKey
public java.lang.String getKey()
startElement
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qualifiedName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
-
- Specified by:
startElement
in interface org.xml.sax.ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
-
- Throws:
org.xml.sax.SAXException
characters
public void characters(char[] characters,
int offset,
int length)
-
- Specified by:
characters
in interface org.xml.sax.ContentHandler
- Overrides:
characters
in class org.xml.sax.helpers.DefaultHandler
endElement
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qualifiedName)
throws org.xml.sax.SAXException
-
- Specified by:
endElement
in interface org.xml.sax.ContentHandler
- Overrides:
endElement
in class org.xml.sax.helpers.DefaultHandler
-
- Throws:
org.xml.sax.SAXException
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.