info.magnolia.importexport.filters
Class RemoveMixversionableFilter
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
info.magnolia.importexport.filters.RemoveMixversionableFilter
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, XMLFilter, XMLReader
public class RemoveMixversionableFilter
- extends XMLFilterImpl
A filter that removed "mix:versionable" from jcr:mixinTypes while importing
xml files. Can be used to automatically adapt version 3.5 xml files to
magnolia 3.6 during bootstrap or activation. You need
to modify DataTransporter in order to disable it (see the comments in
DataTransporter.importXmlStream())
- Version:
- $Revision: 41137 $ ($Author: gjoseph $)
- Author:
- fgiust
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveMixversionableFilter
public RemoveMixversionableFilter(XMLReader parent)
- Instantiates a new MetadataUuidFilter filter.
- Parameters:
parent
- wrapped XMLReader
startElement
public void startElement(String uri,
String localName,
String name,
Attributes atts)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class XMLFilterImpl
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class XMLFilterImpl
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String name)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class XMLFilterImpl
- Throws:
SAXException
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.