Class YamlConfigurationReader
java.lang.Object
org.infinispan.commons.configuration.io.AbstractConfigurationReader
org.infinispan.commons.configuration.io.yaml.YamlConfigurationReader
- All Implemented Interfaces:
AutoCloseable,ConfigurationReader
- Since:
- 12.1
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.infinispan.commons.configuration.io.ConfigurationReader
ConfigurationReader.Builder, ConfigurationReader.ElementType -
Field Summary
Fields inherited from class org.infinispan.commons.configuration.io.AbstractConfigurationReader
namingStrategy -
Constructor Summary
ConstructorsConstructorDescriptionYamlConfigurationReader(Reader reader, ConfigurationResourceResolver resolver, Properties properties, PropertyReplacer replacer, NamingStrategy namingStrategy) -
Method Summary
Modifier and TypeMethodDescriptionasMap()voidclose()voidintgetAttributeName(int index, NamingStrategy strategy) getAttributeNamespace(int index) getAttributeValue(int index) getAttributeValue(String localName, NamingStrategy strategy) getLocalName(NamingStrategy strategy) getMapItem(String nameAttribute) booleanhasFeature(ConfigurationFormatFeature feature) booleanhasNext()String[]voidrequire(ConfigurationReader.ElementType type, String namespace, String name) voidsetAttributeValue(String namespace, String name, String value) Methods inherited from class org.infinispan.commons.configuration.io.AbstractConfigurationReader
getAttributeName, getAttributeValue, getLocalName, getMapItem, getName, getNamingStrategy, getProperties, getProperty, getResourceResolver, getSchema, handleAny, handleAttribute, readArray, replaceProperties, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.configuration.io.ConfigurationReader
getAttributeValue, getAttributeValue, getListAttributeValue, inTag, inTag, inTag, require, require, setAttributeValue
-
Constructor Details
-
YamlConfigurationReader
public YamlConfigurationReader(Reader reader, ConfigurationResourceResolver resolver, Properties properties, PropertyReplacer replacer, NamingStrategy namingStrategy)
-
-
Method Details
-
nextElement
- Returns:
- the next element
-
getLocation
-
getAttributeName
-
getAttributeNamespace
-
getAttributeValue
-
getAttributeValue
-
getElementText
-
getLocalName
-
getNamespace
-
hasNext
public boolean hasNext() -
getAttributeCount
public int getAttributeCount() -
getMapItem
-
endMapItem
public void endMapItem() -
readArray
-
require
-
hasFeature
-
close
public void close() -
setAttributeValue
-
asMap
-