Interface MountPointChild
-
- All Known Implementing Classes:
AbstractMountPointChild
@Beta @NonNullByDefault public interface MountPointChild
An unresolved child within a mount point. This is similar in functionality toNormalizableAnydata
, but rather than normalizing, the data is fed into a combination of a EffectiveModelContext and NormalizedNodeStreamWriter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NormalizedNode
normalizeTo(EffectiveModelContext schemaContext)
Normalized this child to a particular EffectiveModelContext.void
writeTo(NormalizedNodeStreamWriter writer, MountPointContext mountCtx)
Stream this child into a writer, with the help of a SchemaContext.
-
-
-
Method Detail
-
writeTo
void writeTo(NormalizedNodeStreamWriter writer, MountPointContext mountCtx) throws IOException
Stream this child into a writer, with the help of a SchemaContext.- Parameters:
writer
- Writer to emit the child intomountCtx
- MountPointContext for normalization purposes- Throws:
IOException
- if an underlying error occursNullPointerException
- if any of the arguments is null
-
normalizeTo
NormalizedNode normalizeTo(EffectiveModelContext schemaContext) throws IOException
Normalized this child to a particular EffectiveModelContext.- Parameters:
schemaContext
- SchemaContext for normalization purposes- Returns:
- A NormalizedNode representation of this child
- Throws:
IOException
- if an underlying error occursNullPointerException
- if any of the arguments is null
-
-