4Suite
™
API Documentation
►
Module
Ft
.
Xml
.
XPath
.ParsedNodeTest
######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Xml/XPath/ParsedNodeTest.py,v 1.10 2005/01/01 17:22:06 uogbuji Exp $
Classes:
CommentNodeTest
,
LocalNameTest
,
NamespaceTest
,
NodeTest
,
NodeTestBase
,
PrincipalTypeTest
,
ProcessingInstructionNodeTest
,
QualifiedNameTest
,
TextNodeTest
Functions:
ParsedNameTest
,
ParsedNodeTest
Fields:
g_classMap
,
g_xpathRecognizedNodes
Classes
class
CommentNodeTest
(
NodeTestBase
)
Methods
__repr__
(
self
)
Methods inherited from class
NodeTestBase
__str__
,
getQuickKey
,
match
,
pprint
Fields
nodeType
= 8
Fields
class
LocalNameTest
(
NodeTestBase
)
Methods
__init__
(
self
,
name
)
__repr__
(
self
)
getQuickKey
(
self
,
namespaces
)
match
(
self
,
context
,
node
,
principalType
=1
)
Methods inherited from class
NodeTestBase
__str__
,
pprint
Fields
nodeType
= 1
Fields
class
NamespaceTest
(
NodeTestBase
)
Methods
__init__
(
self
,
prefix
)
__repr__
(
self
)
getQuickKey
(
self
,
namespaces
)
match
(
self
,
context
,
node
,
principalType
=1
)
Methods inherited from class
NodeTestBase
__str__
,
pprint
Fields
nodeType
= 1
Fields
class
NodeTest
(
NodeTestBase
)
Methods
__repr__
(
self
)
match
(
self
,
context
,
node
,
principalType
=1
)
Methods inherited from class
NodeTestBase
__str__
,
getQuickKey
,
pprint
Fields
class
NodeTestBase
Methods
__str__
(
self
)
getQuickKey
(
self
,
namespaces
)
match
(
self
,
context
,
node
,
principalType
=1
)
pprint
(
self
,
indent
)
Fields
nodeType
= None
priority
= -0.5
class
PrincipalTypeTest
(
NodeTestBase
)
Methods
__repr__
(
self
)
match
(
self
,
context
,
node
,
principalType
=1
)
Methods inherited from class
NodeTestBase
__str__
,
getQuickKey
,
pprint
Fields
nodeType
= 1
Fields
class
ProcessingInstructionNodeTest
(
NodeTestBase
)
Methods
__init__
(
self
,
target
=None
)
__repr__
(
self
)
match
(
self
,
context
,
node
,
principalType
=1
)
Methods inherited from class
NodeTestBase
__str__
,
getQuickKey
,
pprint
Fields
nodeType
= 7
Fields
class
QualifiedNameTest
(
NodeTestBase
)
Methods
__init__
(
self
,
prefix
,
localName
)
__repr__
(
self
)
getQuickKey
(
self
,
namespaces
)
match
(
self
,
context
,
node
,
principalType
=1
)
Methods inherited from class
NodeTestBase
__str__
,
pprint
Fields
nodeType
= 1
Fields
class
TextNodeTest
(
NodeTestBase
)
Methods
__repr__
(
self
)
Methods inherited from class
NodeTestBase
__str__
,
getQuickKey
,
match
,
pprint
Fields
nodeType
= 3
Fields
Functions
ParsedNameTest
(
name
)
ParsedNodeTest
(
test
,
literal
=None
)
Fields
g_classMap
= {'comment': <class Ft.Xml.XPath.ParsedNodeTest.CommentNodeTest>, 'node': <class Ft.Xml.XPath.ParsedNodeTest.NodeTest>, 'processing-instruction': <class Ft.Xml.XPath.ParsedNodeTest.ProcessingInstructionNodeTest>, 'text': <class Ft.Xml.XPath.ParsedNodeTest.TextNodeTest>}
g_xpathRecognizedNodes
= {1: True, 2: True, 3: True, 7: True, 8: True, 9: True, 13: True}