Package org.apache.any23.vocab
Class YAML
- java.lang.Object
-
- org.apache.any23.vocab.Vocabulary
-
- org.apache.any23.vocab.YAML
-
public class YAML extends Vocabulary
This vocabulary describes model of the yaml file.- Author:
- Jacek Grzebyta (grzebyta.dev [at] gmail.com)
-
-
Field Summary
Fields Modifier and Type Field Description org.eclipse.rdf4j.model.IRIcontainsstatic StringCONTAINSorg.eclipse.rdf4j.model.IRIdocumentstatic StringDOCUMENTorg.eclipse.rdf4j.model.IRImappingstatic StringMAPPINGorg.eclipse.rdf4j.model.IRInodestatic StringNODEstatic StringNSstatic StringNULLorg.eclipse.rdf4j.model.IRInullValuestatic StringPREFIXorg.eclipse.rdf4j.model.IRIrootThe root node.static StringROOTorg.eclipse.rdf4j.model.IRIsequencestatic StringSEQUENCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static YAMLgetInstance()-
Methods inherited from class org.apache.any23.vocab.Vocabulary
createClass, createIRI, createProperty, getClass, getClasses, getCommentFor, getComments, getNamespace, getProperties, getProperty, getProperty, getPropertyCamelCase
-
-
-
-
Field Detail
-
NS
public static final String NS
- See Also:
- Constant Field Values
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
ROOT
public static final String ROOT
- See Also:
- Constant Field Values
-
DOCUMENT
public static final String DOCUMENT
- See Also:
- Constant Field Values
-
NODE
public static final String NODE
- See Also:
- Constant Field Values
-
SEQUENCE
public static final String SEQUENCE
- See Also:
- Constant Field Values
-
MAPPING
public static final String MAPPING
- See Also:
- Constant Field Values
-
CONTAINS
public static final String CONTAINS
- See Also:
- Constant Field Values
-
NULL
public static final String NULL
- See Also:
- Constant Field Values
-
root
public final org.eclipse.rdf4j.model.IRI root
The root node. Representation of the YAML file. NB: one file may contain more than one documents represented by nodes; e.g.
Contains two documents.%YAML 1.2 --- - data1 - data2 --- - data3
-
document
public final org.eclipse.rdf4j.model.IRI document
-
node
public final org.eclipse.rdf4j.model.IRI node
-
sequence
public final org.eclipse.rdf4j.model.IRI sequence
-
mapping
public final org.eclipse.rdf4j.model.IRI mapping
-
contains
public final org.eclipse.rdf4j.model.IRI contains
-
nullValue
public final org.eclipse.rdf4j.model.IRI nullValue
-
-
Method Detail
-
getInstance
public static YAML getInstance()
-
-