Package | Description |
---|---|
org.g_node.nix | |
org.g_node.nix.base | |
org.g_node.nix.internal | |
org.g_node.nix.valid |
Modifier and Type | Method and Description |
---|---|
Section |
File.createSection(String name,
String type)
Creates a new Section with a given name and type.
|
Section |
Section.createSection(String name,
String type)
Adds a new child section.
|
Section |
Section.getLink()
Get the linked section.
|
Section |
Source.getMetadata()
Get metadata associated with this entity.
|
Section |
Group.getMetadata()
Get metadata associated with this entity.
|
Section |
MultiTag.getMetadata()
Get metadata associated with this entity.
|
Section |
Block.getMetadata()
Get metadata associated with this entity.
|
Section |
DataArray.getMetadata()
Get metadata associated with this entity.
|
Section |
Tag.getMetadata()
Get metadata associated with this entity.
|
Section |
Section.getParent()
Returns the parent section.
|
Section |
File.getSection(long index)
Get root section with a given index/position.
|
Section |
Section.getSection(long index)
Get a child section by its index.
|
Section |
File.getSection(String nameOrId)
Get a root section with the given name/id.
|
Section |
Section.getSection(String nameOrId)
Get a specific child section by its name or id.
|
Modifier and Type | Method and Description |
---|---|
List<Section> |
Section.findRelated()
Find all related sections of the section.
|
List<Section> |
Section.findRelated(java.util.function.Predicate<Section> filter)
Find all related sections of the section.
|
List<Section> |
Section.findSections()
Get all descendant sections of the section recursively.
|
List<Section> |
File.findSections(int maxDepth)
Get all sections in this file recursively.
|
List<Section> |
Section.findSections(int maxDepth)
Get all descendant sections of the section recursively.
|
List<Section> |
Section.findSections(java.util.function.Predicate<Section> filter)
Get all descendant sections of the section recursively.
|
List<Section> |
File.findSections(java.util.function.Predicate<Section> filter,
int maxDepth)
Get all sections in this file recursively.
|
List<Section> |
Section.findSections(java.util.function.Predicate<Section> filter,
int maxDepth)
Get all descendant sections of the section recursively.
|
List<Section> |
File.getSections()
Get all root sections within this file.
|
List<Section> |
Section.getSections()
Get all direct child sections of the section.
|
List<Section> |
File.getSections(java.util.function.Predicate<Section> filter)
Get all root sections within this file.
|
List<Section> |
Section.getSections(java.util.function.Predicate<Section> filter)
Get all direct child sections of the section.
|
Modifier and Type | Method and Description |
---|---|
boolean |
File.deleteSection(Section section)
Deletes the Section.
|
boolean |
Section.deleteSection(Section section)
Deletes a subsection from this Section.
|
boolean |
File.hasSection(Section section)
Check if a specific root section exists in the file.
|
boolean |
Section.hasSection(Section section)
Checks whether a section has a certain child section.
|
void |
Section.setLink(Section link)
Establish a link to another section.
|
void |
Source.setMetadata(Section metadata)
Associate the entity with some metadata.
|
void |
Group.setMetadata(Section metadata)
Associate the entity with some metadata.
|
void |
MultiTag.setMetadata(Section metadata)
Associate the entity with some metadata.
|
void |
Block.setMetadata(Section metadata)
Associate the entity with some metadata.
|
void |
DataArray.setMetadata(Section metadata)
Associate the entity with some metadata.
|
void |
Tag.setMetadata(Section metadata)
Associate the entity with some metadata.
|
Modifier and Type | Method and Description |
---|---|
List<Section> |
Section.findRelated(java.util.function.Predicate<Section> filter)
Find all related sections of the section.
|
List<Section> |
Section.findSections(java.util.function.Predicate<Section> filter)
Get all descendant sections of the section recursively.
|
List<Section> |
File.findSections(java.util.function.Predicate<Section> filter,
int maxDepth)
Get all sections in this file recursively.
|
List<Section> |
Section.findSections(java.util.function.Predicate<Section> filter,
int maxDepth)
Get all descendant sections of the section recursively.
|
List<Section> |
File.getSections(java.util.function.Predicate<Section> filter)
Get all root sections within this file.
|
List<Section> |
Section.getSections(java.util.function.Predicate<Section> filter)
Get all direct child sections of the section.
|
Modifier and Type | Method and Description |
---|---|
abstract Section |
EntityWithMetadata.getMetadata()
Get metadata associated with this entity.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
EntityWithMetadata.setMetadata(Section metadata)
Associate the entity with some metadata.
|
Modifier and Type | Method and Description |
---|---|
List<Section> |
VectorUtils.SectionVector.getSections()
Get sections.
|
Constructor and Description |
---|
SectionVector(List<Section> lst)
Set sections.
|
Modifier and Type | Method and Description |
---|---|
static Result |
Validator.validate(Section section)
Section entity validator
Function taking a Section entity and returning
Result object |
Copyright © 2016. All rights reserved.