Up
Authors
- Generated by fedor
-
- 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
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)nodeKind;
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.
Up