public static class UpdateVersionsMojo.SimpleFeatureJSONWriter
extends org.apache.sling.feature.io.json.FeatureJSONWriter
Modifier and Type | Method and Description |
---|---|
protected javax.json.stream.JsonGenerator |
newGenerator(Writer arg0) |
static void |
write(Writer writer,
org.apache.sling.feature.Feature feature)
Writes the feature to the writer.
|
protected void |
writeBundles(javax.json.stream.JsonGenerator arg0,
org.apache.sling.feature.Bundles arg1,
org.apache.sling.feature.Configurations arg2) |
protected void |
writeCapabilities(javax.json.stream.JsonGenerator arg0,
List<org.osgi.resource.Capability> arg1) |
protected void |
writeConfigurations(javax.json.stream.JsonGenerator arg0,
org.apache.sling.feature.Configurations arg1) |
protected void |
writeExtensions(javax.json.stream.JsonGenerator arg0,
List<org.apache.sling.feature.Extension> arg1,
org.apache.sling.feature.Configurations arg2) |
protected void |
writeFeatureId(javax.json.stream.JsonGenerator generator,
org.apache.sling.feature.Feature feature) |
protected void |
writeFrameworkProperties(javax.json.stream.JsonGenerator arg0,
Map<String,String> arg1) |
protected <T> void |
writeList(javax.json.stream.JsonGenerator arg0,
String arg1,
Collection<T> arg2) |
protected void |
writeProperty(javax.json.stream.JsonGenerator arg0,
String arg1,
String arg2) |
protected void |
writePrototype(javax.json.stream.JsonGenerator arg0,
org.apache.sling.feature.Prototype arg1) |
protected void |
writeRequirements(javax.json.stream.JsonGenerator arg0,
List<org.apache.sling.feature.MatchingRequirement> arg1) |
protected void |
writeVariables(javax.json.stream.JsonGenerator arg0,
Map<String,String> arg1) |
public static void write(Writer writer, org.apache.sling.feature.Feature feature) throws IOException
writer
- Writerfeature
- FeatureIOException
- If writing failsprotected void writeFeatureId(javax.json.stream.JsonGenerator generator, org.apache.sling.feature.Feature feature)
writeFeatureId
in class org.apache.sling.feature.io.json.FeatureJSONWriter
protected final javax.json.stream.JsonGenerator newGenerator(Writer arg0)
protected void writeBundles(javax.json.stream.JsonGenerator arg0, org.apache.sling.feature.Bundles arg1, org.apache.sling.feature.Configurations arg2)
protected void writeConfigurations(javax.json.stream.JsonGenerator arg0, org.apache.sling.feature.Configurations arg1)
protected void writeVariables(javax.json.stream.JsonGenerator arg0, Map<String,String> arg1)
protected void writeFrameworkProperties(javax.json.stream.JsonGenerator arg0, Map<String,String> arg1)
protected void writeExtensions(javax.json.stream.JsonGenerator arg0, List<org.apache.sling.feature.Extension> arg1, org.apache.sling.feature.Configurations arg2)
protected void writeProperty(javax.json.stream.JsonGenerator arg0, String arg1, String arg2)
protected <T> void writeList(javax.json.stream.JsonGenerator arg0, String arg1, Collection<T> arg2)
protected void writePrototype(javax.json.stream.JsonGenerator arg0, org.apache.sling.feature.Prototype arg1)
protected void writeRequirements(javax.json.stream.JsonGenerator arg0, List<org.apache.sling.feature.MatchingRequirement> arg1)
protected void writeCapabilities(javax.json.stream.JsonGenerator arg0, List<org.osgi.resource.Capability> arg1)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.