public static class Ezvcard.ParserChainXmlDom
extends java.lang.Object
Ezvcard.parseXml(Document)
Modifier and Type | Method and Description |
---|---|
java.util.List<VCard> |
all()
Reads all vCards from the stream.
|
VCard |
first()
Reads the first vCard from the stream.
|
Ezvcard.ParserChainXmlDom |
register(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe.
|
Ezvcard.ParserChainXmlDom |
warnings(java.util.List<java.util.List<java.lang.String>> warnings)
Provides a list object that any unmarshal warnings will be put into.
|
public Ezvcard.ParserChainXmlDom register(VCardPropertyScribe<? extends VCardProperty> scribe)
scribe
- the scribepublic Ezvcard.ParserChainXmlDom warnings(java.util.List<java.util.List<java.lang.String>> warnings)
warnings
- the list object that will be populated with the
warnings of each unmarshalled vCard. Each element of the list is the
list of warnings for one of the unmarshalled vCards. Therefore, the
size of this list will be equal to the number of parsed vCards. If a
vCard does not have any warnings, then its warning list will be
empty.public VCard first()
public java.util.List<VCard> all()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.