Class XmlAsStringType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.XmlAsStringType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class XmlAsStringType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, JaxbVisitable
A class used to hold string represented either as plain string or as XML markup. (Useful e.g. for jasper templates.)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlAsStringType()
Creates a newXmlAsStringType
instance.XmlAsStringType(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
XmlAsStringType
clone()
Creates and returns a deep copy of this object.boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
List<Object>
getContent()
String
getContentAsString()
int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
-
-
-
Constructor Detail
-
XmlAsStringType
public XmlAsStringType()
Creates a newXmlAsStringType
instance.
-
XmlAsStringType
public XmlAsStringType(String value)
-
-
Method Detail
-
getContentAsString
public String getContentAsString()
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
clone
public XmlAsStringType clone()
Creates and returns a deep copy of this object.
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
-