1 7 package org.jboss.xb.binding.metadata.unmarshalling; 8 9 import org.jboss.xb.binding.metadata.unmarshalling.impl.DocumentBindingFactoryImpl; 10 11 15 public abstract class DocumentBindingFactory 16 { 17 public static DocumentBindingFactory newInstance() 18 { 19 return new DocumentBindingFactoryImpl(); 20 } 21 22 public abstract DocumentBindingStack newDocumentBindingStack(); 23 24 public abstract DocumentBinding newDocumentBinding(); 25 26 public abstract NamespaceBinding bindNamespace(DocumentBinding doc, String namespaceUri, String javaPackage); 27 28 public abstract TopElementBinding bindTopElement(NamespaceBinding ns, String elementName, Class javaClass); 29 30 public abstract ElementBinding bindElement(BasicElementBinding parent, 31 String namespaceUri, 32 String elementName, 33 String fieldName, 34 Class javaType); 35 36 public abstract AttributeBinding bindAttribute(BasicElementBinding parent, 37 String namespaceUri, 38 String attributeName, 39 String fieldName, 40 Class javaType); 41 42 public abstract XmlValueBinding bindValue(XmlValueContainer container, 43 String fieldName, 44 Class javaType); 45 } 46 | Popular Tags |