- java.lang.Object
-
- org.hisrc.w3c.xlink.v_1_0.LocatorType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class LocatorType extends Object implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Java class for locatorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="locatorType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <group ref="{http://www.w3.org/1999/xlink}locatorModel"/> <attGroup ref="{http://www.w3.org/1999/xlink}locatorAttrs"/> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description LocatorType()Default no-arg constructorLocatorType(List<TitleEltType> locatorTitle, String href, String role, String title, String label)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)StringgetHref()Gets the value of the href property.StringgetLabel()label is not required, but locators have no particular XLink function if they are not labeled.List<TitleEltType>getLocatorTitle()Gets the value of the locatorTitle property.StringgetRole()Gets the value of the role property.StringgetTitle()Gets the value of the title property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetHref()booleanisSetLabel()booleanisSetLocatorTitle()booleanisSetRole()booleanisSetTitle()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetHref(String value)Sets the value of the href property.voidsetLabel(String value)Sets the value of the label property.voidsetLocatorTitle(List<TitleEltType> value)voidsetRole(String value)Sets the value of the role property.voidsetTitle(String value)Sets the value of the title property.StringtoString()voidunsetLocatorTitle()LocatorTypewithHref(String value)LocatorTypewithLabel(String value)LocatorTypewithLocatorTitle(Collection<TitleEltType> values)LocatorTypewithLocatorTitle(List<TitleEltType> value)LocatorTypewithLocatorTitle(TitleEltType... values)LocatorTypewithRole(String value)LocatorTypewithTitle(String value)
-
-
-
Method Detail
-
getLocatorTitle
public List<TitleEltType> getLocatorTitle()
Gets the value of the locatorTitle 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 Jakarta XML Binding object. This is why there is not a
setmethod for the locatorTitle property.For example, to add a new item, do as follows:
getLocatorTitle().add(newItem);Objects of the following type(s) are allowed in the list
TitleEltType
-
isSetLocatorTitle
public boolean isSetLocatorTitle()
-
unsetLocatorTitle
public void unsetLocatorTitle()
-
getHref
public String getHref()
Gets the value of the href property.- Returns:
- possible object is
String
-
setHref
public void setHref(String value)
Sets the value of the href property.- Parameters:
value- allowed object isString
-
isSetHref
public boolean isSetHref()
-
getRole
public String getRole()
Gets the value of the role property.- Returns:
- possible object is
String
-
setRole
public void setRole(String value)
Sets the value of the role property.- Parameters:
value- allowed object isString
-
isSetRole
public boolean isSetRole()
-
getTitle
public String getTitle()
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
public void setTitle(String value)
Sets the value of the title property.- Parameters:
value- allowed object isString
-
isSetTitle
public boolean isSetTitle()
-
getLabel
public String getLabel()
label is not required, but locators have no particular XLink function if they are not labeled.- Returns:
- possible object is
String
-
setLabel
public void setLabel(String value)
Sets the value of the label property.- Parameters:
value- allowed object isString
-
isSetLabel
public boolean isSetLabel()
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
setLocatorTitle
public void setLocatorTitle(List<TitleEltType> value)
-
withLocatorTitle
public LocatorType withLocatorTitle(TitleEltType... values)
-
withLocatorTitle
public LocatorType withLocatorTitle(Collection<TitleEltType> values)
-
withHref
public LocatorType withHref(String value)
-
withRole
public LocatorType withRole(String value)
-
withTitle
public LocatorType withTitle(String value)
-
withLabel
public LocatorType withLabel(String value)
-
withLocatorTitle
public LocatorType withLocatorTitle(List<TitleEltType> value)
-
-