Up

NSXMLDTDNode class documentation

Authors

Generated by mockbuild

Software documentation for the NSXMLDTDNode class

NSXMLDTDNode : NSXMLNode

Declared in:
Foundation/NSXMLDTDNode.h
Availability: OpenStep

Represents the nodes whose types are present only in DTDs.
Object values for the different nodes are:
Entity declaration
The string that that entity resolves to eg "<"
Attribute declaration
The default value, if any
Element declaration
The validation string
Notation declaration
nil

Instance Variables

Method summary

DTDKind 

- (NSXMLDTDNodeKind) DTDKind;
Availability: OpenStep

Returns what kind of DTD node this is.

initWithXMLString: 

- (id) initWithXMLString: (NSString*)string;
Availability: OpenStep

This is a designated initialiser for the class.
Initialises the receiver based on the contents of the supplied XML.

isExternal 

- (BOOL) isExternal;
Availability: OpenStep

Returns YES if the system id is set, NO otherwise.
Is valid only for entities and notations.

notationName 

- (NSString*) notationName;
Availability: OpenStep

Returns the notation name.

publicID 

- (NSString*) publicID;
Availability: OpenStep

Returns the public id.

setDTDKind: 

- (void) setDTDKind: (NSXMLDTDNodeKind)kind;
Availability: OpenStep

Sets what kind of DTD node this is.

setNotationName: 

- (void) setNotationName: (NSString*)notationName;
Availability: OpenStep

Sets the notation name if the receiver is an entity.

setPublicID: 

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

Sets the public id of this node.
This identifier should be in the default catalog or in a location given by the XML_CATALOG_FILES environment variable.
When the public id is set the system id must also be set.
This is valid only for entities and notations.

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.



Instance Variables for NSXMLDTDNode Class

_DTDKind

@protected NSXMLDTDNodeKind _DTDKind;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_name

@protected NSString* _name;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_notationName

@protected NSString* _notationName;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_publicID

@protected NSString* _publicID;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_systemID

@protected NSString* _systemID;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.





Up