public abstract class AbstractRecord extends Object implements Record
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.jackrabbit.spi.commons.namespace.NamespaceResolver |
nsResolver
Namespace resolver.
|
protected org.apache.jackrabbit.spi.commons.conversion.NamePathResolver |
resolver
Name and Path resolver.
|
| Constructor and Description |
|---|
AbstractRecord(org.apache.jackrabbit.spi.commons.namespace.NamespaceResolver nsResolver,
org.apache.jackrabbit.spi.commons.conversion.NamePathResolver resolver)
Create a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
NodeId |
readNodeId()
Read a
NodeId from the underlying stream. |
org.apache.jackrabbit.spi.QNodeTypeDefinition |
readNodeTypeDef()
Read a
NodeTypeDef from the underlying stream. |
org.apache.jackrabbit.spi.Path |
readPath()
Read a
Path from the underlying stream. |
org.apache.jackrabbit.spi.Path |
readPathElement()
Read a named path element from the underlying stream.
|
org.apache.jackrabbit.spi.PrivilegeDefinition |
readPrivilegeDef()
Read a
PrivilegeDefinition from the underlying stream. |
PropertyId |
readPropertyId()
Read a
PropertyId from the underlying stream. |
org.apache.jackrabbit.spi.Name |
readQName()
Read a
Name frmo the underlying stream. |
void |
writeNodeId(NodeId nodeId)
Write a
NodeId to the underlying stream. |
void |
writeNodeTypeDef(org.apache.jackrabbit.spi.QNodeTypeDefinition ntd)
Write a
NodeTypeDef to the underlying stream. |
void |
writePath(org.apache.jackrabbit.spi.Path path)
Write a
Path to the underlying stream. |
void |
writePathElement(org.apache.jackrabbit.spi.Path path)
Write a
Path.Element to the underlying stream. |
void |
writePrivilegeDef(org.apache.jackrabbit.spi.PrivilegeDefinition privilegeDefinition)
Write a
PrivilegeDefinition to the underlying stream. |
void |
writePropertyId(PropertyId propertyId)
Write a
PropertyId to the underlying stream. |
void |
writeQName(org.apache.jackrabbit.spi.Name name)
Write a
Name to the underlying stream. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelUpdate, getJournalId, getProducerId, getRevision, readBoolean, readByte, readChar, readFully, readInt, readLong, readString, update, write, writeBoolean, writeByte, writeChar, writeInt, writeLong, writeStringprotected final org.apache.jackrabbit.spi.commons.namespace.NamespaceResolver nsResolver
protected final org.apache.jackrabbit.spi.commons.conversion.NamePathResolver resolver
public AbstractRecord(org.apache.jackrabbit.spi.commons.namespace.NamespaceResolver nsResolver,
org.apache.jackrabbit.spi.commons.conversion.NamePathResolver resolver)
nsResolver - the namespace resolverresolver - the name-path resolverpublic void writeQName(org.apache.jackrabbit.spi.Name name)
throws JournalException
Name to the underlying stream.writeQName in interface Recordname - nameJournalException - if an error occurspublic void writePathElement(org.apache.jackrabbit.spi.Path path)
throws JournalException
Path.Element to the underlying stream.writePathElement in interface Recordpath - path elementJournalException - if an error occurspublic void writePath(org.apache.jackrabbit.spi.Path path)
throws JournalException
Path to the underlying stream.writePath in interface Recordpath - pathJournalException - if an error occurspublic void writeNodeId(NodeId nodeId) throws JournalException
NodeId to the underlying stream.writeNodeId in interface RecordnodeId - node idJournalException - if an error occurspublic void writePropertyId(PropertyId propertyId) throws JournalException
PropertyId to the underlying stream.writePropertyId in interface RecordpropertyId - property idJournalException - if an error occurspublic void writeNodeTypeDef(org.apache.jackrabbit.spi.QNodeTypeDefinition ntd)
throws JournalException
NodeTypeDef to the underlying stream.writeNodeTypeDef in interface Recordntd - node type definitionJournalException - if an error occurspublic void writePrivilegeDef(org.apache.jackrabbit.spi.PrivilegeDefinition privilegeDefinition)
throws JournalException
PrivilegeDefinition to the underlying stream.writePrivilegeDef in interface RecordprivilegeDefinition - privilege definitionJournalException - if an error occurspublic org.apache.jackrabbit.spi.Name readQName()
throws JournalException
Name frmo the underlying stream.readQName in interface RecordJournalException - if an error occurspublic org.apache.jackrabbit.spi.Path readPathElement()
throws JournalException
readPathElement in interface RecordJournalException - if an error occurspublic org.apache.jackrabbit.spi.Path readPath()
throws JournalException
Path from the underlying stream.readPath in interface RecordJournalException - if an error occurspublic NodeId readNodeId() throws JournalException
NodeId from the underlying stream.readNodeId in interface RecordJournalException - if an error occurspublic PropertyId readPropertyId() throws JournalException
PropertyId from the underlying stream.readPropertyId in interface RecordJournalException - if an error occurspublic org.apache.jackrabbit.spi.QNodeTypeDefinition readNodeTypeDef()
throws JournalException
NodeTypeDef from the underlying stream.readNodeTypeDef in interface RecordJournalException - if an error occurspublic org.apache.jackrabbit.spi.PrivilegeDefinition readPrivilegeDef()
throws JournalException
PrivilegeDefinition from the underlying stream.readPrivilegeDef in interface RecordJournalException - if an error occursCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.