Package graphql.language
Class NodeUtil
java.lang.Object
graphql.language.NodeUtil
Helper class for working with
Nodes-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallDirectivesByName(List<Directive> directives) static voidassertNewChildrenAreEmpty(NodeChildrenContainer newChildren) static <T extends NamedNode<T>>
TfindNodeByName(List<T> namedNodes, String name) static Map<String, FragmentDefinition> getFragmentsByName(Document document) static NodeUtil.GetOperationResultgetOperation(Document document, String operationName) nodeByName(List<T> nameNode) static NoderemoveChild(Node node, NodeLocation childLocationToRemove)
-
Constructor Details
-
NodeUtil
public NodeUtil()
-
-
Method Details
-
findNodeByName
-
allDirectivesByName
-
nodeByName
-
getFragmentsByName
-
getOperation
-
assertNewChildrenAreEmpty
-
removeChild
-