Mercurial > pub > Impl
comparison Lib/IMPL/DOM/Transform/QueryToDOM.pm @ 387:4cc6cc370fb2
DOM refactoring
| author | sergey |
|---|---|
| date | Tue, 11 Feb 2014 01:13:47 +0400 |
| parents | 34a110d1f06c |
| children |
comparison
equal
deleted
inserted
replaced
| 386:4bdf155e5bfe | 387:4cc6cc370fb2 |
|---|---|
| 30 # inflate simple properties | 30 # inflate simple properties |
| 31 sub TransformPlain { | 31 sub TransformPlain { |
| 32 my ($this,$data) = @_; | 32 my ($this,$data) = @_; |
| 33 | 33 |
| 34 $this->currentNode->nodeProperty( rawValue => $data ); | 34 $this->currentNode->nodeProperty( rawValue => $data ); |
| 35 $this->currentNode->nodeValue( $this->inflateNodeValue($data) ); | 35 $this->currentNode->nodeValue( $data ); |
| 36 return $this->currentNode; | 36 return $this->currentNode; |
| 37 } | 37 } |
| 38 | 38 |
| 39 # do not store complex data as node values | 39 # do not store complex data as node values |
| 40 sub StoreObject { | 40 sub StoreObject { |
