XliffElementImpl extends ElementImpl implements
		XliffElement { protected static boolean isNonXliffElement(org.w3c.dom.Node node) { if (!(node instanceof org.w3c.dom.Element)) { return false; } org.w3c.dom.Element element = (Element) node; return !Schemas.XLIFF_12_NAMESPACE.equals(element.getNamespaceURI()); } protected  XliffElementImpl(String name); protected  XliffElementImpl(String name, org.w3c.dom.Element xmlElement);   }
@Test public void testIsNonXliffElement() { Document doc = Utils.createDocument(); Text text = doc.createTextNode("abc"); Element xliffElem = doc.createElementNS(XLIFF_12_NAMESPACE, "name"); Element nonXliffElem = doc.createElementNS("ns", "name"); assertFalse(XliffElementImpl.isNonXliffElement(text)); assertFalse(XliffElementImpl.isNonXliffElement(xliffElem)); assertTrue(XliffElementImpl.isNonXliffElement(nonXliffElem)); }