public class NamespaceRecord extends ClusterRecord
END_MARKER, record, workspace
Constructor and Description |
---|
NamespaceRecord(String oldPrefix,
String newPrefix,
String uri,
Record record)
Create a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doRead()
Deserialize this record.
|
protected void |
doWrite()
Serialize this record.
|
String |
getNewPrefix()
Return the new prefix.
|
String |
getOldPrefix()
Return the old prefix.
|
String |
getUri()
Return the URI.
|
void |
process(ClusterRecordProcessor processor)
Process this record, calling the appropriate
process
method. |
cancelUpdate, getRevision, getWorkspace, read, readEndMarker, update, write
protected void doRead() throws JournalException
doRead
in class ClusterRecord
JournalException
- if an error occursprotected void doWrite() throws JournalException
doWrite
in class ClusterRecord
JournalException
- if an error occurspublic void process(ClusterRecordProcessor processor)
process
method.process
in class ClusterRecord
processor
- processorpublic String getOldPrefix()
public String getNewPrefix()
public String getUri()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.