1 28 29 package org.jibx.binding.def; 30 31 import org.jibx.binding.classes.*; 32 import org.jibx.runtime.JiBXException; 33 34 41 42 public interface IMapping extends IComponent 43 { 44 49 public String getBoundType(); 50 51 58 public IComponent getImplComponent(); 59 60 66 public ClassFile getMarshaller() throws JiBXException; 67 68 74 public ClassFile getUnmarshaller() throws JiBXException; 75 76 82 public NameDefinition getName(); 83 84 89 public int getIndex(); 90 91 98 public void addNamespace(NamespaceDefinition ns) throws JiBXException; 99 100 106 public boolean isAbstract(); 107 108 114 public void addExtension(MappingDefinition mdef); 115 116 127 public IComponent buildRef(IContainer parent, IContextObj objc, String type, 128 PropertyDefinition prop) throws JiBXException; 129 130 135 public void generateCode() throws JiBXException; 136 } | Popular Tags |