1 28 package org.jvyamlb.tokens; 29 30 33 public abstract class Token { 34 public final static Token DOCUMENT_START = new DocumentStartToken(); 35 public final static Token DOCUMENT_END = new DocumentEndToken(); 36 public final static Token BLOCK_MAPPING_START = new BlockMappingStartToken(); 37 public final static Token BLOCK_SEQUENCE_START = new BlockSequenceStartToken(); 38 public final static Token BLOCK_ENTRY = new BlockEntryToken(); 39 public final static Token BLOCK_END = new BlockEndToken(); 40 public final static Token FLOW_ENTRY = new FlowEntryToken(); 41 public final static Token FLOW_MAPPING_END = new FlowMappingEndToken(); 42 public final static Token FLOW_MAPPING_START = new FlowMappingStartToken(); 43 public final static Token FLOW_SEQUENCE_END = new FlowSequenceEndToken(); 44 public final static Token FLOW_SEQUENCE_START = new FlowSequenceStartToken(); 45 public final static Token KEY = new KeyToken(); 46 public final static Token VALUE = new ValueToken(); 47 public final static Token STREAM_END = new StreamEndToken(); 48 public final static Token STREAM_START = new StreamStartToken(); 49 50 public Token() { 51 } 52 53 public void setValue(final Object value) { 54 } 55 56 public String toString() { 57 return "#<" + this.getClass().getName() + ">"; 58 } 59 } | Popular Tags |