1 55 56 57 package org.jboss.axis.encoding; 58 59 import org.jboss.axis.MessageContext; 60 import org.jboss.axis.message.IDResolver; 61 import org.jboss.axis.message.SAX2EventRecorder; 62 import org.jboss.axis.message.SOAPElementAxisImpl; 63 import org.jboss.axis.message.SOAPEnvelopeAxisImpl; 64 import org.jboss.axis.message.SOAPHandler; 65 import org.xml.sax.Attributes ; 66 import org.xml.sax.SAXException ; 67 68 import javax.xml.namespace.QName ; 69 import java.util.ArrayList ; 70 71 75 76 public interface DeserializationContext extends javax.xml.rpc.encoding.DeserializationContext 77 { 78 79 82 public void parse() throws SAXException ; 83 84 87 public SOAPElementAxisImpl getCurElement(); 88 89 92 public void setCurElement(SOAPElementAxisImpl el); 93 94 97 public MessageContext getMessageContext(); 98 99 102 public SOAPEnvelopeAxisImpl getEnvelope(); 103 104 107 public SAX2EventRecorder getRecorder(); 108 109 112 public void setRecorder(SAX2EventRecorder recorder); 113 114 117 public ArrayList getCurrentNSMappings(); 118 119 122 public String getNamespaceURI(String prefix); 123 124 130 public QName getQNameFromString(String qNameStr); 131 132 140 public QName getTypeFromXSITypeAttr(String namespace, String localName, 141 Attributes attrs); 142 143 151 public QName getTypeFromAttributes(String namespace, String localName, 152 Attributes attrs); 153 154 161 public boolean isNil(Attributes attrs); 162 163 167 public Deserializer getDeserializer(Class cls, QName xmlType); 168 169 176 public Deserializer getDeserializerForType(QName xmlType); 177 178 185 public Deserializer getDeserializerForClass(Class cls); 186 187 190 public TypeMapping getTypeMapping(); 191 192 197 public TypeMappingRegistry getTypeMappingRegistry(); 198 199 208 public SOAPElementAxisImpl getElementByID(String id); 209 210 220 public Object getObjectByRef(String href); 221 222 231 public void addObjectById(String _id, Object obj); 232 233 245 public void registerFixup(String href, Deserializer dser); 246 247 248 259 public void registerElementByID(String id, SOAPElementAxisImpl elem); 260 261 265 public void registerResolverForID(String id, IDResolver resolver); 266 267 270 public int getCurrentRecordPos(); 271 272 275 public int getStartOfMappingsPos(); 276 277 280 public void pushNewElement(SOAPElementAxisImpl elem); 281 282 285 public void pushElementHandler(SOAPHandler handler); 286 287 public void replaceElementHandler(SOAPHandler handler); 288 289 public SOAPHandler popElementHandler(); 290 291 294 public boolean isDoneParsing(); 295 296 302 void setProcessingRef(boolean ref); 303 304 310 boolean isProcessingRef(); 311 } 312 313 314 | Popular Tags |