Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 12 package org.openbravo.xmlEngine; 13 14 17 class AttributeComponentValue implements XmlComponentValue { 18 protected AttributeComponentTemplate attributeComponentTemplate; 19 private FunctionValue functionValue = null; 21 private XmlComponentValue xmlComponentValue = null; 22 23 24 public AttributeComponentValue(AttributeComponentTemplate attributeComponentTemplate, XmlDocument xmlDocument) { 25 this.attributeComponentTemplate = attributeComponentTemplate; 26 if (attributeComponentTemplate.functionTemplate() != null) { 27 functionValue = attributeComponentTemplate.functionTemplate().createFunctionValue(xmlDocument); 28 xmlComponentValue = functionValue; 29 } 30 } 31 32 public String print() { 33 return xmlComponentValue.print(); 34 } 35 36 public String printPrevious() { 37 return xmlComponentValue.printPrevious(); 38 } 39 40 public String printSimple() { 41 return xmlComponentValue.printSimple(); 42 } 43 44 public String printPreviousSimple() { 45 return xmlComponentValue.printPreviousSimple(); 46 } 47 48 } 49
| Popular Tags
|