RdfXmlParserState
in package
Table of Contents
Constants
- STATE_NODE = 'node'
- STATE_PREDICATE = 'predicate'
- STATE_ROOT = 'root'
- STATE_VALUE = 'value'
- STATE_XMLLITERAL = 'xmlliteral'
Properties
- $datatype : string|null
- $isCDataPredicate : bool|null
- $isCollection : bool
- $lang : string
- $literalValue : string|null
- $literalValueDepth : int
- $predicate : NamedNodeInterface
- $reifyAs : BlankNodeInterface|NamedNodeInterface|null
- $sequenceNo : int
- $state : string
- $subject : NamedNodeInterface|BlankNodeInterface
Methods
- withState() : self
- withSubject() : self
Constants
STATE_NODE
public
mixed
STATE_NODE
= 'node'
STATE_PREDICATE
public
mixed
STATE_PREDICATE
= 'predicate'
STATE_ROOT
public
mixed
STATE_ROOT
= 'root'
STATE_VALUE
public
mixed
STATE_VALUE
= 'value'
STATE_XMLLITERAL
public
mixed
STATE_XMLLITERAL
= 'xmlliteral'
Properties
$datatype
public
string|null
$datatype
= null
$isCDataPredicate
public
bool|null
$isCDataPredicate
= null
$isCollection
public
bool
$isCollection
= false
$lang
public
string
$lang
= ''
$literalValue
public
string|null
$literalValue
= null
$literalValueDepth
public
int
$literalValueDepth
= 0
$predicate
public
NamedNodeInterface
$predicate
$reifyAs
public
BlankNodeInterface|NamedNodeInterface|null
$reifyAs
= null
$sequenceNo
public
int
$sequenceNo
= 1
$state
public
string
$state
= self::STATE_ROOT
$subject
public
NamedNodeInterface|BlankNodeInterface
$subject
Methods
withState()
public
withState(string $state) : self
Parameters
- $state : string
Return values
selfwithSubject()
public
withSubject(NamedNodeInterface|BlankNodeInterface $subject) : self
Parameters
- $subject : NamedNodeInterface|BlankNodeInterface