Creates objects from XML input streams while parsing them.
Bot releases are hidden (Show)
Published by thekid 7 months ago
Published by thekid 9 months ago
Published by thekid 12 months ago
xml:space
attribute and preserve whitespacePublished by thekid over 1 year ago
util.address.XmlStreaming
.Published by thekid over 1 year ago
Published by thekid over 2 years ago
XmlStream
and XmlFile
implement the lang.Closeable
interfaceXmlStream::toString()
to check if InputStream implementationstoString()
method even if they do not implement lang.Value
.Published by thekid over 2 years ago
Published by thekid almost 3 years ago
Published by thekid almost 3 years ago
This major release deprecates the $it->next()
syntax in favor of using yield
. See #16, implemented in 4.2.0.
util.address.ObjectOf
.Published by thekid almost 3 years ago
yield
inside address functions. Using functionsfn(&$self) => $self['item']= yield;
inside definitionsPublished by thekid almost 3 years ago
Address::pointers()
to iterate over paths andAddress::value()
to return current valuePublished by thekid almost 3 years ago
Published by thekid almost 3 years ago
This major release offers three ways to create values from XML: Using ValueOf, ObjectOf or RecordOf. The first is the most generic form and accepts a default value while the latter two produce objects of a given type, differing in the way they create these.
util.address.ValueOf
util.address.ValueOf
and require a default valueutil.address.ObjectOf
(and RecordOf) raise exceptions ifutil.address.ObjectOf
to accept functionsfunction(object, util.address.Iteration): void
instead ofutil.address.MapOf
to create maps. Comparableutil.address.RecordOf
for record classes. WhilePublished by thekid almost 3 years ago
This release brings this library up-to-date by dropping dependencies on archived libraries and adding a more generic object instantation
mechanism not reliant on a certain class architecture.
xp-framework/collections
library, add a Pair
util.address.ObjectOf
. It replaces the oldwith()
methodPublished by thekid over 4 years ago
This release is the first release to no longer run on PHP 5, implementing xp-framework/rfc#334.
newinstance
to anonymous classes - @thekidPublished by thekid over 4 years ago
First major release, compatible with the current XP and PHP versions.
Published by thekid over 8 years ago
Published by thekid over 9 years ago
Published by thekid over 9 years ago