1 38 39 40 package org.jvnet.fastinfoset; 41 42 import java.util.Map ; 43 44 48 public interface FastInfosetSerializer { 49 53 public final static int CHARACTER_CONTENT_CHUNK_SIZE_CONSTRAINT = 7; 54 55 59 public final static int ATTRIBUTE_VALUE_SIZE_CONSTRAINT = 7; 60 61 64 public static final String UTF_8 = "UTF-8"; 65 66 69 public static final String UTF_16BE = "UTF-16BE"; 70 71 81 public void setCharacterEncodingScheme(String characterEncodingScheme); 82 83 88 public String getCharacterEncodingScheme(); 89 90 95 public void setRegisteredEncodingAlgorithms(Map algorithms); 96 97 102 public Map getRegisteredEncodingAlgorithms(); 103 104 111 public void setCharacterContentChunkSizeLimit(int size); 112 113 119 public int getCharacterContentChunkSizeLimit(); 120 121 128 public void setAttributeValueSizeLimit(int size); 129 130 136 public int getAttributeValueSizeLimit(); 137 138 139 141 public void setExternalVocabulary(ReferencedVocabulary referencedVocabulary); 142 143 public void setIntitialVocabulary(Vocabulary initialVocabulary); 144 145 public void setDynamicVocabulary(Vocabulary dynamicVocabulary); 146 147 148 150 public Vocabulary getDynamicVocabulary(); 151 152 public Vocabulary getFinalVocabulary(); 153 } 154 | Popular Tags |