Interface PrimitiveXNode<T>

All Superinterfaces:
Cloneable, Copyable<XNode>, DebugDumpable, Freezable, MetadataAware, Serializable, Visitable<XNode>, XNode

public interface PrimitiveXNode<T> extends XNode, MetadataAware
  • Method Details

    • getGuessedFormattedValue

      String getGuessedFormattedValue() throws SchemaException
      Throws:
      SchemaException
    • getStringValue

      String getStringValue()
      Returns the value represented as string - in the best format that we can. There is no guarantee that the returned value will be precise. This method is used as a "last instance" if everything else fails. Invocation of this method will not change the state of this xnode, e.g. it will NOT cause it to be parsed.
    • getParsedValue

      <X> X getParsedValue(@NotNull @NotNull QName typeName, @Nullable @Nullable Class<X> expectedClass) throws SchemaException
      Throws:
      SchemaException
    • getValue

      T getValue()
    • getValueParser

      ValueParser<T> getValueParser()
    • isParsed

      boolean isParsed()
    • copy

      PrimitiveXNode<T> copy()
      Specified by:
      copy in interface Copyable<T>
      Specified by:
      copy in interface XNode