elementsForName:
Returns the child element nodes (as NSXMLElement
objects) of the receiver that have a specified name.
返回子元素节点(如NSXMLElement对象)的接收方指定的名字
Parameters
-
name
-
A string specifying the name of the child element nodes to find and return. If name is a qualified name, then this method invokes
elementsForLocalName:URI:
with the URI parameter set to the URI associated with the prefix. Otherwise comparison is based on string equality of the qualified or non-qualified name.
Return Value
An array of of NSXMLElement
objects or an empty array if no matching children can be found.
rootElement
Returns the root element of the receiver.
- (NSXMLElement *)rootElement
Return Value
The root element of the receiver.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
NSXMLDocument.h
stringValue
Returns the string assigned to the annotation.
- (NSString *)stringValue
Return Value
The string assigned to the annotation.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFAnnotationTextWidget.h
rootElement
Returns the root element of the receiver.
Return Value
The root element of the receiver.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
NSXMLDocument.h
stringValue
Returns the string assigned to the annotation.
Return Value
The string assigned to the annotation.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFAnnotationTextWidget.h