|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XNodeRevision
XNodeRevision is an interface for an XNode 1.2 revision.
The XNode API (the package org.purl.xnode.*, both its source code and documentation), are released under the Apache 2.0 License. For more details, check the LICENSE file contained with the distribution, or see The Ceryle Project for more information. It is distributed with no warranty.
XNodeRevisionManager| Method Summary | |
|---|---|
Element |
getBodyElement()
Return this revision's <xnode:Body> element. |
Date |
getCreated()
Return the creation date of this revision. |
String |
getCreatorOf()
Returns the value of the XNodeRevision's creator property. |
Date |
getDateOf()
Returns the revision date of this revision as a Date. |
Element |
getHeaderElement()
Return this revision's <xnode:Header> element. |
Date |
getModified()
Return the modification date of this revision. |
Set |
getProperties()
Returns a Set containing the named properties of this XNodeRevision (as Strings), an empty Set (not null) if none have been set. |
Object |
getProperty(String name)
Return a named property, or null if this revision does not contain it. |
Element |
getRevisionElement()
Return this revision's <xnode:Revision> element. |
Boolean |
getSelected()
Returns true if this revision is selected in a UI. |
int |
getSizeOf()
Returns the value of the XNodeRevision's size property. |
int |
getVersionOf()
Returns the XNodeRevision's version number. |
XNode |
getXNode()
Return this revision's parent XNode. |
void |
setProperty(String name,
Object value)
Set a name-value pair for a revision property with the String name and Object value. |
void |
setSelected(Boolean isSelected)
Set the selected state of this revision (as used in a UI). |
void |
setSizeOf(int size)
Sets the value of the XNodeRevision's size property. |
| Method Detail |
|---|
XNode getXNode()
Element getHeaderElement()
Element getBodyElement()
Element getRevisionElement()
Date getCreated()
Date getModified()
Boolean getSelected()
void setSelected(Boolean isSelected)
String getCreatorOf()
int getVersionOf()
void setSizeOf(int size)
int getSizeOf()
Date getDateOf()
Set getProperties()
void setProperty(String name,
Object value)
throws NullPointerException
NullPointerException
Object getProperty(String name)
throws XNodeException
XNodeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||