trunk/XMLv2__EntityReference.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:#EntityReference
       
     6 	instanceVariableNames:''
       
     7 	classVariableNames:''
       
     8 	poolDictionaries:''
       
     9 	category:'XML Suite-DOM3'
       
    10 !
       
    11 
       
    12 
       
    13 !EntityReference 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 postImportBy:arg1 deep:arg2 
       
    24     "Nothing to do"
       
    25 
       
    26     "Created: / 25-12-2005 / 11:01:36 / janfrog"
       
    27 !
       
    28 
       
    29 textContentOn:arg 
       
    30     "Superclass says that I am responsible to implement this method"
       
    31 
       
    32     self shouldImplement
       
    33 
       
    34     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    35 ! !
       
    36 
       
    37 !EntityReference methodsFor:'DOM3 interface'!
       
    38 
       
    39 compareDocumentPosition:arg 
       
    40     "Superclass says that I am responsible to implement this method"
       
    41 
       
    42     self shouldImplement
       
    43 
       
    44     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    45 !
       
    46 
       
    47 isDefaultNamespace:prefix
       
    48 
       
    49     ^"unknown"false
       
    50 
       
    51     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    52 !
       
    53 
       
    54 lookupNamespaceURI:arg 
       
    55     "Superclass says that I am responsible to implement this method"
       
    56 
       
    57     self shouldImplement
       
    58 
       
    59     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    60 !
       
    61 
       
    62 nodeName
       
    63     "Superclass says that I am responsible to implement this method"
       
    64 
       
    65     self shouldImplement
       
    66 
       
    67     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    68 !
       
    69 
       
    70 nodeType
       
    71 
       
    72     ^Node ENTITY_REFERENCE_NODE
       
    73 
       
    74     "Created: / 17-06-2005 / 11:44:49 / janfrog"
       
    75 !
       
    76 
       
    77 normalize
       
    78     "Superclass says that I am responsible to implement this method"
       
    79 
       
    80     self shouldImplement
       
    81 
       
    82     "Created: / 18-06-2005 / 20:18:17 / janfrog"
       
    83 ! !
       
    84 
       
    85 !EntityReference methodsFor:'testing'!
       
    86 
       
    87 isEntityReference
       
    88     ^ true
       
    89 
       
    90     "Created: / 05-08-2005 / 14:27:51 / janfrog"
       
    91 ! !
       
    92 
       
    93 !EntityReference methodsFor:'visiting'!
       
    94 
       
    95 acceptVisitor:aVisitor 
       
    96     "Double dispatch back to the visitor, passing my type encoded in
       
    97      the selector (visitor pattern)"
       
    98 
       
    99     "stub code automatically generated - please change if required"
       
   100 
       
   101     ^ aVisitor visitEntityReference:self
       
   102 
       
   103     "Created: / 05-08-2005 / 13:09:35 / janfrog"
       
   104 ! !
       
   105 
       
   106 !EntityReference class methodsFor:'documentation'!
       
   107 
       
   108 version
       
   109     ^ '$Header: /opt/data/cvs/stx/goodies/xmlsuite/XMLv2__EntityReference.st,v 1.2 2005-12-25 10:54:41 vranyj1 Exp $'
       
   110 ! !