Verified Owner
Top Fields Constructors Methods
org.jabref.logic.importer.fileformat

public Class PicaXmlParser

extends Object
implements Parser
Class Inheritance
All Implemented Interfaces
org.jabref.logic.importer.Parser
Imports
java.io.IOException, .InputStream, java.util.ArrayList, .List, javax.xml.parsers.DocumentBuilder, .DocumentBuilderFactory, .ParserConfigurationException, org.jabref.logic.importer.ParseException, .Parser, org.jabref.logic.util.strings.StringUtil, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.StandardField, .UnknownField, org.jabref.model.entry.types.EntryType, .StandardEntryType, org.slf4j.Logger, .LoggerFactory, org.w3c.dom.Document, .Element, .Node, .NodeList, org.xml.sax.SAXException

Field Summary

Modifier and TypeField and Description
private static final String
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static DocumentBuilder
private Element
private List<Element>
private String
getSubfield(String a, Element datafield)

public List<BibEntry>
private List<BibEntry>
private BibEntry
private String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DISALLOW_DOCTYPE_DECLARATIONback to summary
private static final String DISALLOW_DOCTYPE_DECLARATION
LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

PicaXmlParserback to summary
public PicaXmlParser()

Method Detail

createDocumentBuilderback to summary
private static DocumentBuilder createDocumentBuilder() throws ParserConfigurationException
getChildback to summary
private Element getChild(String name, Element e)
getChildrenback to summary
private List<Element> getChildren(String name, Element e)
getSubfieldback to summary
private String getSubfield(String a, Element datafield)
parseEntriesback to summary
public List<BibEntry> parseEntries(InputStream inputStream) throws ParseException

Implements org.jabref.logic.importer.Parser.parseEntries.

Annotations
@Override
parseEntriesback to summary
private List<BibEntry> parseEntries(Document content)
parseEntryback to summary
private BibEntry parseEntry(Element e)
removeSortCharactersback to summary
private String removeSortCharacters(String input)