Class IconType
java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.IconType
- All Implemented Interfaces:
Locatable
The icon type contains small-icon and large-icon elements
that specify the file names for small and large GIF, JPEG,
or PNG icon images used to represent the parent element in a
GUI tool.
The xml:lang attribute defines the language that the
icon file names are provided in. Its value is "en" (English)
by default.
Java class for iconType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="iconType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="small-icon" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
<element name="large-icon" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the value of the id property.getLang()Gets the value of the lang property.Gets the value of the largeIcon property.Gets the value of the smallIcon property.voidSets the value of the id property.voidSets the value of the lang property.voidsetLargeIcon(PathType value) Sets the value of the largeIcon property.voidsetSmallIcon(PathType value) Sets the value of the smallIcon property.voidsetSourceLocation(Locator newLocator)
-
Field Details
-
smallIcon
-
largeIcon
-
lang
-
id
-
locator
-
-
Constructor Details
-
IconType
public IconType()
-
-
Method Details
-
getSmallIcon
Gets the value of the smallIcon property.- Returns:
- possible object is
PathType
-
setSmallIcon
Sets the value of the smallIcon property.- Parameters:
value- allowed object isPathType
-
getLargeIcon
Gets the value of the largeIcon property.- Returns:
- possible object is
PathType
-
setLargeIcon
Sets the value of the largeIcon property.- Parameters:
value- allowed object isPathType
-
getLang
Gets the value of the lang property.- Returns:
- possible object is
String
-
setLang
Sets the value of the lang property.- Parameters:
value- allowed object isString
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
sourceLocation
- Specified by:
sourceLocationin interfaceLocatable- Returns:
- null if the location information is unavaiable,
or otherwise return a immutable valid
Locatorobject.
-
setSourceLocation
-