1 package org.enhydra.shark.xpdl.elements; 2 3 import org.enhydra.shark.xpdl.XMLAttribute; 4 import org.enhydra.shark.xpdl.XMLComplexElement; 5 6 11 public class ExternalPackage extends XMLComplexElement { 12 13 public ExternalPackage (ExternalPackages parent) { 14 super(parent, true); 15 } 16 17 protected void fillStructure () { 18 XMLAttribute attrHref=new XMLAttribute(this,"href", true); 19 ExtendedAttributes refExtendedAttributes=new ExtendedAttributes(this); 21 add(attrHref); 22 add(refExtendedAttributes); 23 } 24 25 public String getHref() { 26 return get("href").toValue(); 27 } 28 public void setHref(String href) { 29 set("href",href); 30 } 31 public ExtendedAttributes getExtendedAttributes() { 32 return (ExtendedAttributes)get("ExtendedAttributes"); 33 } 34 } 35 | Popular Tags |