| Modifier and Type | Class and Description |
|---|---|
| public static record | |
| private static class |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | |
| public Optional | |
| public Optional | |
| private Optional | |
| public Optional | |
| public Optional | |
| public Stream | Returns: the value of the array property with the specified name in the underlying "dict" elementthe name of an array property whose value to query keyName, boolean controls the type of objects of "dict" elements. If
the value is fetchDictionaries)true,
Map<String, Object> type is used, and
PListReader type otherwise.Returns the value of the given array property in the underlying "dict"
element as a stream of |
| public boolean | Returns: the value of the boolean property with the specified name in the underlying "dict" elementthe name of a boolean property whose value to query keyName)Returns the value of the given boolean property in the underlying "dict" element. |
| public PListReader | Returns: the value of the "dict" property with the specified name in the underlying "dict" elementthe name of a "dict" property whose value to query keyName)Returns the value of the given "dict" property in the underlying "dict" element. |
| public List | Returns: the value of the array property with the specified name in the underlying "dict" elementthe name of an array property whose value to query keyName)Returns the value of the given array property in the underlying "dict" element as a list of strings. |
| public String | Returns: the value of the string property with the specified name in the underlying "dict" elementthe name of a string property whose value to query keyName)Returns the value of the given string property in the underlying "dict" element. |
| private Stream | |
| public Map | Returns: the contents of the the underlying "dict" element as a Mapcontrols the type of objects of nested "dict"
elements. If the value is fetchDictionaries)true,
Map<String, Object> type is used, and
PListReader type otherwise.Returns the contents of the the underlying "dict" element as a Map. |
| public XmlConsumer | |
| private Optional |
| root | back to summary |
|---|---|
| private final Node root | |
| PListReader | back to summary |
|---|---|
| public PListReader(Node node) Creates plist reader from the given node.
If the specified node is an element with the name "dict", the reader is bound
to the specified node; otherwise, it is bound to the
| |
| PListReader | back to summary |
|---|---|
| public PListReader(byte[] xmlData) throws SAXException, IOException | |
| findArrayValue | back to summary |
|---|---|
| public Optional | |
| findBoolValue | back to summary |
|---|---|
| public Optional | |
| findDictValue | back to summary |
|---|---|
| public Optional | |
| findNode | back to summary |
|---|---|
| private Optional | |
| findStringArrayValue | back to summary |
|---|---|
| public Optional | |
| findValue | back to summary |
|---|---|
| public Optional | |
| queryArrayValue | back to summary |
|---|---|
| public Stream Returns the value of the given array property in the underlying "dict"
element as a stream of
Values of "dict" array items are stored as
Values of "array" array items are stored as
Values of other types are stored as
| |
| queryBoolValue | back to summary |
|---|---|
| public boolean queryBoolValue(String keyName) Returns the value of the given boolean property in the underlying "dict" element.
| |
| queryDictValue | back to summary |
|---|---|
| public PListReader queryDictValue(String keyName) Returns the value of the given "dict" property in the underlying "dict" element.
| |
| queryStringArrayValue | back to summary |
|---|---|
| public List Returns the value of the given array property in the underlying "dict" element as a list of strings.
Processes the result of calling
| |
| queryValue | back to summary |
|---|---|
| public String queryValue(String keyName) Returns the value of the given string property in the underlying "dict" element.
| |
| readArray | back to summary |
|---|---|
| private Stream | |
| toMap | back to summary |
|---|---|
| public Map Returns the contents of the the underlying "dict" element as a Map. The keys in the returned map are names of the properties.
Values of nested "dict" properties are stored as
Values of "array" properties are stored as
Values of other properties are stored as | |
| toXmlConsumer | back to summary |
|---|---|
| public XmlConsumer toXmlConsumer() | |
| tryCreateValue | back to summary |
|---|---|
| private Optional | |
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final PListReader. | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| private static Optional | |
| public PListReader. | |
| public String |
| type | back to summary |
|---|---|
| private final PListReader. Record Component accessed by type(). | |
| value | back to summary |
|---|---|
| private final String value Record Component accessed by value(). | |
| Raw | back to summary |
|---|---|
| public Raw(String value, PListReader. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| tryCreate | back to summary |
|---|---|
| private static Optional | |
| type | back to summary |
|---|---|
| public PListReader. Record Component getter of type. | |
| value | back to summary |
|---|---|
| public String value() Record Component getter of value. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PListReader. | |
| public static final PListReader. | |
| public static final PListReader. | |
| public static final PListReader. | |
| public static final PListReader. | |
| public static final PListReader. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Optional | |
| public static PListReader. | |
| public static PListReader. |
| BOOLEAN | back to summary |
|---|---|
| public static final PListReader. | |
| DATA | back to summary |
|---|---|
| public static final PListReader. | |
| DATE | back to summary |
|---|---|
| public static final PListReader. | |
| INTEGER | back to summary |
|---|---|
| public static final PListReader. | |
| REAL | back to summary |
|---|---|
| public static final PListReader. | |
| STRING | back to summary |
|---|---|
| public static final PListReader. | |
| Type | back to summary |
|---|---|
| private Type() | |
| fromElementName | back to summary |
|---|---|
| private static Optional | |
| valueOf | back to summary |
|---|---|
| public static PListReader. | |
| values | back to summary |
|---|---|
| public static PListReader. | |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| private static final XPath INSTANCE | |
| XPathSingleton | back to summary |
|---|---|
| private XPathSingleton() | |