Epc |
public class EpcPattern
The EpcPattern type exposes the following members.
Name | Description | |
---|---|---|
![]() | Components |
Returns the components that comprise this EpcPattern.
Each component is one of the dot-delimited strings following
the urn:epc:idpat: prefix of the URI, with any %xx
escape sequences replaced by the corresponding character.
If p is an EpcPattern instance, then EpcPattern.fromComponents(p.getEpcScheme(), p.getComponents()) returns an EpcPattern instance that is equal to p. Example: the getComponents method for EPC Pattern URI urn:epc:idpat:sgtin:0614141.112345.* returns an array containing the strings "0614141", "112345", and "*". |
![]() | EpcPatternUri | Returns the pure identity EPC Pattern URI corresponding to this EPC Pattern. |
![]() | EpcScheme | Returns the EPC scheme of this EPC Pattern. |
Name | Description | |
---|---|---|
![]() | Equals |
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)) |
![]() ![]() | FromComponents |
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.*. |
![]() ![]() | FromEpcPatternUri | Creates an EpcPattern instance by parsing the specified string as a pure identity EPC Pattern URI. |
![]() | GetHashCode |
Returns the hash code of the current object
(Overrides ObjectGetHashCode) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | Matches | Returns true if the specified EPC is matched by this EPC Pattern URI. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |