Up

NSXMLDTD class documentation

Authors

Generated by richard

Software documentation for the NSXMLDTD class

NSXMLDTD : NSXMLNode

Declared in:
Foundation/NSXMLDTD.h
Availability: OpenStep

Encapsulates document type definition data.
Method summary

predefinedEntityDeclarationForName: 

+ (NSXMLDTDNode*) predefinedEntityDeclarationForName: (NSString*)name;
Availability: OpenStep

Returns the predefined entity declaration matching named.

addChild: 

- (void) addChild: (NSXMLNode*)child;
Availability: OpenStep

Adds a child after the existing children.

attributeDeclarationForName: elementName: 

- (NSXMLDTDNode*) attributeDeclarationForName: (NSString*)name elementName: (NSString*)elementName;
Availability: OpenStep

Returns the attribute declaration named.

elementDeclarationForName: 

- (NSXMLDTDNode*) elementDeclarationForName: (NSString*)name;
Availability: OpenStep

Returns the element declaration named.

entityDeclarationForName: 

- (NSXMLDTDNode*) entityDeclarationForName: (NSString*)name;
Availability: OpenStep

Returns the entity declaration named.

initWithContentsOfURL: options: error: 

- (id) initWithContentsOfURL: (NSURL*)url options: (NSUInteger)mask error: (NSError**)error;
Availability: OpenStep

Load data from URL and initialise the receiver with the contents.

initWithData: options: error: 

- (id) initWithData: (NSData*)data options: (NSUInteger)mask error: (NSError**)error;
Availability: OpenStep

This is a designated initialiser for the class.
Description forthcoming.

insertChild: atIndex: 

- (void) insertChild: (NSXMLNode*)child atIndex: (NSUInteger)index;
Availability: OpenStep

Inserts a child node at the specified index in the document.

insertChildren: atIndex: 

- (void) insertChildren: (NSArray*)children atIndex: (NSUInteger)index;
Availability: OpenStep

Inserts a number of child nodes at the specified index.

notationDeclarationForName: 

- (NSXMLDTDNode*) notationDeclarationForName: (NSString*)name;
Availability: OpenStep

Returns the notation declaration named.

publicID 

- (NSString*) publicID;
Availability: OpenStep

Returns the public ID set for the document.

removeChildAtIndex: 

- (void) removeChildAtIndex: (NSUInteger)index;
Availability: OpenStep

Remove the indexed child node.

replaceChildAtIndex: withNode: 

- (void) replaceChildAtIndex: (NSUInteger)index withNode: (NSXMLNode*)theNode;
Availability: OpenStep

Replaces the child at index with another child.

setChildren: 

- (void) setChildren: (NSArray*)children;
Availability: OpenStep

Replaces all existing children with the child nodes in the array.

setPublicID: 

- (void) setPublicID: (NSString*)publicID;
Availability: OpenStep

Sets the public id of this document.
This identifier should be in the default catalog or in a location given by the XML_CATALOG_FILES environment variable.
You should also set the systemID when you set this.

setSystemID: 

- (void) setSystemID: (NSString*)systemID;
Availability: OpenStep

Sets the system ID... a URL referring to the DTD document.

systemID 

- (NSString*) systemID;
Availability: OpenStep

Returns the system ID


Up