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 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(Object object, StructuredEqualsStrategy strategy)
List<Object>
getContent()
String
getContentAsString()
int
hashCode()
int
hashCode(StructuredHashCodeStrategy 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(StructuredHashCodeStrategy strategy)
- Specified by:
hashCode
in interfacePlainStructured
-
equals
public boolean equals(Object object, StructuredEqualsStrategy strategy)
- Specified by:
equals
in interfacePlainStructured
-
clone
public XmlAsStringType clone()
Creates and returns a deep copy of this object.- Specified by:
clone
in interfacePlainStructured
- Overrides:
clone
in classObject
- Returns:
- A deep copy of this object.
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
-