|
What this is
Other links
The source code# A Document is the unit of storage within a Container. # # A Document contains a stream of bytes that may be of type XML. # The Container only indexes the content of Documents # that contain XML. # # Document supports annotation attributes. # class BDB::XML::Document #Return the value of an attribute # def [](attr) end #Set the value of an attribute # def []=(attr, val) end #Return the content of the document # def content end #Set the content of the document # def content=(val) end #Return the value of an attribute. uri specify the namespace #where reside the attribute. # #the optional class argument give the type (String, Numeric, ...) # def get(uri = "", attr [, class]) end #Return the ID # def id end #Initialize the document with the content specified # def initialize(content = "") end #Modifies the document contents based on the information contained in the #BDB::XML::Modify object # def modify(mod) end #Return the name of the document # def name end #Set the name of the document # def name=(val) end #Return the default prefix for the namespace # def prefix end #Set the default prefix used by set # def prefix=(val) end #Execute the XPath expression xpath against the document #Return an BDB::XML::Results # def query(xpath, context = nil) end #Set an attribute in the namespace uri. prefix is the prefix #for the namespace # def set(uri = "", prefix = "", attr, value) end #Return the document as a String object # def to_s end #same than to_s def to_str end #Return the default namespace # def uri end #Set the default namespace used by set and get # def uri=(val) end end |
Copyright 1998-2008 Alvin Alexander
All Rights Reserved.
devdaily.com is based in louisville, kentucky, and this web site is hosted by godaddy.com