- /**
- * Constructs new instance identifier.
- *
- * @param xpath
- * @deprecated Use {@link #getInstance()} for default one, since Instance Identifier does not have xpath.
- */
- @Deprecated
- public InstanceIdentifierType(final RevisionAwareXPath xpath) {
- requireInstance = true;
- }
-
- /**
- * Constructs new instance identifier.
- *
- * @param xpath
- * @param requireInstance if instance of data is required
- * @deprecated Use {@link #create(boolean)}, since Instance Identifier does not have xpath.
- */
- @Deprecated
- public InstanceIdentifierType(final RevisionAwareXPath xpath, final boolean requireInstance) {
- this.requireInstance = requireInstance;
- }