1 28 29 package org.jibx.binding.def; 30 31 import org.jibx.binding.classes.ContextMethodBuilder; 32 import org.jibx.runtime.JiBXException; 33 34 41 42 public interface IComponent 43 { 44 49 50 public boolean isOptional(); 51 52 59 60 public boolean hasAttribute(); 61 62 72 73 public void genAttrPresentTest(ContextMethodBuilder mb) 74 throws JiBXException; 75 76 86 87 public void genAttributeUnmarshal(ContextMethodBuilder mb) 88 throws JiBXException; 89 90 100 101 public void genAttributeMarshal(ContextMethodBuilder mb) 102 throws JiBXException; 103 104 112 113 public boolean hasContent(); 114 115 125 126 public void genContentPresentTest(ContextMethodBuilder mb) 127 throws JiBXException; 128 129 139 140 public void genContentUnmarshal(ContextMethodBuilder mb) 141 throws JiBXException; 142 143 153 154 public void genContentMarshal(ContextMethodBuilder mb) throws JiBXException; 155 156 166 167 public void genNewInstance(ContextMethodBuilder mb) throws JiBXException; 168 169 174 175 public String getType(); 176 177 183 184 public boolean hasId(); 185 186 195 196 public void genLoadId(ContextMethodBuilder mb) throws JiBXException; 197 198 207 208 public boolean checkContentSequence(boolean text) throws JiBXException; 209 210 221 222 public void setLinkages() throws JiBXException; 223 224 public void print(int depth); 226 } 227 | Popular Tags |