Up
Authors
- Generated by andrew
-
- 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
- (
NSXMLDTDNodeKind)
DTDKind;
Availability: OpenStep
Returns what kind of DTD node this is.
- (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.
- (BOOL)
isExternal;
Availability: OpenStep
Returns YES
if the system
id is set, NO
otherwise.
Is valid only for entities and
notations.
- (
NSString*)
notationName;
Availability: OpenStep
Returns the notation name.
- (
NSString*)
publicID;
Availability: OpenStep
Returns the public id.
- (void)
setDTDKind: (
NSXMLDTDNodeKind)kind;
Availability: OpenStep
Sets what kind of DTD node this is.
- (void)
setNotationName: (
NSString*)notationName;
Availability: OpenStep
Sets the notation name if the receiver is an entity.
- (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.
- (void)
setSystemID: (
NSString*)systemID;
Availability: OpenStep
Sets the system ID... a URL referring to the DTD
document.
- (
NSString*)
systemID;
Availability: OpenStep
Returns the system ID.
Instance Variables for NSXMLDTDNode Class
@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.
@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.
@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.
@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.
@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