Index
All Classes and Interfaces|All Packages
A
- asStartElement() - Method in class org.panteleyev.commons.xml.XMLEventWrapper
-
Returns
StartElementWrapperifXMLEvent.isStartElement()is true. - asStartElement(QName) - Method in class org.panteleyev.commons.xml.XMLEventWrapper
-
Returns
StartElementWrapperifXMLEvent.isStartElement()is true and name matches. - attribute(QName, Object) - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Writes a single attribute.
- attributes(Map<QName, ?>) - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Writes several attributes.
C
- close() - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Closes the wrapped reader.
- close() - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Closes the writer.
D
- DIGITS - Enum constant in enum class org.panteleyev.commons.password.PasswordCharacterSet
-
Digits.
- document(Runnable) - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Writes XML document.
- document(QName, Runnable) - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Writes XML document with root element.
E
- element(QName, Runnable) - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Writes XML element.
- element(QName, Map<QName, ?>) - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Writes element with attributes.
F
- flush() - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Flushes the writer.
G
- generate(Set<PasswordCharacterSet>, int) - Method in class org.panteleyev.commons.password.PasswordGenerator
-
Generates password and avoids ambiguous letters.
- generate(Set<PasswordCharacterSet>, int, boolean) - Method in class org.panteleyev.commons.password.PasswordGenerator
-
Generates password.
- getAttributeValue(QName) - Method in class org.panteleyev.commons.xml.StartElementWrapper
-
Returns attribute value as string.
- getAttributeValue(QName, boolean) - Method in class org.panteleyev.commons.xml.StartElementWrapper
-
Returns attribute value as boolean.
- getAttributeValue(QName, double) - Method in class org.panteleyev.commons.xml.StartElementWrapper
-
Returns attribute value as double.
- getAttributeValue(QName, int) - Method in class org.panteleyev.commons.xml.StartElementWrapper
-
Returns attribute value as int.
- getAttributeValue(QName, long) - Method in class org.panteleyev.commons.xml.StartElementWrapper
-
Returns attribute value as long.
- getAttributeValue(QName, Class<T>) - Method in class org.panteleyev.commons.xml.StartElementWrapper
-
Returns attribute value of specified class.
- getAttributeValue(QName, T) - Method in class org.panteleyev.commons.xml.StartElementWrapper
-
Returns attribute value of specified class or default value.
- getElementText() - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Reads the content of a text-only element.
- getElementValue(boolean) - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Reads the content of a text-only element as boolean.
- getElementValue(int) - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Reads the content of a text-only element as integer.
- getElementValue(long) - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Reads the content of a text-only element as long.
- getElementValue(Class<T>) - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Reads the content of a text-only element as typed value.
- getElementValue(T) - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Reads the content of a text-only element as typed value.
- getName() - Method in class org.panteleyev.commons.xml.StartElementWrapper
-
Returns name of the wrapped element.
- getReader() - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Returns wrapped reader instance.
H
- hasNext() - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Checks if there is next event available.
I
- ifStartElement(QName, Consumer<StartElementWrapper>) - Method in class org.panteleyev.commons.xml.XMLEventWrapper
-
Calls handler if event is
StartElement. - ifStartElement(QName, Predicate<StartElementWrapper>, Consumer<StartElementWrapper>) - Method in class org.panteleyev.commons.xml.XMLEventWrapper
-
Calls handler if event is
StartElement, name matches and condition is true. - isEndElement(QName) - Method in class org.panteleyev.commons.xml.XMLEventWrapper
-
Checks if event is
EndElement.
L
- LOCAL_DATE_AS_EPOCH_DAY - Enum constant in enum class org.panteleyev.commons.xml.SerializationOption
- LOWER_CASE_LETTERS - Enum constant in enum class org.panteleyev.commons.password.PasswordCharacterSet
-
Lower case letters.
N
- newInstance(InputStream) - Static method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Creates new instance of
XMLStreamWriterWrapperwith default options. - newInstance(InputStream, Set<SerializationOption>) - Static method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Creates new instance of
XMLStreamWriterWrapper. - newInstance(OutputStream) - Static method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Creates an instance of
XMLStreamWriterWrapperwith default options. - newInstance(OutputStream, Set<SerializationOption>) - Static method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Creates an instance of
XMLStreamWriterWrapperwith specified options. - nextEvent() - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Returns wrapped next event.
O
- org.panteleyev.commons - module org.panteleyev.commons
-
Provides Java commons API.
- org.panteleyev.commons.password - package org.panteleyev.commons.password
-
Password generation.
- org.panteleyev.commons.xml - package org.panteleyev.commons.xml
-
XML wrappers, helpers, etc.
P
- PasswordCharacterSet - Enum Class in org.panteleyev.commons.password
-
Defines password character sets.
- PasswordGenerator - Class in org.panteleyev.commons.password
-
Implements password generation functionality.
- PasswordGenerator() - Constructor for class org.panteleyev.commons.password.PasswordGenerator
- peek() - Method in class org.panteleyev.commons.xml.XMLEventReaderWrapper
-
Check the next XMLEvent without reading it from the stream.
S
- SerializationOption - Enum Class in org.panteleyev.commons.xml
-
Serialization options.
- StartElementWrapper - Class in org.panteleyev.commons.xml
-
Convenience wrapper for
StartElementinstances. - SYMBOLS - Enum constant in enum class org.panteleyev.commons.password.PasswordCharacterSet
-
Symbols.
T
- text(String) - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Writes element text.
- textElement(QName, Object) - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Writes XML element with text.
- textElement(QName, Map<QName, ?>, Object) - Method in class org.panteleyev.commons.xml.XMLStreamWriterWrapper
-
Writes element with attributes and text.
U
- UPPER_CASE_LETTERS - Enum constant in enum class org.panteleyev.commons.password.PasswordCharacterSet
-
Upper case letters.
V
- valueOf(String) - Static method in enum class org.panteleyev.commons.password.PasswordCharacterSet
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.panteleyev.commons.xml.SerializationOption
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.panteleyev.commons.password.PasswordCharacterSet
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.panteleyev.commons.xml.SerializationOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
X
- XMLEventReaderWrapper - Class in org.panteleyev.commons.xml
-
Convenience wrapper for
XMLEventReaderinstances. - XMLEventWrapper - Class in org.panteleyev.commons.xml
-
Convenience wrapper for
XMLEventinstances. - XMLStreamWriterWrapper - Class in org.panteleyev.commons.xml
-
Convenience wrapper for
XMLStreamWriterinstances.
All Classes and Interfaces|All Packages