org.rococoa.cocoa.foundation
Class NSXMLDocument
java.lang.Object
org.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.foundation.NSXMLNode
org.rococoa.cocoa.foundation.NSXMLDocument
- All Implemented Interfaces:
- NSCopying, NSObject, ObjCObject
public abstract class NSXMLDocument
- extends NSXMLNode
Method Summary |
abstract void |
addChild(NSXMLNode child)
|
static NSXMLDocument |
alloc()
|
abstract NSString |
characterEncoding()
|
static NSXMLDocument |
createWithContentsOfURL_options_error(NSURL url,
NSUInteger mask,
PointerByReference error)
Factory method
|
static NSXMLDocument |
createWithData_options_error(NSData data,
NSUInteger mask,
PointerByReference error)
Factory method
|
static NSXMLDocument |
createWithRootElement(NSXMLElement element)
Factory method
|
static NSXMLDocument |
createWithXMLString_options_error(NSString string,
NSUInteger mask,
PointerByReference error)
Factory method
|
abstract int |
documentContentKind()
|
abstract NSXMLDTD |
DTD()
|
static NSXMLDocument._class_ |
getNSClass()
|
abstract NSXMLDocument |
initWithContentsOfURL_options_error(NSURL url,
NSUInteger mask,
PointerByReference error)
|
abstract NSXMLDocument |
initWithData_options_error(NSData data,
NSUInteger mask,
PointerByReference error)
|
abstract NSXMLDocument |
initWithRootElement(NSXMLElement element)
|
abstract NSXMLDocument |
initWithXMLString_options_error(NSString string,
NSUInteger mask,
PointerByReference error)
|
abstract void |
insertChild_atIndex(NSXMLNode child,
NSUInteger index)
|
abstract void |
insertChildren_atIndex(NSArray children,
NSUInteger index)
|
abstract boolean |
isStandalone()
|
abstract NSString |
MIMEType()
|
static NSXMLDocument |
new_()
|
abstract NSObject |
objectByApplyingXSLT_arguments_error(NSData xslt,
NSDictionary arguments,
PointerByReference error)
|
abstract NSObject |
objectByApplyingXSLTAtURL_arguments_error(NSURL xsltURL,
NSDictionary argument,
PointerByReference error)
|
abstract NSObject |
objectByApplyingXSLTString_arguments_error(NSString xslt,
NSDictionary arguments,
PointerByReference error)
|
abstract void |
removeChildAtIndex(NSUInteger index)
|
abstract void |
replaceChildAtIndex_withNode(NSUInteger index,
NSXMLNode node)
|
static ObjCClass |
replacementClassForClass(ObjCClass cls)
Original signature : +(Class)replacementClassForClass:(Class)
native declaration : NSXMLDocument.h:98 |
abstract NSXMLElement |
rootElement()
|
abstract void |
setCharacterEncoding(NSString encoding)
|
abstract void |
setChildren(NSArray children)
|
abstract void |
setDocumentContentKind(int kind)
|
abstract void |
setDTD(NSXMLDTD documentTypeDeclaration)
|
abstract void |
setMIMEType(NSString MIMEType)
|
abstract void |
setRootElement(NSXMLNode root)
|
abstract void |
setStandalone(boolean standalone)
|
abstract void |
setVersion(NSString version)
|
abstract boolean |
validateAndReturnError(PointerByReference error)
Original signature : -(BOOL)validateAndReturnError:(NSError**)
native declaration : NSXMLDocument.h:266 |
abstract NSString |
version()
|
abstract NSData |
XMLData()
|
abstract NSData |
XMLDataWithOptions(NSUInteger options)
|
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 |
NSXMLDocument
public NSXMLDocument()
initWithXMLString_options_error
public abstract NSXMLDocument initWithXMLString_options_error(NSString string,
NSUInteger mask,
PointerByReference error)
createWithXMLString_options_error
public static NSXMLDocument createWithXMLString_options_error(NSString string,
NSUInteger mask,
PointerByReference error)
- Factory method
- See Also:
initWithXMLString_options_error(org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSUInteger, com.sun.jna.ptr.PointerByReference)
initWithContentsOfURL_options_error
public abstract NSXMLDocument initWithContentsOfURL_options_error(NSURL url,
NSUInteger mask,
PointerByReference error)
createWithContentsOfURL_options_error
public static NSXMLDocument createWithContentsOfURL_options_error(NSURL url,
NSUInteger mask,
PointerByReference error)
- Factory method
- See Also:
initWithContentsOfURL_options_error(org.rococoa.cocoa.foundation.NSURL, org.rococoa.cocoa.foundation.NSUInteger, com.sun.jna.ptr.PointerByReference)
initWithData_options_error
public abstract NSXMLDocument initWithData_options_error(NSData data,
NSUInteger mask,
PointerByReference error)
createWithData_options_error
public static NSXMLDocument createWithData_options_error(NSData data,
NSUInteger mask,
PointerByReference error)
- Factory method
- See Also:
initWithData_options_error(org.rococoa.cocoa.foundation.NSData, org.rococoa.cocoa.foundation.NSUInteger, com.sun.jna.ptr.PointerByReference)
initWithRootElement
public abstract NSXMLDocument initWithRootElement(NSXMLElement element)
createWithRootElement
public static NSXMLDocument createWithRootElement(NSXMLElement element)
- Factory method
- See Also:
initWithRootElement(org.rococoa.cocoa.foundation.NSXMLElement)
replacementClassForClass
public static ObjCClass replacementClassForClass(ObjCClass cls)
- Original signature :
+(Class)replacementClassForClass:(Class)
native declaration : NSXMLDocument.h:98
setCharacterEncoding
public abstract void setCharacterEncoding(NSString encoding)
characterEncoding
public abstract NSString characterEncoding()
setVersion
public abstract void setVersion(NSString version)
version
public abstract NSString version()
setStandalone
public abstract void setStandalone(boolean standalone)
isStandalone
public abstract boolean isStandalone()
setDocumentContentKind
public abstract void setDocumentContentKind(int kind)
- Parameters:
kind
- @see org.rococoa.cocoa.foundation.FoundationLibrary#NSXMLDocumentContentKind
documentContentKind
public abstract int documentContentKind()
setMIMEType
public abstract void setMIMEType(NSString MIMEType)
MIMEType
public abstract NSString MIMEType()
setDTD
public abstract void setDTD(NSXMLDTD documentTypeDeclaration)
DTD
public abstract NSXMLDTD DTD()
setRootElement
public abstract void setRootElement(NSXMLNode root)
rootElement
public abstract NSXMLElement rootElement()
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)
XMLData
public abstract NSData XMLData()
XMLDataWithOptions
public abstract NSData XMLDataWithOptions(NSUInteger options)
objectByApplyingXSLT_arguments_error
public abstract NSObject objectByApplyingXSLT_arguments_error(NSData xslt,
NSDictionary arguments,
PointerByReference error)
objectByApplyingXSLTString_arguments_error
public abstract NSObject objectByApplyingXSLTString_arguments_error(NSString xslt,
NSDictionary arguments,
PointerByReference error)
objectByApplyingXSLTAtURL_arguments_error
public abstract NSObject objectByApplyingXSLTAtURL_arguments_error(NSURL xsltURL,
NSDictionary argument,
PointerByReference error)
validateAndReturnError
public abstract boolean validateAndReturnError(PointerByReference error)
- Original signature :
-(BOOL)validateAndReturnError:(NSError**)
native declaration : NSXMLDocument.h:266
alloc
public static NSXMLDocument alloc()
new_
public static NSXMLDocument new_()
getNSClass
public static NSXMLDocument._class_ getNSClass()
Copyright © 2009. All Rights Reserved.