Java Code Examples for com.helger.xml.microdom.IMicroElement#hasParent()
The following examples show how to use
com.helger.xml.microdom.IMicroElement#hasParent() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PSPhase.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }
Example 2
Source File: PSP.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }
Example 3
Source File: PSSchema.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); if (m_aForeignElements == null) m_aForeignElements = new CommonsArrayList <> (); m_aForeignElements.add (aForeignElement); }
Example 4
Source File: PSSpan.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }
Example 5
Source File: PSPattern.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }
Example 6
Source File: PSAssertReport.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }
Example 7
Source File: PSDiagnostic.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }
Example 8
Source File: PSDiagnostics.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }
Example 9
Source File: PSActive.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }
Example 10
Source File: PSRule.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }
Example 11
Source File: PSDir.java From ph-schematron with Apache License 2.0 | 5 votes |
public void addForeignElement (@Nonnull final IMicroElement aForeignElement) { ValueEnforcer.notNull (aForeignElement, "ForeignElement"); if (aForeignElement.hasParent ()) throw new IllegalArgumentException ("ForeignElement already has a parent!"); m_aContent.add (aForeignElement); }