1 23 24 package org.enhydra.xml.xmlc.dom; 25 26 import org.enhydra.xml.xmlc.codegen.JavaClass; 27 import org.enhydra.xml.xmlc.codegen.JavaCode; 28 import org.enhydra.xml.xmlc.codegen.JavaMethod; 29 import org.enhydra.xml.xmlc.compiler.ElementInfo; 30 31 34 public interface AccessorGenerator { 35 46 public void createAccessMethodInit(ElementInfo elementInfo, 47 String elementVarName, 48 JavaCode body); 49 50 58 public void createNullElementAccess(ElementInfo elementInfo, 59 JavaCode body); 60 61 70 public void createResetElementAccess(ElementInfo elementInfo, 71 String nodeVarName, 72 JavaCode body); 73 74 84 public JavaMethod createAccessorMethod(ElementInfo elementInfo, 85 ElementInfo.AccessorInfo accessor, 86 boolean createDelegation, 87 JavaClass docClass); 88 89 98 public JavaMethod createSetTextMethod(ElementInfo elementInfo, 99 boolean createDelegation, 100 JavaClass docClass); 101 } 102 | Popular Tags |