Class XmlAsStringType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.XmlAsStringType
-
- All Implemented Interfaces:
PlainStructured,JaxbVisitable,Serializable,Cloneable
public class XmlAsStringType extends Object implements PlainStructured, Serializable, Cloneable, 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured
PlainStructured.WithoutStrategy
-
-
Constructor Summary
Constructors Constructor Description XmlAsStringType()Creates a newXmlAsStringTypeinstance.XmlAsStringType(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)XmlAsStringTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(Object object, StructuredEqualsStrategy strategy)List<Object>getContent()StringgetContentAsString()inthashCode()inthashCode(StructuredHashCodeStrategy strategy)
-
-
-
Constructor Detail
-
XmlAsStringType
public XmlAsStringType()
Creates a newXmlAsStringTypeinstance.
-
XmlAsStringType
public XmlAsStringType(String value)
-
-
Method Detail
-
getContentAsString
public String getContentAsString()
-
hashCode
public int hashCode(StructuredHashCodeStrategy strategy)
- Specified by:
hashCodein interfacePlainStructured
-
equals
public boolean equals(Object object, StructuredEqualsStrategy strategy)
- Specified by:
equalsin interfacePlainStructured
-
clone
public XmlAsStringType clone()
Creates and returns a deep copy of this object.- Specified by:
clonein interfacePlainStructured- Overrides:
clonein classObject- Returns:
- A deep copy of this object.
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
-