public class Delta
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Delta |
DELTA_A
A delta value representing a deleted xml node (i.e only appears in document 'A').
|
static Delta |
DELTA_B
A delta value representing an added xml node (i.e only appears in document 'B').
|
static java.lang.String |
DELTA_LOCALNAME
The localname for the delta value.
|
static Delta |
DELTA_MODIFY
A delta value representing a modified xml node (i.e is different in documents 'A' and 'B').
|
static Delta |
DELTA_UNCHANGED
A delta value representing an unchanged xml node (i.e is the same in documents 'A' and 'B').
|
static java.lang.String |
DELTAXML_NS
The DeltaXML namespace.
|
Modifier and Type | Method and Description |
---|---|
org.xml.sax.Attributes |
getAttributes()
Returns the delta value as a new SAX Attribute.
|
static Delta |
getDeltaFromValue(java.lang.String delta)
Returns the Delta representation that corresponds to the supplied String value.
|
java.lang.String |
toString()
Returns the String value of the Delta.
|
public static final Delta DELTA_UNCHANGED
public static final Delta DELTA_MODIFY
public static final Delta DELTA_A
public static final Delta DELTA_B
public static final java.lang.String DELTAXML_NS
public static final java.lang.String DELTA_LOCALNAME
public static Delta getDeltaFromValue(java.lang.String delta)
delta
- the String representation of the valuepublic org.xml.sax.Attributes getAttributes()
public java.lang.String toString()
toString
in class java.lang.Object