Up
Authors
- Manuel Guesdon (
mguesdon@orange-concept.com)
-
Date: Generated at 2025-12-01
Copyright: (C) 1999-2004 Free Software Foundation, Inc.
- Declared in:
- WebObjects/GSWTemplateParser.h
- Conforms to:
- GSWDeclarationParserPragmaDelegate
Availability: OpenStep
Base template parser
GSWTemplateParser declares 14 Instance Variables
+ (
GSWElement*)
templateWithHTMLString: (
NSString*)HTMLString
declarationString: (
NSString*)declarationsString
languages: (
NSArray*)languages;
Availability: OpenStep
Description forthcoming.
- (void)
addErrorMessage: (
NSString*)errorMessage;
Availability: OpenStep
Description forthcoming.
- (void)
addErrorMessageFormat: (
NSString*)format
,...;
Availability: OpenStep
Description forthcoming.
- (void)
addErrorMessageFormat: (
NSString*)format
arguments: (va_list)arguments;
Availability: OpenStep
Description forthcoming.
- (
NSDictionary*)
declarations;
Availability: OpenStep
parse declarationsString if it is not already done
and returns declarations
- (
NSMutableArray*)
errorMessages;
Availability: OpenStep
Description forthcoming.
- (
NSString*)
errorMessagesAsText;
Availability: OpenStep
Description forthcoming.
- (
NSDictionary*)
includedDeclarationsFromFilePath: (
NSString*)file
fromFrameworkNamed: (
NSString*)frameworkName;
Availability: OpenStep
returns declarations from includedFilePath included
from declaration file in framework named
frameworkName Method for
GSWDeclarationParserPragmaDelegate
protocol
- (id)
initWithTemplateName: (
NSString*)aName
inFrameworkName: (
NSString*)aFrameworkName
withString: (
NSString*)HTMLString
encoding: (
NSStringEncoding)anEncoding
fromPath: (
NSString*)HTMLPath
withDeclarationsString: (
NSString*)declarationsString
fromPath: (
NSString*)aDeclarationsPath
forLanguages: (
NSArray*)someLanguages;
Availability: OpenStep
Description forthcoming.
- (
NSString*)
logPrefix;
Availability: OpenStep
Description forthcoming.
- (void)
parseDeclarations;
Availability: OpenStep
parses declarations from _declarationsString if it
has not been parsed
- (
NSDictionary*)
parseDeclarationsString: (
NSString*)declarationsString
named: (
NSString*)declarationsName
inFrameworkNamed: (
NSString*)declarationsFrameworkName;
Availability: OpenStep
return declarations parsed from
declarationsString
- (
GSWElement*)
template;
Availability: OpenStep
parse the template if it's not done and returns it
May raise exception
- (
NSArray*)
templateElements;
Availability: OpenStep
Description forthcoming.
Instance Variables for GSWTemplateParser Class
@protected NSDictionary*
_declarations;
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*
_declarationsFilePath;
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*
_declarationsString;
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 NSMutableArray*
_errorMessages;
Availability: OpenStep
Template/declaration errors. If non
empty, raise an exception
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*
_frameworkName;
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 NSArray*
_languages;
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 NSMutableSet*
_processedDeclarationsFilePaths;
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*
_string;
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 NSStringEncoding
_stringEncoding;
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*
_stringPath;
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 GSWElement*
_template;
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*
_templateName;
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 int
gswebTagN;
Availability: OpenStep
Description forthcoming.
@protected int
tagN;
Availability: OpenStep
Description forthcoming.
- Declared in:
- WebObjects/GSWTemplateParser.h
Availability: OpenStep
Template Parsing protocol for new parsers
- (id)
autorelease;
Availability: OpenStep
Description forthcoming.
- (void)
parser: (
GSWBaseParser*)parser
didParseClosingDynamicTagOfType: (
GSWHTMLRawParserTagType)tagType
withTemplateInfo: (
NSString*)templateInfo;
Availability: OpenStep
Called by parser when it has closed a
dynamic tag Creates a dynamic element from current
temporary element element
- (void)
parser: (
GSWBaseParser*)parser
didParseComment: (
NSString*)text;
Availability: OpenStep
Called by parser when it has parsed a
comment Creates a GSWHTMLComment with the comment
text
- (void)
parser: (
GSWBaseParser*)parser
didParseOpeningDynamicTagOfType: (
GSWHTMLRawParserTagType)tagType
withProperties: (
NSDictionary*)tagProperties
templateInfo: (
NSString*)templateInfo;
Availability: OpenStep
Called by parser when it has opened a
dynamic tag Creates a GSWTemporaryElement element,
waiting for tag end
- (void)
parser: (
GSWBaseParser*)parser
didParseText: (
NSString*)text;
Availability: OpenStep
Called by parser when it has parsed raw
text Creates a GSWHTMLBareString element
with the text
- (oneway void)
release;
Availability: OpenStep
Description forthcoming.
- (id)
retain;
Availability: OpenStep
Description forthcoming.
typedef enum _GSWHTMLRawParserTagType GSWHTMLRawParserTagType;
Availability: OpenStep
Description forthcoming.
typedef enum _GSWTemplateParserType GSWTemplateParserType;
Availability: OpenStep
Description forthcoming.
BOOL _parserIsCommentTagType(
GSWHTMLRawParserTagType tagType);
Availability: OpenStep
Description forthcoming.
BOOL _parserIsDynamicOrCommentTagType(
GSWHTMLRawParserTagType tagType);
Availability: OpenStep
Description forthcoming.
BOOL _parserIsDynamicTagType(
GSWHTMLRawParserTagType tagType);
Availability: OpenStep
Description forthcoming.
Up