Class String
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.String
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
- Direct Known Subclasses:
AddressingResponsesType,DisplayNameType,EjbLinkType,EjbRefTypeType,FullyQualifiedClassType,GenericBooleanType,JavaIdentifierType,JavaTypeType,JdbcUrlType,JndiNameType,MessageDestinationLinkType,MessageDestinationUsageType,PathType,PersistenceContextTypeType,ResAuthType,ResSharingScopeType,RoleNameType,ServletLinkType
public class String extends Object implements com.sun.xml.bind.Locatable
This is a special string datatype that is defined by Java EE as a base type for defining collapsed strings. When schemas require trailing/leading space elimination as well as collapsing the existing whitespace, this base type may be used.Java class for string complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="string"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>token"> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description String()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the value of the id property.StringgetValue()Gets the value of the value property.voidsetId(String value)Sets the value of the id property.voidsetSourceLocation(Locator newLocator)voidsetValue(String value)Sets the value of the value property.LocatorsourceLocation()
-
-
-
Method Detail
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfacecom.sun.xml.bind.Locatable
-
setSourceLocation
public void setSourceLocation(Locator newLocator)
-
-