1 38 39 package org.jvnet.fastinfoset; 40 41 import java.util.Map ; 42 43 47 public interface FastInfosetParser { 48 53 public static final String STRING_INTERNING_PROPERTY = 54 "http://jvnet.org/fastinfoset/parser/properties/string-interning"; 55 56 60 public static final String BUFFER_SIZE_PROPERTY = 61 "http://jvnet.org/fastinfoset/parser/properties/buffer-size"; 62 63 68 public static final String REGISTERED_ENCODING_ALGORITHMS_PROPERTY = 69 "http://jvnet.org/fastinfoset/parser/properties/registered-encoding-algorithms"; 70 71 76 public static final String EXTERNAL_VOCABULARIES_PROPERTY = 77 "http://jvnet.org/fastinfoset/parser/properties/external-vocabularies"; 78 79 80 90 public void setStringInterning(boolean stringInterning); 91 92 97 public boolean getStringInterning(); 98 99 108 public void setBufferSize(int bufferSize); 109 110 111 116 public int getBufferSize(); 117 118 119 124 public void setRegisteredEncodingAlgorithms(Map algorithms); 125 126 131 public Map getRegisteredEncodingAlgorithms(); 132 133 134 135 137 139 public void setExternalVocabularies(Map referencedVocabualries); 140 141 public void setDynamicVocabulary(Vocabulary v); 142 143 144 146 public ReferencedVocabulary getExternalVocabulary(); 147 148 public Vocabulary getIntitialVocabulary(); 149 150 public Vocabulary getDynamicVocabulary(); 151 152 public Vocabulary getFinalVocabulary(); 153 } 154 | Popular Tags |