Package | Description |
---|---|
org.netbeans.modules.xml.xdm.diff |
XML diff capabilities.
|
org.netbeans.modules.xml.xdm.nodes |
XDM-based implementation of DOM interfaces.
|
org.netbeans.modules.xml.xdm.visitor |
Visitors for operations over the XDM such as generating XPath
expressions, calculating document position and finding elements by position.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
Change.AttributeDiff.getNewAttribute() |
Attribute |
Change.AttributeDiff.getOldAttribute() |
Constructor and Description |
---|
AttributeAdd(Attribute newAttr,
int newAttrPos) |
AttributeChange(Attribute oldAttr,
Attribute newAttr,
int oldAttrPos,
int newAttrPos,
boolean tokenChanged,
boolean posChanged) |
AttributeDelete(Attribute oldAttr,
int oldAttrPos) |
AttributeDiff(Attribute oldAttr,
Attribute newAttr,
int oldAttrPos,
int newAttrPos) |
Modifier and Type | Method and Description |
---|---|
Attribute |
Element.getAttributeNode(String name)
Retrieves an attribute node by name.
|
Attribute |
Element.getAttributeNodeNS(String namespaceURI,
String localName)
Retrieves an
Attr node by local name and namespace URI. |
Attribute |
Element.removeAttributeNode(Attr oldAttr)
Removes the specified attribute node.
|
Attribute |
Element.setAttributeNode(Attr newAttr)
Adds a new attribute node.
|
Modifier and Type | Method and Description |
---|---|
void |
Element.addAttribute(Attribute newAttr,
int index)
This api adds new attribute at a given index.
|
void |
Element.appendAttribute(Attribute newAttr)
This api adds new attribute at the end.
|
void |
Element.reorderAttribute(Attribute attr,
int index)
Moves attribute to the given index.
|
void |
Element.replaceAttribute(Attribute newAttr,
Attribute oldAttr)
This api replaces old attribute of this element with new attribute.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
NamespaceRefactorVisitor.NamespaceCheck.getDuplicateDeclaration() |
Attribute |
NamespaceRefactorVisitor.NamespaceCheck.getPrefixRedeclaration() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
NamespaceRefactorVisitor.refactorAttributeValue(Attribute attr,
String namespace,
String prefix,
List<Node> context,
XDMModel model) |
void |
DefaultVisitor.visit(Attribute attr) |
void |
XMLNodeVisitor.visit(Attribute attr) |
void |
NamespaceRefactorVisitor.visit(Attribute attr) |
void |
PrintVisitor.visit(Attribute attr) |
void |
PositionFinderVisitor.visit(Attribute attr) |
void |
NodeByPositionVisitor.visit(Attribute attr) |
void |
EndPositionFinderVisitor.visit(Attribute attr) |
void |
CompareVisitor.visit(Attribute attr) |