Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   //
   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
   // Any modifications to this file will be lost upon recompilation of the source schema. 
   // Generated on: 2015.04.16 at 07:22:02 AM CEST 
   //
   
   
   package net.opengis.arml.v_2_0;
  
  import java.util.List;

Java class for ArmlType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ArmlType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ARElements">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element ref="{http://www.opengis.net/arml/2.0}ARElement" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="style" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute ref="{http://www.w3.org/1999/xlink}href"/>
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="script" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute ref="{http://www.w3.org/1999/xlink}href"/>
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  
  @XmlType(name = "ArmlType", propOrder = {
      "arElements",
      "style",
      "script"
  })
  public class ArmlType
      implements CloneableCopyToEqualsHashCodeMergeFromToString
  {
  
     @XmlElement(name = "ARElements", required = true)
     protected ArmlType.ARElements arElements;
     protected List<ArmlType.Stylestyle;
     protected List<ArmlType.Scriptscript;

    
Gets the value of the arElements property.

Returns:
possible object is
 
     public ArmlType.ARElements getARElements() {
         return ;
     }

    
Sets the value of the arElements property.

Parameters:
value allowed object is
 
     public void setARElements(ArmlType.ARElements value) {
         this. = value;
     }

    
Gets the value of the style property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the style property.

For example, to add a new item, do as follows:

    getStyle().add(newItem);
 

Objects of the following type(s) are allowed in the list

 
     public List<ArmlType.StylegetStyle() {
         if ( == null) {
              = new ArrayList<ArmlType.Style>();
         }
         return this.;
     }

    
Gets the value of the script property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the script property.

For example, to add a new item, do as follows:

    getScript().add(newItem);
 

Objects of the following type(s) are allowed in the list

 
     public List<ArmlType.ScriptgetScript() {
         if ( == null) {
              = new ArrayList<ArmlType.Script>();
         }
         return this.;
     }
 
     public String toString() {
         final ToStringStrategy strategy = .;
         final StringBuilder buffer = new StringBuilder();
         append(nullbufferstrategy);
         return buffer.toString();
     }
 
     public StringBuilder append(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
         strategy.appendStart(locatorthisbuffer);
         appendFields(locatorbufferstrategy);
         strategy.appendEnd(locatorthisbuffer);
         return buffer;
     }
 
     public StringBuilder appendFields(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
         {
             ArmlType.ARElements theARElements;
             theARElements = this.getARElements();
             strategy.appendField(locatorthis"arElements"buffertheARElements);
         }
         {
             List<ArmlType.StyletheStyle;
             theStyle = (((this.!= null)&&(!this..isEmpty()))?this.getStyle():null);
             strategy.appendField(locatorthis"style"buffertheStyle);
         }
         {
             List<ArmlType.ScripttheScript;
             theScript = (((this.!= null)&&(!this..isEmpty()))?this.getScript():null);
             strategy.appendField(locatorthis"script"buffertheScript);
         }
         return buffer;
     }
 
     public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
         if (!(object instanceof ArmlType)) {
             return false;
         }
         if (this == object) {
             return true;
         }
         final ArmlType that = ((ArmlTypeobject);
         {
             ArmlType.ARElements lhsARElements;
             lhsARElements = this.getARElements();
             ArmlType.ARElements rhsARElements;
             rhsARElements = that.getARElements();
             if (!strategy.equals(LocatorUtils.property(thisLocator"arElements"lhsARElements), LocatorUtils.property(thatLocator"arElements"rhsARElements), lhsARElementsrhsARElements)) {
                 return false;
             }
         }
         {
             List<ArmlType.StylelhsStyle;
             lhsStyle = (((this.!= null)&&(!this..isEmpty()))?this.getStyle():null);
             List<ArmlType.StylerhsStyle;
             rhsStyle = (((that.style!= null)&&(!that.style.isEmpty()))?that.getStyle():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"style"lhsStyle), LocatorUtils.property(thatLocator"style"rhsStyle), lhsStylerhsStyle)) {
                 return false;
             }
         }
         {
             List<ArmlType.ScriptlhsScript;
             lhsScript = (((this.!= null)&&(!this..isEmpty()))?this.getScript():null);
             List<ArmlType.ScriptrhsScript;
             rhsScript = (((that.script!= null)&&(!that.script.isEmpty()))?that.getScript():null);
             if (!strategy.equals(LocatorUtils.property(thisLocator"script"lhsScript), LocatorUtils.property(thatLocator"script"rhsScript), lhsScriptrhsScript)) {
                 return false;
             }
         }
         return true;
     }
 
     public boolean equals(Object object) {
         final EqualsStrategy strategy = .;
         return equals(nullnullobjectstrategy);
     }
 
     public int hashCode(ObjectLocator locatorHashCodeStrategy strategy) {
         int currentHashCode = 1;
         {
             ArmlType.ARElements theARElements;
             theARElements = this.getARElements();
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"arElements"theARElements), currentHashCodetheARElements);
         }
         {
             List<ArmlType.StyletheStyle;
             theStyle = (((this.!= null)&&(!this..isEmpty()))?this.getStyle():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"style"theStyle), currentHashCodetheStyle);
         }
         {
             List<ArmlType.ScripttheScript;
             theScript = (((this.!= null)&&(!this..isEmpty()))?this.getScript():null);
             currentHashCode = strategy.hashCode(LocatorUtils.property(locator"script"theScript), currentHashCodetheScript);
         }
         return currentHashCode;
     }
 
     public int hashCode() {
         final HashCodeStrategy strategy = .;
         return this.hashCode(nullstrategy);
     }
 
     public Object clone() {
         return copyTo(createNewInstance());
     }
 
     public Object copyTo(Object target) {
         final CopyStrategy strategy = .;
         return copyTo(nulltargetstrategy);
     }
 
     public Object copyTo(ObjectLocator locatorObject targetCopyStrategy strategy) {
         final Object draftCopy = ((target == null)?createNewInstance():target);
         if (draftCopy instanceof ArmlType) {
             final ArmlType copy = ((ArmlTypedraftCopy);
             if (this.!= null) {
                 ArmlType.ARElements sourceARElements;
                 sourceARElements = this.getARElements();
                 ArmlType.ARElements copyARElements = ((ArmlType.ARElementsstrategy.copy(LocatorUtils.property(locator"arElements"sourceARElements), sourceARElements));
                 copy.setARElements(copyARElements);
             } else {
                 copy.arElements = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<ArmlType.StylesourceStyle;
                 sourceStyle = (((this.!= null)&&(!this..isEmpty()))?this.getStyle():null);
                 @SuppressWarnings("unchecked")
                 List<ArmlType.StylecopyStyle = ((List<ArmlType.Style> ) strategy.copy(LocatorUtils.property(locator"style"sourceStyle), sourceStyle));
                 copy.style = null;
                 if (copyStyle!= null) {
                     List<ArmlType.StyleuniqueStylel = copy.getStyle();
                     uniqueStylel.addAll(copyStyle);
                 }
             } else {
                 copy.style = null;
             }
             if ((this.!= null)&&(!this..isEmpty())) {
                 List<ArmlType.ScriptsourceScript;
                 sourceScript = (((this.!= null)&&(!this..isEmpty()))?this.getScript():null);
                 @SuppressWarnings("unchecked")
                 List<ArmlType.ScriptcopyScript = ((List<ArmlType.Script> ) strategy.copy(LocatorUtils.property(locator"script"sourceScript), sourceScript));
                 copy.script = null;
                 if (copyScript!= null) {
                     List<ArmlType.ScriptuniqueScriptl = copy.getScript();
                     uniqueScriptl.addAll(copyScript);
                 }
             } else {
                 copy.script = null;
             }
         }
         return draftCopy;
     }
 
     public Object createNewInstance() {
         return new ArmlType();
     }
 
     public void mergeFrom(Object leftObject right) {
         final MergeStrategy strategy = .;
         mergeFrom(nullnullleftrightstrategy);
     }
 
     public void mergeFrom(ObjectLocator leftLocatorObjectLocator rightLocatorObject leftObject rightMergeStrategy strategy) {
         if (right instanceof ArmlType) {
             final ArmlType target = this;
             final ArmlType leftObject = ((ArmlTypeleft);
             final ArmlType rightObject = ((ArmlTyperight);
             {
                 ArmlType.ARElements lhsARElements;
                 lhsARElements = leftObject.getARElements();
                 ArmlType.ARElements rhsARElements;
                 rhsARElements = rightObject.getARElements();
                 ArmlType.ARElements mergedARElements = ((ArmlType.ARElementsstrategy.merge(LocatorUtils.property(leftLocator"arElements"lhsARElements), LocatorUtils.property(rightLocator"arElements"rhsARElements), lhsARElementsrhsARElements));
                 target.setARElements(mergedARElements);
             }
             {
                 List<ArmlType.StylelhsStyle;
                 lhsStyle = (((leftObject.style!= null)&&(!leftObject.style.isEmpty()))?leftObject.getStyle():null);
                 List<ArmlType.StylerhsStyle;
                 rhsStyle = (((rightObject.style!= null)&&(!rightObject.style.isEmpty()))?rightObject.getStyle():null);
                 List<ArmlType.StylemergedStyle = ((List<ArmlType.Style> ) strategy.merge(LocatorUtils.property(leftLocator"style"lhsStyle), LocatorUtils.property(rightLocator"style"rhsStyle), lhsStylerhsStyle));
                 target.style = null;
                 if (mergedStyle!= null) {
                     List<ArmlType.StyleuniqueStylel = target.getStyle();
                     uniqueStylel.addAll(mergedStyle);
                 }
             }
             {
                 List<ArmlType.ScriptlhsScript;
                 lhsScript = (((leftObject.script!= null)&&(!leftObject.script.isEmpty()))?leftObject.getScript():null);
                 List<ArmlType.ScriptrhsScript;
                 rhsScript = (((rightObject.script!= null)&&(!rightObject.script.isEmpty()))?rightObject.getScript():null);
                 List<ArmlType.ScriptmergedScript = ((List<ArmlType.Script> ) strategy.merge(LocatorUtils.property(leftLocator"script"lhsScript), LocatorUtils.property(rightLocator"script"rhsScript), lhsScriptrhsScript));
                 target.script = null;
                 if (mergedScript!= null) {
                     List<ArmlType.ScriptuniqueScriptl = target.getScript();
                     uniqueScriptl.addAll(mergedScript);
                 }
             }
         }
     }
 
     public void setStyle(List<ArmlType.Stylevalue) {
         this. = null;
         List<ArmlType.Styledraftl = this.getStyle();
         draftl.addAll(value);
     }
 
     public void setScript(List<ArmlType.Scriptvalue) {
         this. = null;
         List<ArmlType.Scriptdraftl = this.getScript();
         draftl.addAll(value);
     }
 
     public ArmlType withARElements(ArmlType.ARElements value) {
         setARElements(value);
         return this;
     }
 
     public ArmlType withStyle(ArmlType.Style... values) {
         if (values!= null) {
             for (ArmlType.Style valuevalues) {
                 getStyle().add(value);
             }
         }
         return this;
     }
 
     public ArmlType withStyle(Collection<ArmlType.Stylevalues) {
         if (values!= null) {
             getStyle().addAll(values);
         }
         return this;
     }
 
     public ArmlType withScript(ArmlType.Script... values) {
         if (values!= null) {
             for (ArmlType.Script valuevalues) {
                 getScript().add(value);
             }
         }
         return this;
     }
 
     public ArmlType withScript(Collection<ArmlType.Scriptvalues) {
         if (values!= null) {
             getScript().addAll(values);
         }
         return this;
     }
 
     public ArmlType withStyle(List<ArmlType.Stylevalue) {
         setStyle(value);
         return this;
     }
 
     public ArmlType withScript(List<ArmlType.Scriptvalue) {
         setScript(value);
         return this;
     }


    

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.opengis.net/arml/2.0}ARElement" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
     @XmlType(name = "", propOrder = {
         "arElement"
     })
     public static class ARElements
         implements CloneableCopyToEqualsHashCodeMergeFromToString
     {
 
         @XmlElementRef(name = "ARElement", namespace = "http://www.opengis.net/arml/2.0", type = JAXBElement.class, required = false)
         protected List<JAXBElement<? extends ARElementType>> arElement;

        
Gets the value of the arElement property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the arElement property.

For example, to add a new item, do as follows:

    getARElement().add(newItem);
 

Objects of the following type(s) are allowed in the list <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <>

 
         public List<JAXBElement<? extends ARElementType>> getARElement() {
             if ( == null) {
                  = new ArrayList<JAXBElement<? extends ARElementType>>();
             }
             return this.;
         }
 
         public String toString() {
             final ToStringStrategy strategy = .;
             final StringBuilder buffer = new StringBuilder();
             append(nullbufferstrategy);
             return buffer.toString();
         }
 
         public StringBuilder append(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
             strategy.appendStart(locatorthisbuffer);
             appendFields(locatorbufferstrategy);
             strategy.appendEnd(locatorthisbuffer);
             return buffer;
         }
 
         public StringBuilder appendFields(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
             {
                 List<JAXBElement<? extends ARElementType>> theARElement;
                 theARElement = (((this.!= null)&&(!this..isEmpty()))?this.getARElement():null);
                 strategy.appendField(locatorthis"arElement"buffertheARElement);
             }
             return buffer;
         }
 
         public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
             if (!(object instanceof ArmlType.ARElements)) {
                 return false;
             }
             if (this == object) {
                 return true;
             }
             final ArmlType.ARElements that = ((ArmlType.ARElementsobject);
             {
                 List<JAXBElement<? extends ARElementType>> lhsARElement;
                 lhsARElement = (((this.!= null)&&(!this..isEmpty()))?this.getARElement():null);
                 List<JAXBElement<? extends ARElementType>> rhsARElement;
                 rhsARElement = (((that.arElement!= null)&&(!that.arElement.isEmpty()))?that.getARElement():null);
                 if (!strategy.equals(LocatorUtils.property(thisLocator"arElement"lhsARElement), LocatorUtils.property(thatLocator"arElement"rhsARElement), lhsARElementrhsARElement)) {
                     return false;
                 }
             }
             return true;
         }
 
         public boolean equals(Object object) {
             final EqualsStrategy strategy = .;
             return equals(nullnullobjectstrategy);
         }
 
         public int hashCode(ObjectLocator locatorHashCodeStrategy strategy) {
             int currentHashCode = 1;
             {
                 List<JAXBElement<? extends ARElementType>> theARElement;
                 theARElement = (((this.!= null)&&(!this..isEmpty()))?this.getARElement():null);
                 currentHashCode = strategy.hashCode(LocatorUtils.property(locator"arElement"theARElement), currentHashCodetheARElement);
             }
             return currentHashCode;
         }
 
         public int hashCode() {
             final HashCodeStrategy strategy = .;
             return this.hashCode(nullstrategy);
         }
 
         public Object clone() {
             return copyTo(createNewInstance());
         }
 
         public Object copyTo(Object target) {
             final CopyStrategy strategy = .;
             return copyTo(nulltargetstrategy);
         }
 
         public Object copyTo(ObjectLocator locatorObject targetCopyStrategy strategy) {
             final Object draftCopy = ((target == null)?createNewInstance():target);
             if (draftCopy instanceof ArmlType.ARElements) {
                 final ArmlType.ARElements copy = ((ArmlType.ARElementsdraftCopy);
                 if ((this.!= null)&&(!this..isEmpty())) {
                     List<JAXBElement<? extends ARElementType>> sourceARElement;
                     sourceARElement = (((this.!= null)&&(!this..isEmpty()))?this.getARElement():null);
                     @SuppressWarnings("unchecked")
                     List<JAXBElement<? extends ARElementType>> copyARElement = ((List<JAXBElement<? extends ARElementType>> ) strategy.copy(LocatorUtils.property(locator"arElement"sourceARElement), sourceARElement));
                     copy.arElement = null;
                     if (copyARElement!= null) {
                         List<JAXBElement<? extends ARElementType>> uniqueARElementl = copy.getARElement();
                         uniqueARElementl.addAll(copyARElement);
                     }
                 } else {
                     copy.arElement = null;
                 }
             }
             return draftCopy;
         }
 
         public Object createNewInstance() {
             return new ArmlType.ARElements();
         }
 
         public void mergeFrom(Object leftObject right) {
             final MergeStrategy strategy = .;
             mergeFrom(nullnullleftrightstrategy);
         }
 
         public void mergeFrom(ObjectLocator leftLocatorObjectLocator rightLocatorObject leftObject rightMergeStrategy strategy) {
             if (right instanceof ArmlType.ARElements) {
                 final ArmlType.ARElements target = this;
                 final ArmlType.ARElements leftObject = ((ArmlType.ARElementsleft);
                 final ArmlType.ARElements rightObject = ((ArmlType.ARElementsright);
                 {
                     List<JAXBElement<? extends ARElementType>> lhsARElement;
                     lhsARElement = (((leftObject.arElement!= null)&&(!leftObject.arElement.isEmpty()))?leftObject.getARElement():null);
                     List<JAXBElement<? extends ARElementType>> rhsARElement;
                     rhsARElement = (((rightObject.arElement!= null)&&(!rightObject.arElement.isEmpty()))?rightObject.getARElement():null);
                     List<JAXBElement<? extends ARElementType>> mergedARElement = ((List<JAXBElement<? extends ARElementType>> ) strategy.merge(LocatorUtils.property(leftLocator"arElement"lhsARElement), LocatorUtils.property(rightLocator"arElement"rhsARElement), lhsARElementrhsARElement));
                     target.arElement = null;
                     if (mergedARElement!= null) {
                         List<JAXBElement<? extends ARElementType>> uniqueARElementl = target.getARElement();
                         uniqueARElementl.addAll(mergedARElement);
                     }
                 }
             }
         }
 
         public void setARElement(List<JAXBElement<? extends ARElementType>> value) {
             this. = null;
             List<JAXBElement<? extends ARElementType>> draftl = this.getARElement();
             draftl.addAll(value);
         }
 
         public ArmlType.ARElements withARElement(JAXBElement<? extends ARElementType> ... values) {
             if (values!= null) {
                 for (JAXBElement<? extends ARElementTypevaluevalues) {
                     getARElement().add(value);
                 }
             }
             return this;
         }
 
         public ArmlType.ARElements withARElement(Collection<JAXBElement<? extends ARElementType>> values) {
             if (values!= null) {
                 getARElement().addAll(values);
             }
             return this;
         }
 
         public ArmlType.ARElements withARElement(List<JAXBElement<? extends ARElementType>> value) {
             setARElement(value);
             return this;
         }
 
     }


    

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute ref="{http://www.w3.org/1999/xlink}href"/>
     </extension>
   </simpleContent>
 </complexType>
 
 
     @XmlType(name = "", propOrder = {
         "value"
     })
     public static class Script
         implements CloneableCopyToEqualsHashCodeMergeFromToString
     {
 
         @XmlValue
         protected String value;
         @XmlAttribute(name = "type")
         protected String type;
         @XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink")
         protected String href;

        
Gets the value of the value property.

Returns:
possible object is
 
         public String getValue() {
             return ;
         }

        
Sets the value of the value property.

Parameters:
value allowed object is
 
         public void setValue(String value) {
             this. = value;
         }

        
Gets the value of the type property.

Returns:
possible object is
 
         public String getType() {
             return ;
         }

        
Sets the value of the type property.

Parameters:
value allowed object is
 
         public void setType(String value) {
             this. = value;
         }

        
Gets the value of the href property.

Returns:
possible object is
 
         public String getHref() {
             return ;
         }

        
Sets the value of the href property.

Parameters:
value allowed object is
 
         public void setHref(String value) {
             this. = value;
         }
 
         public String toString() {
             final ToStringStrategy strategy = .;
             final StringBuilder buffer = new StringBuilder();
             append(nullbufferstrategy);
             return buffer.toString();
         }
 
         public StringBuilder append(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
             strategy.appendStart(locatorthisbuffer);
             appendFields(locatorbufferstrategy);
             strategy.appendEnd(locatorthisbuffer);
             return buffer;
         }
 
         public StringBuilder appendFields(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
             {
                 String theValue;
                 theValue = this.getValue();
                 strategy.appendField(locatorthis"value"buffertheValue);
             }
             {
                 String theType;
                 theType = this.getType();
                 strategy.appendField(locatorthis"type"buffertheType);
             }
             {
                 String theHref;
                 theHref = this.getHref();
                 strategy.appendField(locatorthis"href"buffertheHref);
             }
             return buffer;
         }
 
         public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
             if (!(object instanceof ArmlType.Script)) {
                 return false;
             }
             if (this == object) {
                 return true;
             }
             final ArmlType.Script that = ((ArmlType.Scriptobject);
             {
                 String lhsValue;
                 lhsValue = this.getValue();
                 String rhsValue;
                 rhsValue = that.getValue();
                 if (!strategy.equals(LocatorUtils.property(thisLocator"value"lhsValue), LocatorUtils.property(thatLocator"value"rhsValue), lhsValuerhsValue)) {
                     return false;
                 }
             }
             {
                 String lhsType;
                 lhsType = this.getType();
                 String rhsType;
                 rhsType = that.getType();
                 if (!strategy.equals(LocatorUtils.property(thisLocator"type"lhsType), LocatorUtils.property(thatLocator"type"rhsType), lhsTyperhsType)) {
                     return false;
                 }
             }
             {
                 String lhsHref;
                 lhsHref = this.getHref();
                 String rhsHref;
                 rhsHref = that.getHref();
                 if (!strategy.equals(LocatorUtils.property(thisLocator"href"lhsHref), LocatorUtils.property(thatLocator"href"rhsHref), lhsHrefrhsHref)) {
                     return false;
                 }
             }
             return true;
         }
 
         public boolean equals(Object object) {
             final EqualsStrategy strategy = .;
             return equals(nullnullobjectstrategy);
         }
 
         public int hashCode(ObjectLocator locatorHashCodeStrategy strategy) {
             int currentHashCode = 1;
             {
                 String theValue;
                 theValue = this.getValue();
                 currentHashCode = strategy.hashCode(LocatorUtils.property(locator"value"theValue), currentHashCodetheValue);
             }
             {
                 String theType;
                 theType = this.getType();
                 currentHashCode = strategy.hashCode(LocatorUtils.property(locator"type"theType), currentHashCodetheType);
             }
             {
                 String theHref;
                 theHref = this.getHref();
                 currentHashCode = strategy.hashCode(LocatorUtils.property(locator"href"theHref), currentHashCodetheHref);
             }
             return currentHashCode;
         }
 
         public int hashCode() {
             final HashCodeStrategy strategy = .;
             return this.hashCode(nullstrategy);
         }
 
         public Object clone() {
             return copyTo(createNewInstance());
         }
 
         public Object copyTo(Object target) {
             final CopyStrategy strategy = .;
             return copyTo(nulltargetstrategy);
         }
 
         public Object copyTo(ObjectLocator locatorObject targetCopyStrategy strategy) {
             final Object draftCopy = ((target == null)?createNewInstance():target);
             if (draftCopy instanceof ArmlType.Script) {
                 final ArmlType.Script copy = ((ArmlType.ScriptdraftCopy);
                 if (this.!= null) {
                     String sourceValue;
                     sourceValue = this.getValue();
                     String copyValue = ((Stringstrategy.copy(LocatorUtils.property(locator"value"sourceValue), sourceValue));
                     copy.setValue(copyValue);
                 } else {
                     copy.value = null;
                 }
                 if (this.!= null) {
                     String sourceType;
                     sourceType = this.getType();
                     String copyType = ((Stringstrategy.copy(LocatorUtils.property(locator"type"sourceType), sourceType));
                     copy.setType(copyType);
                 } else {
                     copy.type = null;
                 }
                 if (this.!= null) {
                     String sourceHref;
                     sourceHref = this.getHref();
                     String copyHref = ((Stringstrategy.copy(LocatorUtils.property(locator"href"sourceHref), sourceHref));
                     copy.setHref(copyHref);
                 } else {
                     copy.href = null;
                 }
             }
             return draftCopy;
         }
 
         public Object createNewInstance() {
             return new ArmlType.Script();
         }
 
         public void mergeFrom(Object leftObject right) {
             final MergeStrategy strategy = .;
             mergeFrom(nullnullleftrightstrategy);
         }
 
         public void mergeFrom(ObjectLocator leftLocatorObjectLocator rightLocatorObject leftObject rightMergeStrategy strategy) {
             if (right instanceof ArmlType.Script) {
                 final ArmlType.Script target = this;
                 final ArmlType.Script leftObject = ((ArmlType.Scriptleft);
                 final ArmlType.Script rightObject = ((ArmlType.Scriptright);
                 {
                     String lhsValue;
                     lhsValue = leftObject.getValue();
                     String rhsValue;
                     rhsValue = rightObject.getValue();
                     String mergedValue = ((Stringstrategy.merge(LocatorUtils.property(leftLocator"value"lhsValue), LocatorUtils.property(rightLocator"value"rhsValue), lhsValuerhsValue));
                     target.setValue(mergedValue);
                 }
                 {
                     String lhsType;
                     lhsType = leftObject.getType();
                     String rhsType;
                     rhsType = rightObject.getType();
                     String mergedType = ((Stringstrategy.merge(LocatorUtils.property(leftLocator"type"lhsType), LocatorUtils.property(rightLocator"type"rhsType), lhsTyperhsType));
                     target.setType(mergedType);
                 }
                 {
                     String lhsHref;
                     lhsHref = leftObject.getHref();
                     String rhsHref;
                     rhsHref = rightObject.getHref();
                     String mergedHref = ((Stringstrategy.merge(LocatorUtils.property(leftLocator"href"lhsHref), LocatorUtils.property(rightLocator"href"rhsHref), lhsHrefrhsHref));
                     target.setHref(mergedHref);
                 }
             }
         }
 
         public ArmlType.Script withValue(String value) {
             setValue(value);
             return this;
         }
 
         public ArmlType.Script withType(String value) {
             setType(value);
             return this;
         }
 
         public ArmlType.Script withHref(String value) {
             setHref(value);
             return this;
         }
 
     }


    

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute ref="{http://www.w3.org/1999/xlink}href"/>
     </extension>
   </simpleContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "value"
    })
    public static class Style
        implements CloneableCopyToEqualsHashCodeMergeFromToString
    {
        @XmlValue
        protected String value;
        @XmlAttribute(name = "type")
        protected String type;
        @XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink")
        protected String href;

        
Gets the value of the value property.

Returns:
possible object is
        public String getValue() {
            return ;
        }

        
Sets the value of the value property.

Parameters:
value allowed object is
        public void setValue(String value) {
            this. = value;
        }

        
Gets the value of the type property.

Returns:
possible object is
        public String getType() {
            return ;
        }

        
Sets the value of the type property.

Parameters:
value allowed object is
        public void setType(String value) {
            this. = value;
        }

        
Gets the value of the href property.

Returns:
possible object is
        public String getHref() {
            return ;
        }

        
Sets the value of the href property.

Parameters:
value allowed object is
        public void setHref(String value) {
            this. = value;
        }
        public String toString() {
            final ToStringStrategy strategy = .;
            final StringBuilder buffer = new StringBuilder();
            append(nullbufferstrategy);
            return buffer.toString();
        }
        public StringBuilder append(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
            strategy.appendStart(locatorthisbuffer);
            appendFields(locatorbufferstrategy);
            strategy.appendEnd(locatorthisbuffer);
            return buffer;
        }
        public StringBuilder appendFields(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
            {
                String theValue;
                theValue = this.getValue();
                strategy.appendField(locatorthis"value"buffertheValue);
            }
            {
                String theType;
                theType = this.getType();
                strategy.appendField(locatorthis"type"buffertheType);
            }
            {
                String theHref;
                theHref = this.getHref();
                strategy.appendField(locatorthis"href"buffertheHref);
            }
            return buffer;
        }
        public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
            if (!(object instanceof ArmlType.Style)) {
                return false;
            }
            if (this == object) {
                return true;
            }
            final ArmlType.Style that = ((ArmlType.Styleobject);
            {
                String lhsValue;
                lhsValue = this.getValue();
                String rhsValue;
                rhsValue = that.getValue();
                if (!strategy.equals(LocatorUtils.property(thisLocator"value"lhsValue), LocatorUtils.property(thatLocator"value"rhsValue), lhsValuerhsValue)) {
                    return false;
                }
            }
            {
                String lhsType;
                lhsType = this.getType();
                String rhsType;
                rhsType = that.getType();
                if (!strategy.equals(LocatorUtils.property(thisLocator"type"lhsType), LocatorUtils.property(thatLocator"type"rhsType), lhsTyperhsType)) {
                    return false;
                }
            }
            {
                String lhsHref;
                lhsHref = this.getHref();
                String rhsHref;
                rhsHref = that.getHref();
                if (!strategy.equals(LocatorUtils.property(thisLocator"href"lhsHref), LocatorUtils.property(thatLocator"href"rhsHref), lhsHrefrhsHref)) {
                    return false;
                }
            }
            return true;
        }
        public boolean equals(Object object) {
            final EqualsStrategy strategy = .;
            return equals(nullnullobjectstrategy);
        }
        public int hashCode(ObjectLocator locatorHashCodeStrategy strategy) {
            int currentHashCode = 1;
            {
                String theValue;
                theValue = this.getValue();
                currentHashCode = strategy.hashCode(LocatorUtils.property(locator"value"theValue), currentHashCodetheValue);
            }
            {
                String theType;
                theType = this.getType();
                currentHashCode = strategy.hashCode(LocatorUtils.property(locator"type"theType), currentHashCodetheType);
            }
            {
                String theHref;
                theHref = this.getHref();
                currentHashCode = strategy.hashCode(LocatorUtils.property(locator"href"theHref), currentHashCodetheHref);
            }
            return currentHashCode;
        }
        public int hashCode() {
            final HashCodeStrategy strategy = .;
            return this.hashCode(nullstrategy);
        }
        public Object clone() {
            return copyTo(createNewInstance());
        }
        public Object copyTo(Object target) {
            final CopyStrategy strategy = .;