|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.journal.AbstractRecord
public abstract class AbstractRecord
Base implementation for a record.
Field Summary | |
---|---|
protected NamespaceResolver |
resolver
Namespace resolver. |
Constructor Summary | |
---|---|
AbstractRecord(NamespaceResolver resolver)
Create a new instance of this class. |
Method Summary | |
---|---|
NodeId |
readNodeId()
Read a NodeId from the underlying stream. |
NodeTypeDef |
readNodeTypeDef()
Read a NodeTypeDef from the underlying stream. |
Path |
readPath()
Read a Path from the underlying stream. |
Path.PathElement |
readPathElement()
Read a Path.PathElement from the underlying stream. |
PropertyId |
readPropertyId()
Read a PropertyId from the underlying stream. |
QName |
readQName()
Read a QName frmo the underlying stream. |
void |
writeNodeId(NodeId nodeId)
Write a NodeId to the underlying stream. |
void |
writeNodeTypeDef(NodeTypeDef ntd)
Write a NodeTypeDef to the underlying stream. |
void |
writePath(Path path)
Write a Path to the underlying stream. |
void |
writePathElement(Path.PathElement element)
Write a Path.PathElement to the underlying stream. |
void |
writePropertyId(PropertyId propertyId)
Write a PropertyId to the underlying stream. |
void |
writeQName(QName name)
Write a QName to the underlying stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jackrabbit.core.journal.Record |
---|
cancelUpdate, getJournalId, getProducerId, getRevision, readBoolean, readByte, readChar, readFully, readInt, readString, update, write, writeBoolean, writeByte, writeChar, writeInt, writeString |
Field Detail |
---|
protected final NamespaceResolver resolver
Constructor Detail |
---|
public AbstractRecord(NamespaceResolver resolver)
Method Detail |
---|
public void writeQName(QName name) throws JournalException
QName
to the underlying stream.
writeQName
in interface Record
name
- name
JournalException
- if an error occurspublic void writePathElement(Path.PathElement element) throws JournalException
Path.PathElement
to the underlying stream.
writePathElement
in interface Record
element
- path element
JournalException
- if an error occurspublic void writePath(Path path) throws JournalException
Path
to the underlying stream.
writePath
in interface Record
path
- path
JournalException
- if an error occurspublic void writeNodeId(NodeId nodeId) throws JournalException
NodeId
to the underlying stream.
writeNodeId
in interface Record
nodeId
- node id
JournalException
- if an error occurspublic void writePropertyId(PropertyId propertyId) throws JournalException
PropertyId
to the underlying stream.
writePropertyId
in interface Record
propertyId
- property id
JournalException
- if an error occurspublic void writeNodeTypeDef(NodeTypeDef ntd) throws JournalException
NodeTypeDef
to the underlying stream.
writeNodeTypeDef
in interface Record
ntd
- node type definition
JournalException
- if an error occurspublic QName readQName() throws JournalException
QName
frmo the underlying stream.
readQName
in interface Record
JournalException
- if an error occurspublic Path.PathElement readPathElement() throws JournalException
Path.PathElement
from the underlying stream.
readPathElement
in interface Record
JournalException
- if an error occurspublic Path readPath() throws JournalException
Path
from the underlying stream.
readPath
in interface Record
JournalException
- if an error occurspublic NodeId readNodeId() throws JournalException
NodeId
from the underlying stream.
readNodeId
in interface Record
JournalException
- if an error occurspublic PropertyId readPropertyId() throws JournalException
PropertyId
from the underlying stream.
readPropertyId
in interface Record
JournalException
- if an error occurspublic NodeTypeDef readNodeTypeDef() throws JournalException
NodeTypeDef
from the underlying stream.
readNodeTypeDef
in interface Record
JournalException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |