Update to latest version of source

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9697 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2001-04-25 14:06:40 +00:00
parent 022ae6cf38
commit 5dbf5144be
3 changed files with 191 additions and 12 deletions

View file

@ -35,6 +35,42 @@
</desc>
</method>
<method type="NSString*" factory="yes">
<sel>descriptionFromType:</sel>
<arg type="int">type</arg>
<desc>
<p>
Return the string constant value for the attribute
type given.
</p>
</desc>
</method>
<method type="int" factory="yes">
<sel>typeFromDescription:</sel>
<arg type="NSString*">desc</arg>
<desc>
<p>
Return the numeric constant value for the attribute
type named. This method is inefficient, so the returned
value should be saved for re-use later. The possible
values are -
</p>
<list>
<item>XML_ATTRIBUTE_CDATA</item>
<item>XML_ATTRIBUTE_ID</item>
<item>XML_ATTRIBUTE_IDREF </item>
<item>XML_ATTRIBUTE_IDREFS</item>
<item>XML_ATTRIBUTE_ENTITY</item>
<item>XML_ATTRIBUTE_ENTITIES</item>
<item>XML_ATTRIBUTE_NMTOKEN</item>
<item>XML_ATTRIBUTE_NMTOKENS</item>
<item>XML_ATTRIBUTE_ENUMERATION</item>
<item>XML_ATTRIBUTE_NOTATION</item>
</list>
</desc>
</method>
<method type="id" >
<sel>initWithNode:</sel>
<arg type="GSXMLNode*">node</arg>
@ -111,10 +147,30 @@
<method type="GSXMLAttribute*" >
<sel>prev</sel>
<desc>
<p>Return previous Attribute.
<p>
Return previous Attribute.
</p>
</desc>
</method>
<method type="int" >
<sel>type</sel>
<desc>
<p>
Return the numeric type code for this attribute.
</p>
</desc>
</method>
<method type="NSString*" >
<sel>typeDescription</sel>
<desc>
<p>
Return the string type code for this attribute.
</p>
</desc>
</method>
</class>
</chapter>
</body>

View file

@ -21,6 +21,7 @@
<desc>
XML namespace.
</desc>
<method type="GSXMLNamespace*" factory="yes">
<sel>namespaceWithNode:</sel>
<arg type="GSXMLNode*">node</arg>
@ -60,6 +61,34 @@
</desc>
</method>
<method type="NSString*" factory="yes">
<sel>descriptionFromType:</sel>
<arg type="int">type</arg>
<desc>
<p>
Return the string constant value for the namespace
type given.
</p>
</desc>
</method>
<method type="int" factory="yes">
<sel>typeFromDescription:</sel>
<arg type="NSString*">desc</arg>
<desc>
<p>
Return the numeric constant value for the namespace
type named. This method is inefficient, so the returned
value should be saved for re-use later. The possible
values are -
</p>
<list>
<item>XML_LOCAL_NAMESPACE</item>
</list>
</desc>
</method>
<method type="id">
<sel>initWithNode:</sel>
<arg type="GSXMLNode*">node</arg>
@ -123,15 +152,6 @@
</desc>
</method>
<method type="GSXMLNamespaceType">
<sel>type</sel>
<desc>
<p>
Return type of namespace.
</p>
</desc>
</method>
<method type="GSXMLNamespace*">
<sel>next</sel>
<desc>
@ -140,6 +160,25 @@
</p>
</desc>
</method>
<method type="int">
<sel>type</sel>
<desc>
<p>
Return numeric type code of namespace.
</p>
</desc>
</method>
<method type="NSString*">
<sel>typeDescription</sel>
<desc>
<p>
Return string type code of namespace.
</p>
</desc>
</method>
</class>
</chapter>
</body>

View file

@ -23,6 +23,53 @@
</p>
</desc>
<method type="NSString*" factory="yes">
<sel>descriptionFromType:</sel>
<arg type="int">type</arg>
<desc>
<p>
Return the string constant value for the node
type given.
</p>
</desc>
</method>
<method type="int" factory="yes">
<sel>typeFromDescription:</sel>
<arg type="NSString*">desc</arg>
<desc>
<p>
Return the numeric constant value for the node
type named. This method is inefficient, so the returned
value should be saved for re-use later. The possible
values are -
</p>
<list>
<item>XML_ELEMENT_NODE</item>
<item>XML_ATTRIBUTE_NODE</item>
<item>XML_TEXT_NODE</item>
<item>XML_CDATA_SECTION_NODE</item>
<item>XML_ENTITY_REF_NODE</item>
<item>XML_ENTITY_NODE</item>
<item>XML_PI_NODE</item>
<item>XML_COMMENT_NODE</item>
<item>XML_DOCUMENT_NODE</item>
<item>XML_DOCUMENT_TYPE_NODE</item>
<item>XML_DOCUMENT_FRAG_NODE</item>
<item>XML_NOTATION_NODE</item>
<item>XML_HTML_DOCUMENT_NODE</item>
<item>XML_DTD_NODE</item>
<item>XML_ELEMENT_DECL</item>
<item>XML_ATTRIBUTE_DECL</item>
<item>XML_ENTITY_DECL</item>
<item>XML_NAMESPACE_DECL</item>
<item>XML_XINCLUDE_START</item>
<item>XML_XINCLUDE_END</item>
<item>XML_SGML_DOCUMENT_NODE</item>
</list>
</desc>
</method>
<method type="GSXMLNode*" factory="yes">
<sel>nodeWithNamespace:</sel>
<arg type="GSXMLNamespace*">ns</arg>
@ -161,11 +208,11 @@
</desc>
</method>
<method type="NSDictionary*">
<method type="NSMutableDictionary*">
<sel>propertiesAsDictionary</sel>
<desc>
<p>
Return attritubes and values as a dictionary.
Return attributes and values as a dictionary.
</p>
<example>
@ -185,6 +232,24 @@
</desc>
</method>
<method type="NSMutableDictionary*">
<sel>propertiesAsDictionaryWithKeyTransformationSel:</sel>
<arg type="SEL">keyTransformSel</arg>
<desc>
<p>
Return attributes and values as a dictionary, but applies
the specified selector to each key before adding the
key and value to the dictionary. The selector must be a
method of NSString taking no arguments and returning an
object suitable for use as a dictionary key.
</p>
<p>
This method exists for the use of GSWeb ... it is probably
not of much use elsewhere.
</p>
</desc>
</method>
<method type="GSXMLNodeType">
<sel>type</sel>
<desc>
@ -356,6 +421,25 @@
</example>
</desc>
</method>
<method type="int">
<sel>type</sel>
<desc>
<p>
Return the numeric type code for this node.
</p>
</desc>
</method>
<method type="NSString*">
<sel>typeDescription</sel>
<desc>
<p>
Return the string type code for this node.
</p>
</desc>
</method>
</class>
</chapter>
</body>