trunk/XMLv2__Notation.st
changeset 0 5057afe1ec87
equal deleted inserted replaced
-1:000000000000 0:5057afe1ec87
       
     1 "{ Package: 'stx:goodies/xmlsuite' }"
       
     2 
       
     3 "{ NameSpace: XMLv2 }"
       
     4 
       
     5 Node subclass:#Notation
       
     6 	instanceVariableNames:''
       
     7 	classVariableNames:''
       
     8 	poolDictionaries:''
       
     9 	category:'XML Suite-DOM3'
       
    10 !
       
    11 
       
    12 
       
    13 !Notation methodsFor:'DOM3 helpers'!
       
    14 
       
    15 computeLookupPrefix:arg 
       
    16     "Superclass says that I am responsible to implement this method"
       
    17     
       
    18     self shouldImplement
       
    19 
       
    20     "Created: / 18-06-2005 / 21:13:11 / janfrog"
       
    21 !
       
    22 
       
    23 postAdoptedBy:aDocument 
       
    24 
       
    25     ^self errorNotSupported
       
    26 
       
    27     "Created: / 25-12-2005 / 10:15:19 / janfrog"
       
    28 !
       
    29 
       
    30 postImportBy:arg1 deep:arg2 
       
    31     "Nothing to do"
       
    32 
       
    33     "Created: / 25-12-2005 / 11:01:36 / janfrog"
       
    34 !
       
    35 
       
    36 textContentOn:arg 
       
    37     "Superclass says that I am responsible to implement this method"
       
    38 
       
    39     self shouldImplement
       
    40 
       
    41     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    42 ! !
       
    43 
       
    44 !Notation methodsFor:'DOM3 interface'!
       
    45 
       
    46 compareDocumentPosition:arg 
       
    47     "Superclass says that I am responsible to implement this method"
       
    48 
       
    49     self shouldImplement
       
    50 
       
    51     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    52 !
       
    53 
       
    54 isDefaultNamespace:ns
       
    55 
       
    56     ^"unknown"false
       
    57 
       
    58     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    59 !
       
    60 
       
    61 lookupNamespaceURI:ns
       
    62 
       
    63     ^"unknown"false
       
    64 
       
    65     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    66 !
       
    67 
       
    68 nodeName
       
    69     "Superclass says that I am responsible to implement this method"
       
    70 
       
    71     self shouldImplement
       
    72 
       
    73     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    74 !
       
    75 
       
    76 nodeType
       
    77 
       
    78     ^Node NOTATION_NODE
       
    79 
       
    80     "Created: / 17-06-2005 / 11:45:06 / janfrog"
       
    81 !
       
    82 
       
    83 normalize
       
    84     "Superclass says that I am responsible to implement this method"
       
    85 
       
    86     self shouldImplement
       
    87 
       
    88     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    89 !
       
    90 
       
    91 parentNode
       
    92 
       
    93     ^self domError:'Notation has no parent' code:#NOT_SUPPORTED_ERR
       
    94 
       
    95     "Created: / 17-06-2005 / 12:05:00 / janfrog"
       
    96 ! !
       
    97 
       
    98 !Notation methodsFor:'testing'!
       
    99 
       
   100 isNotation
       
   101     ^ true
       
   102 
       
   103     "Created: / 05-08-2005 / 14:27:51 / janfrog"
       
   104 ! !
       
   105 
       
   106 !Notation methodsFor:'visiting'!
       
   107 
       
   108 acceptVisitor:aVisitor 
       
   109     "Double dispatch back to the visitor, passing my type encoded in
       
   110      the selector (visitor pattern)"
       
   111 
       
   112     "stub code automatically generated - please change if required"
       
   113 
       
   114     ^ aVisitor visitNotation:self
       
   115 
       
   116     "Created: / 05-08-2005 / 13:09:35 / janfrog"
       
   117 ! !
       
   118 
       
   119 !Notation class methodsFor:'documentation'!
       
   120 
       
   121 version
       
   122     ^ '$Header: /opt/data/cvs/stx/goodies/xmlsuite/XMLv2__Notation.st,v 1.2 2005-12-25 10:55:40 vranyj1 Exp $'
       
   123 ! !