/** Encode a node as an inline literal. Return null if it can't be done */ public static NodeId inline(Node node) { if ( node == null ) { Log.warn(NodeId.class, "Null node: " + node); return null; } if ( !NodeId.enableInlineLiterals ) return null; if ( !node.isLiteral() ) return null; if ( NodeUtils.isSimpleString(node) || NodeUtils.isLangString(node) ) return null; try { return inline$(node); } catch (Throwable th) { Log.warn(NodeId.class, "Failed to process "+node); return null; } }