Revision 2590
Added by Jing Tao about 19 years ago
src/edu/ucsb/nceas/metacat/DBSAXHandler.java | ||
---|---|---|
116 | 116 |
protected long endNodeId = -1; // The end node id for a substree |
117 | 117 |
// DOCTITLE attr cleared from the db |
118 | 118 |
// private static final int MAXTITLELEN = 1000; |
119 |
|
|
120 |
private boolean isRevisionDoc = false; |
|
119 | 121 |
|
120 | 122 |
//HandlerTriple stuff |
121 | 123 |
TripleCollection tripleList = new TripleCollection(); |
... | ... | |
831 | 833 |
{ |
832 | 834 |
return processingDTD; |
833 | 835 |
} |
836 |
|
|
837 |
|
|
838 |
/** |
|
839 |
* get the the is revision doc |
|
840 |
* @return |
|
841 |
*/ |
|
842 |
public boolean getIsRevisionDoc() |
|
843 |
{ |
|
844 |
return isRevisionDoc; |
|
845 |
} |
|
846 |
|
|
847 |
/** |
|
848 |
* Set the the handler is for revisionDoc |
|
849 |
* @param isRevisionDoc |
|
850 |
*/ |
|
851 |
public void setIsRevisionDoc(boolean isRevisionDoc) |
|
852 |
{ |
|
853 |
this.isRevisionDoc = isRevisionDoc; |
|
854 |
} |
|
834 | 855 |
|
835 | 856 |
/* Method to write a text buffer for DBSAXNode */ |
836 | 857 |
protected long writeTextForDBSAXNode(long previousEndNodeId, |
Also available in: Unified diff
Add a new indicator - is revision document.