Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.lyo.oslc4j.core.model
Class XMLLiteral

    java.lang.Object
      org.eclipse.lyo.oslc4j.core.model.XMLLiteral

    public class XMLLiteral

extends Object

A special value type that can be added to an extended properties map of an `IExtendedResource` to indicate the value is an XMLLiteral rather than a simple string.

See Also:
  XML Content within an RDF Graph

Constructor Summary
`XMLLiteral(String value)` Creates an XMLLiteral.

Method Summary
`boolean` | `equals(Object obj)`
`String` | `getValue()` Gets the string value of the literal.
`int` | `hashCode()`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### XMLLiteral

    public XMLLiteral(String value)

  Creates an XMLLiteral.

  Parameters:
    `value` - a plain string for the literal (with markup unescaped).

Method Detail

### getValue

    public String getValue()

  Gets the string value of the literal.

  Returns:
    the value

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013. All rights reserved.