public abstract class TermWriter<TermType> extends DefaultTermContentHandler
Constructor and Description |
---|
TermWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addLast(TermType term) |
protected abstract TermBuilder<TermType> |
createCompoundBuilder() |
TermContentHandler |
endCompound() |
TermType |
getFirst() |
List<TermType> |
getTerms() |
protected void |
process(TermType term) |
TermContentHandler |
startCompound() |
protected void |
write(TermType term) |
startAtom, startFloatTerm, startIntegerTerm, startJRef, startVariable
public TermType getFirst()
protected void write(TermType term)
protected void addLast(TermType term)
protected void process(TermType term)
public TermContentHandler startCompound()
startCompound
in interface TermContentHandler
startCompound
in class DefaultTermContentHandler
public TermContentHandler endCompound()
endCompound
in interface TermContentHandler
endCompound
in class DefaultTermContentHandler
protected abstract TermBuilder<TermType> createCompoundBuilder()
Copyright © 2014. All rights reserved.