Click or drag to resize

EpcPattern Methods

The EpcPattern type exposes the following members.

Methods
 NameDescription
Public methodEquals Returns true if the specified object is an Epc instance that denotes the same EPC (i.e., has the identical EPC URI).
(Overrides ObjectEquals(Object))
Public methodStatic memberFromComponents Creates an EpcPattern instance from the specified EPC scheme and components. The resulting EpcPattern instance will have an pure identity EPC Pattern URI consisting of urn:epc:idpat:, the specified EPC scheme name, a colon (:) character, and the specified components separated by dot (.) characters with %xx escape sequences as required to conform to URI syntax.

Example: fromComponents(EpcScheme.SGTIN, "0614141", "112345", "*") returns an EpcPattern instance whose pure identity EPC Pattern URI is urn:epc:idpat:sgtin:0614141.112345.*.

Public methodStatic memberFromEpcPatternUri Creates an EpcPattern instance by parsing the specified string as a pure identity EPC Pattern URI.
Public methodGetHashCode Returns the hash code of the current object
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodMatches Returns true if the specified EPC is matched by this EPC Pattern URI.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also