Package hydra.shex.syntax
Class ShapeAtom
- java.lang.Object
-
- hydra.shex.syntax.ShapeAtom
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ShapeAtom>
- Direct Known Subclasses:
ShapeAtom.Period,ShapeAtom.Seq,ShapeAtom.Sequence2,ShapeAtom.ShapeOrRef
public abstract class ShapeAtom extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ShapeAtom>
A component of the ShEx ShapeAtom production- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShapeAtom.PartialVisitor<R>Partial visitor overShapeAtomwith a defaultShapeAtom.PartialVisitor.otherwise(hydra.shex.syntax.ShapeAtom)branch.static classShapeAtom.Periodstatic classShapeAtom.Seqstatic classShapeAtom.Sequence2static classShapeAtom.ShapeOrRefstatic interfaceShapeAtom.Visitor<R>Visitor overShapeAtom.
-
Field Summary
Fields Modifier and Type Field Description static NamePERIODName of thehydra.shex.syntax.ShapeAtom.Periodfield.static NameSEQName of thehydra.shex.syntax.ShapeAtom.seqfield.static NameSEQUENCE2Name of thehydra.shex.syntax.ShapeAtom.sequence2field.static NameSHAPE_OR_REFName of thehydra.shex.syntax.ShapeAtom.ShapeOrReffield.static NameTYPE_Name of thehydra.shex.syntax.ShapeAtomtype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(ShapeAtom.Visitor<R> visitor)Dispatch tovisitor.abstract inthydraOrdinal()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.shex.syntax.ShapeAtomtype.
-
SEQ
public static final Name SEQ
Name of thehydra.shex.syntax.ShapeAtom.seqfield.
-
SHAPE_OR_REF
public static final Name SHAPE_OR_REF
Name of thehydra.shex.syntax.ShapeAtom.ShapeOrReffield.
-
SEQUENCE2
public static final Name SEQUENCE2
Name of thehydra.shex.syntax.ShapeAtom.sequence2field.
-
PERIOD
public static final Name PERIOD
Name of thehydra.shex.syntax.ShapeAtom.Periodfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(ShapeAtom.Visitor<R> visitor)
Dispatch tovisitor.
-
hydraOrdinal
public abstract int hydraOrdinal()
-
-