org.rococoa.cocoa.foundation
Class NSXMLElement
java.lang.Object
org.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.foundation.NSXMLNode
org.rococoa.cocoa.foundation.NSXMLElement
- All Implemented Interfaces:
- NSCopying, NSObject, ObjCObject
public abstract class NSXMLElement
- extends NSXMLNode
Method Summary |
abstract void |
addAttribute(NSXMLNode attribute)
|
abstract void |
addChild(NSXMLNode child)
|
abstract void |
addNamespace(NSXMLNode aNamespace)
|
static NSXMLElement |
alloc()
|
abstract NSXMLNode |
attributeForLocalName_URI(NSString localName,
NSString URI)
|
abstract NSXMLNode |
attributeForName(NSString name)
|
abstract NSArray |
attributes()
|
static NSXMLElement |
createWithName_stringValue(NSString name,
NSString string)
Factory method
|
static NSXMLElement |
createWithName_URI(NSString name,
NSString URI)
Factory method
|
static NSXMLElement |
createWithName(NSString name)
Factory method
|
static NSXMLElement |
createWithXMLString_error(NSString string,
PointerByReference error)
Factory method
|
abstract NSArray |
elementsForLocalName_URI(NSString localName,
NSString URI)
|
abstract NSArray |
elementsForName(NSString name)
|
static NSXMLElement._class_ |
getNSClass()
|
abstract NSXMLElement |
initWithName_stringValue(NSString name,
NSString string)
|
abstract NSXMLElement |
initWithName_URI(NSString name,
NSString URI)
|
abstract NSXMLElement |
initWithName(NSString name)
|
abstract NSXMLElement |
initWithXMLString_error(NSString string,
PointerByReference error)
|
abstract void |
insertChild_atIndex(NSXMLNode child,
NSUInteger index)
|
abstract void |
insertChildren_atIndex(NSArray children,
NSUInteger index)
|
abstract NSXMLNode |
namespaceForPrefix(NSString name)
|
abstract NSArray |
namespaces()
|
static NSXMLElement |
new_()
|
abstract void |
normalizeAdjacentTextNodesPreservingCDATA(boolean preserve)
|
abstract void |
removeAttributeForName(NSString name)
|
abstract void |
removeChildAtIndex(NSUInteger index)
|
abstract void |
removeNamespaceForPrefix(NSString name)
|
abstract void |
replaceChildAtIndex_withNode(NSUInteger index,
NSXMLNode node)
|
abstract NSXMLNode |
resolveNamespaceForName(NSString name)
|
abstract NSString |
resolvePrefixForNamespaceURI(NSString namespaceURI)
|
abstract void |
setAttributes(NSArray attributes)
|
abstract void |
setAttributesAsDictionary(NSDictionary attributes)
|
abstract void |
setChildren(NSArray children)
|
abstract void |
setNamespaces(NSArray namespaces)
|
Methods inherited from class org.rococoa.cocoa.foundation.NSXMLNode |
attributeWithName_stringValue, attributeWithName_URI_stringValue, canonicalXMLStringPreservingComments, childAtIndex, childCount, children, commentWithStringValue, createWithKind_options, createWithKind, detach, document, documentWithRootElement, DTDNodeWithXMLString, elementWithName_children_attributes, elementWithName_stringValue, elementWithName_URI, elementWithName, index, initWithKind_options, initWithKind, kind, level, localName, localNameForName, name, namespaceWithName_stringValue, nextNode, nextSibling, nodesForXPath_error, objectsForXQuery_constants_error, objectsForXQuery_error, objectValue, parent, predefinedNamespaceForPrefix, prefix, prefixForName, previousNode, previousSibling, processingInstructionWithName_stringValue, rootDocument, setName, setObjectValue, setStringValue_resolvingEntities, setStringValue, setURI, stringValue, textWithStringValue, URI, XMLString, XMLStringWithOptions, XPath |
Methods inherited from class org.rococoa.cocoa.foundation.NSObject |
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
NSXMLElement
public NSXMLElement()
initWithName
public abstract NSXMLElement initWithName(NSString name)
createWithName
public static NSXMLElement createWithName(NSString name)
- Factory method
- See Also:
initWithName(org.rococoa.cocoa.foundation.NSString)
initWithName_URI
public abstract NSXMLElement initWithName_URI(NSString name,
NSString URI)
createWithName_URI
public static NSXMLElement createWithName_URI(NSString name,
NSString URI)
- Factory method
- See Also:
initWithName_URI(org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSString)
initWithName_stringValue
public abstract NSXMLElement initWithName_stringValue(NSString name,
NSString string)
createWithName_stringValue
public static NSXMLElement createWithName_stringValue(NSString name,
NSString string)
- Factory method
- See Also:
initWithName_stringValue(org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSString)
initWithXMLString_error
public abstract NSXMLElement initWithXMLString_error(NSString string,
PointerByReference error)
createWithXMLString_error
public static NSXMLElement createWithXMLString_error(NSString string,
PointerByReference error)
- Factory method
- See Also:
initWithXMLString_error(org.rococoa.cocoa.foundation.NSString, com.sun.jna.ptr.PointerByReference)
elementsForName
public abstract NSArray elementsForName(NSString name)
elementsForLocalName_URI
public abstract NSArray elementsForLocalName_URI(NSString localName,
NSString URI)
addAttribute
public abstract void addAttribute(NSXMLNode attribute)
removeAttributeForName
public abstract void removeAttributeForName(NSString name)
setAttributes
public abstract void setAttributes(NSArray attributes)
setAttributesAsDictionary
public abstract void setAttributesAsDictionary(NSDictionary attributes)
attributes
public abstract NSArray attributes()
attributeForName
public abstract NSXMLNode attributeForName(NSString name)
attributeForLocalName_URI
public abstract NSXMLNode attributeForLocalName_URI(NSString localName,
NSString URI)
addNamespace
public abstract void addNamespace(NSXMLNode aNamespace)
removeNamespaceForPrefix
public abstract void removeNamespaceForPrefix(NSString name)
setNamespaces
public abstract void setNamespaces(NSArray namespaces)
namespaces
public abstract NSArray namespaces()
namespaceForPrefix
public abstract NSXMLNode namespaceForPrefix(NSString name)
resolveNamespaceForName
public abstract NSXMLNode resolveNamespaceForName(NSString name)
resolvePrefixForNamespaceURI
public abstract NSString resolvePrefixForNamespaceURI(NSString namespaceURI)
insertChild_atIndex
public abstract void insertChild_atIndex(NSXMLNode child,
NSUInteger index)
insertChildren_atIndex
public abstract void insertChildren_atIndex(NSArray children,
NSUInteger index)
removeChildAtIndex
public abstract void removeChildAtIndex(NSUInteger index)
setChildren
public abstract void setChildren(NSArray children)
addChild
public abstract void addChild(NSXMLNode child)
replaceChildAtIndex_withNode
public abstract void replaceChildAtIndex_withNode(NSUInteger index,
NSXMLNode node)
normalizeAdjacentTextNodesPreservingCDATA
public abstract void normalizeAdjacentTextNodesPreservingCDATA(boolean preserve)
alloc
public static NSXMLElement alloc()
new_
public static NSXMLElement new_()
getNSClass
public static NSXMLElement._class_ getNSClass()
Copyright © 2009. All Rights Reserved.