Results for: "Logger"

No documentation available
No documentation available
No documentation available
No documentation available

@return the XMLDecl standalone value of this document as a String. If no XMLDecl has been set, returns the default setting.

Synonym for Element.to_a This is a little slower than calling elements.each directly.

xpath

any XPath by which to search for elements in the tree

Returns

an array of Elements that match the supplied path

Returns the first child Text node, if any, or nil otherwise. This method returns the actual Text node, rather than the String content.

doc = Document.new "<p>some text <b>this is bold!</b> more text</p>"
# The element 'p' has two text elements, "some text " and " more text".
doc.root.get_text.value            #-> "some text "

Fetches an attribute

name

the name by which to search for the attribute. Can be a prefix:name namespace name.

Returns

The first matching attribute, or nil if there was none. This

value is an Attribute node, not the String value of the attribute.

doc = Document.new '<a x:foo="1" foo="2" bar="3"/>'
doc.root.attributes.get_attribute("foo").value    #-> "2"
doc.root.attributes.get_attribute("x:foo").value  #-> "1"

Inserts an child before another child @param child1 this is either an xpath or an Element. If an Element, child2 will be inserted before child1 in the child list of the parent. If an xpath, child2 will be inserted before the first child to match the xpath. @param child2 the child to insert @return the parent (self)

Deeply clones this object. This creates a complete duplicate of this Parent, including all descendants.

No documentation available

Returns a String namespace for a node, given a prefix The rules are:

1. Use the supplied namespace mapping first.
2. If no mapping was supplied, use the context node to look up the namespace
No documentation available

Creates threads that pick up UDP packets and passes them to do_write for decoding.

Creates a thread that notifies waiting clients from the TupleSpace.

Looks up RingServers waiting timeout seconds. RingServers will be given block as a callback, which will be called with the remote TupleSpace.

Creates a thread that scans the tuplespace for expired tuples.

Checks the tuplespace to see if it needs cleaning.

No documentation available
No documentation available

Set @@default_parser to new_value if it is one of the available parsers. Else raise NotValidXMLParser error.

register uri against this name.

test if this uri is registered against this name

No documentation available
No documentation available
Search took: 3ms  ·  Total Results: 2330