Class JsonConfigurationReader
java.lang.Object
org.infinispan.commons.configuration.io.AbstractConfigurationReader
org.infinispan.commons.configuration.io.json.JsonConfigurationReader
- All Implemented Interfaces:
- AutoCloseable,- ConfigurationReader
- Since:
- 12.1
- Author:
- Tristan Tarrant <tristan@infinispan.org>
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.infinispan.commons.configuration.io.ConfigurationReaderConfigurationReader.Builder, ConfigurationReader.ElementType
- 
Field SummaryFields inherited from class org.infinispan.commons.configuration.io.AbstractConfigurationReadernamingStrategy
- 
Constructor SummaryConstructorsConstructorDescriptionJsonConfigurationReader(BufferedReader reader, ConfigurationResourceResolver resourceResolver, Properties properties, PropertyReplacer replacer, NamingStrategy namingStrategy) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voidintgetAttributeName(int index, NamingStrategy strategy) getAttributeNamespace(int index) getAttributeValue(int index) getAttributeValue(String name, NamingStrategy strategy) String[]getListAttributeValue(int index) Get the value of an attribute as a space-delimited string list.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.AbstractConfigurationReadergetAttributeName, getAttributeValue, getLocalName, getMapItem, getName, getNamingStrategy, getProperties, getProperty, getResourceResolver, getSchema, handleAny, handleAttribute, readArray, replaceProperties, setSchemaMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.configuration.io.ConfigurationReadergetAttributeValue, getAttributeValue, inTag, inTag, inTag, require, require, setAttributeValue
- 
Constructor Details- 
JsonConfigurationReaderpublic JsonConfigurationReader(BufferedReader reader, ConfigurationResourceResolver resourceResolver, Properties properties, PropertyReplacer replacer, NamingStrategy namingStrategy) 
 
- 
- 
Method Details- 
nextElement- Returns:
- the next element
 
- 
getLocation
- 
getAttributeName
- 
getLocalName
- 
getAttributeNamespace
- 
getAttributeValue
- 
getListAttributeValueDescription copied from interface:ConfigurationReaderGet the value of an attribute as a space-delimited string list.- Parameters:
- index- the index of the attribute
 
- 
getAttributeValue
- 
getElementText
- 
getNamespace
- 
hasNextpublic boolean hasNext()
- 
getAttributeCountpublic int getAttributeCount()
- 
require
- 
getMapItem
- 
endMapItempublic void endMapItem()
- 
readArray
- 
hasFeature
- 
closepublic void close()
- 
setAttributeValue
 
-