Class XmlString

  • Direct Known Subclasses:
    DisplayName, FacesConfigFromViewId, JavaIdentifier

    public class XmlString
    extends Object
    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 Detail

      • XmlString

        public XmlString()
    • 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 is String
      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String