com.xefer.rebel
Class XBELBookmark

java.lang.Object
  |
  +--com.xefer.rebel.XBELElement
        |
        +--com.xefer.rebel.XBELBookmark

class XBELBookmark
extends XBELElement

Handles bookmark specific processing


Fields inherited from class com.xefer.rebel.XBELElement
element
 
Constructor Summary
XBELBookmark(Document document)
          constructor
XBELBookmark(Element element)
          constructor
 
Method Summary
 String getLocationUrl(StringBuffer url)
          Returns the resource Location URL based on the current url and the resource type
 boolean isLocatable()
          Returns true if this XBELElement is directly locatable through a URL.
 
Methods inherited from class com.xefer.rebel.XBELElement
addChild, addChildDirect, delete, getId, getType, post, put, replaceChild, replaceSelf, setId, write
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

XBELBookmark

public XBELBookmark(Document document)
constructor
Parameters:
document - the XML document that owns the element that this class encapsulates

XBELBookmark

public XBELBookmark(Element element)
constructor
Parameters:
element - the XML element that this class encapsulates
Method Detail

getLocationUrl

public String getLocationUrl(StringBuffer url)
Returns the resource Location URL based on the current url and the resource type
Overrides:
getLocationUrl in class XBELElement
Parameters:
url - StringBuffer the URL location of the parent resource

isLocatable

public boolean isLocatable()
Returns true if this XBELElement is directly locatable through a URL. For bookmark elements this is true.
Overrides:
isLocatable in class XBELElement