|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.XMLFilterImpl info.magnolia.importexport.filters.ImportXmlRootFilter
public class ImportXmlRootFilter
XML Filter for cleaning up version store from imported root node files.
Field Summary | |
---|---|
boolean |
rootNodeFound
|
Constructor Summary | |
---|---|
ImportXmlRootFilter(XMLReader parent)
|
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
|
void |
endElement(String uri,
String localName,
String qName)
|
String |
getImportedRootNodeName()
|
boolean |
rootNodeWasFound()
Root node was found should be called after parsing to check if a root node was indeed found. |
void |
startElement(String uri,
String localName,
String qName,
Attributes atts)
|
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 |
Field Detail |
---|
public boolean rootNodeFound
Constructor Detail |
---|
public ImportXmlRootFilter(XMLReader parent)
Method Detail |
---|
public String getImportedRootNodeName()
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.XMLFilterImpl
SAXException
XMLFilterImpl.endElement(String, String, String)
public boolean rootNodeWasFound()
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.XMLFilterImpl
SAXException
XMLFilterImpl.characters(char[], int, int)
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.XMLFilterImpl
SAXException
XMLFilterImpl.startElement(String, String, String, Attributes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |