Class ImportExportNamespaceHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.silverpeas.core.importexport.control.ImportExportNamespaceHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class ImportExportNamespaceHandler extends DefaultHandler
Handler de contenu XML (poru un parseur SAX), qui permete de récupérer l'URI de spécification du namespace XML utilisé pour l'élément racine.
-
-
Constructor Summary
Constructors Constructor Description ImportExportNamespaceHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNsSpec()
Retourne la valeur de la propriété nsSpec.void
startDocument()
void
startElement(String uri, String localName, String name, Attributes attributes)
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
getNsSpec
public String getNsSpec()
Retourne la valeur de la propriété nsSpec.- Returns:
- La valeur de la propriété nsSpec.
-
startDocument
public void startDocument() throws SAXException
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
-