org.netbeans.modules.editor.settings.storage.spi
Class StorageReader<K,V>
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.netbeans.modules.editor.settings.storage.spi.StorageReader<K,V>
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler
public abstract class StorageReader<K,V>
- extends DefaultHandler
- implements LexicalHandler
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageReader
protected StorageReader(FileObject processedFile,
String mimePath)
- Since:
- 1.17
warning
public void warning(SAXParseException e)
throws SAXException
- Specified by:
warning in interface ErrorHandler- Overrides:
warning in class DefaultHandler
- Throws:
SAXException
error
public void error(SAXParseException e)
throws SAXException
- Specified by:
error in interface ErrorHandler- Overrides:
error in class DefaultHandler
- Throws:
SAXException
fatalError
public void fatalError(SAXParseException e)
throws SAXException
- Specified by:
fatalError in interface ErrorHandler- Overrides:
fatalError in class DefaultHandler
- Throws:
SAXException
resolveEntity
public InputSource resolveEntity(String pubid,
String sysid)
- Specified by:
resolveEntity in interface EntityResolver- Overrides:
resolveEntity in class DefaultHandler
startCDATA
public void startCDATA()
throws SAXException
- Specified by:
startCDATA in interface LexicalHandler
- Throws:
SAXException
endCDATA
public void endCDATA()
throws SAXException
- Specified by:
endCDATA in interface LexicalHandler
- Throws:
SAXException
comment
public void comment(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
comment in interface LexicalHandler
- Throws:
SAXException
endDTD
public void endDTD()
throws SAXException
- Specified by:
endDTD in interface LexicalHandler
- Throws:
SAXException
endEntity
public void endEntity(String name)
throws SAXException
- Specified by:
endEntity in interface LexicalHandler
- Throws:
SAXException
startDTD
public void startDTD(String name,
String publicId,
String systemId)
throws SAXException
- Specified by:
startDTD in interface LexicalHandler
- Throws:
SAXException
startEntity
public void startEntity(String name)
throws SAXException
- Specified by:
startEntity in interface LexicalHandler
- Throws:
SAXException
getAdded
public abstract Map<K,V> getAdded()
getRemoved
public abstract Set<K> getRemoved()
getProcessedFile
protected final FileObject getProcessedFile()
isModuleFile
protected final boolean isModuleFile()
isDefaultProfile
protected final boolean isDefaultProfile()
getMimePath
protected final String getMimePath()
- Since:
- 1.17