Package org.sblim.cimclient.internal.uri


package org.sblim.cimclient.internal.uri
Internal implementation of WBEM-URI strings parsers as defined in the CIM Infrastructure Specification. For more information on CIM, see http://www.dmtf.org/. The classes and interfaces herein are for internal use of the SBLIM Client for Java only and might therefore be modified or removed without notice.
Since:
2.0.0
  • Class
    Description
    [ userinfo "@" ] host [ ":" port ]

    userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
    unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
    pct-encoded = "%" HEXDIG HEXDIG
    sub-delims = "!" / "$" / "invalid input: '&'" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
    ALPHA = regex([A-Za-z])
    DIGIT = regex([0-9])

    Zone-index = ["%" ( 1*unreserved )] host = IP-literal / IPv4address / reg-name
    IP-literal = "[" ( IPv6address / IPvFuture ) "]"
    IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )
    IPv4address = dec-octet "." dec-octet "." dec-octet "." dec-octet
    reg-name = *( unreserved / pct-encoded / sub-delims )

    IPv6address = ( 6( h16 ":" ) ls32
    / "::" 5( h16 ":" ) ls32
    / [ h16 ] "::" 4( h16 ":" ) ls32
    / [ *1( h16 ":" ) h16 ] "::" 3( h16 ":" ) ls32
    / [ *2( h16 ":" ) h16 ] "::" 2( h16 ":" ) ls32
    / [ *3( h16 ":" ) h16 ] "::" h16 ":" ls32
    / [ *4( h16 ":" ) h16 ] "::" ls32
    / [ *5( h16 ":" ) h16 ] "::" h16
    / [ *6( h16 ":" ) h16 ] "::" ) Zone-index

    ls32 = ( h16 ":" h16 ) / IPv4address
    ; least-significant 32 bits of address

    h16 = 1*4HEXDIG
    ; 16 bits of address represented in hexadecimal
    Class BooleanValue parses and encapsulates a boolean value.
    Class CharValue parses character value.
    Class DateTimeValue is parses and encapsulates a datetime.
    Class IntegerValue parses and encapsulates an integer value.
    key_name "=" key_value
    key_value_pair *("," key_value_pair)
    namespaceHandle = ["//" authority] "/" [namespaceName] namespaceName = IDENTIFIER *("/"IDENTIFIER)
    namespacePath = [namespaceType ":"] namespaceHandle namespaceType = ("http" ["s"]) / ("cimxml.wbem" ["s"])
    This interface have to be implemented by those key value types which might be printed in a quoted form.
    Class RealValue parses and encapsulates real values.
    Class UntypedReferenceValue encapsulates an untyped reference value.
    Class UntypedStringValue parses an untyped string value.
    Class Test is responsible for testing the WBEM-URI String parsing.
    untypedNamespacePath = namespacePath untypedClassPath = namespacePath ":" className untypedInstancePath = namespacePath ":" className "." key_value_pairs typedNamespacePath = namespacePath "/(namespace)" typedClassPath = namespacePath "/(class)" className typedInstancePath = namespacePath "/(instance)" className "." typed_key_value_pairs
    Class URIString is responsible for wrapping the WBEM-URI string.
    This class is responsible for parsing key values.