Examples of XmlDocumentImpl


Examples of com.intellij.psi.impl.source.xml.XmlDocumentImpl

    return myName;
  }

  @Override
  public XmlElementDescriptor[] getElementsDescriptors(XmlTag context) {
    XmlDocumentImpl xmlDocument = PsiTreeUtil.getParentOfType(context, XmlDocumentImpl.class);
    if (xmlDocument == null) return EMPTY_ARRAY;
    return xmlDocument.getRootTagNSDescriptor().getRootElementsDescriptors(xmlDocument);
  }
View Full Code Here

Examples of org.hibernate.internal.util.xml.XmlDocumentImpl

      throw new FileNotFoundException( "Cached file could not be found or could not be used" );
    }

        LOG.readingCachedMappings(cachedFile);
    Document document = ( Document ) SerializationHelper.deserialize( new FileInputStream( cachedFile ) );
    add( new XmlDocumentImpl( document, "file", xmlFile.getAbsolutePath() ) );
    return this;
  }
View Full Code Here

Examples of org.hibernate.internal.util.xml.XmlDocumentImpl

   */
  public Configuration addDocument(org.w3c.dom.Document doc) throws MappingException {
        LOG.debugf("Mapping Document:\n%s", doc);

    final Document document = xmlHelper.createDOMReader().read( doc );
    add( new XmlDocumentImpl( document, "unknown", null ) );

    return this;
  }
View Full Code Here

Examples of org.hibernate.internal.util.xml.XmlDocumentImpl

      throw new FileNotFoundException( "Cached file could not be found or could not be used" );
    }

    LOG.readingCachedMappings( cachedFile );
    Document document = ( Document ) SerializationHelper.deserialize( new FileInputStream( cachedFile ) );
    add( new XmlDocumentImpl( document, "file", xmlFile.getAbsolutePath() ) );
    return this;
  }
View Full Code Here

Examples of org.hibernate.internal.util.xml.XmlDocumentImpl

   */
  public Configuration addDocument(org.w3c.dom.Document doc) throws MappingException {
    LOG.debugf( "Mapping Document:\n%s", doc );

    final Document document = xmlHelper.createDOMReader().read( doc );
    add( new XmlDocumentImpl( document, "unknown", null ) );

    return this;
  }
View Full Code Here

Examples of org.hibernate.internal.util.xml.XmlDocumentImpl

      throw new FileNotFoundException( "Cached file could not be found or could not be used" );
    }

    LOG.readingCachedMappings( cachedFile );
    Document document = ( Document ) SerializationHelper.deserialize( new FileInputStream( cachedFile ) );
    add( new XmlDocumentImpl( document, "file", xmlFile.getAbsolutePath() ) );
    return this;
  }
View Full Code Here

Examples of org.hibernate.internal.util.xml.XmlDocumentImpl

   */
  public Configuration addDocument(org.w3c.dom.Document doc) throws MappingException {
    LOG.debugf( "Mapping Document:\n%s", doc );

    final Document document = xmlHelper.createDOMReader().read( doc );
    add( new XmlDocumentImpl( document, "unknown", null ) );

    return this;
  }
View Full Code Here

Examples of org.hibernate.internal.util.xml.XmlDocumentImpl

      throw new FileNotFoundException( "Cached file could not be found or could not be used" );
    }

    LOG.readingCachedMappings( cachedFile );
    Document document = ( Document ) SerializationHelper.deserialize( new FileInputStream( cachedFile ) );
    add( new XmlDocumentImpl( document, "file", xmlFile.getAbsolutePath() ) );
    return this;
  }
View Full Code Here

Examples of org.hibernate.internal.util.xml.XmlDocumentImpl

   */
  public Configuration addDocument(org.w3c.dom.Document doc) throws MappingException {
    LOG.debugf( "Mapping Document:\n%s", doc );

    final Document document = xmlHelper.createDOMReader().read( doc );
    add( new XmlDocumentImpl( document, "unknown", null ) );

    return this;
  }
View Full Code Here

Examples of org.hibernate.internal.util.xml.XmlDocumentImpl

      throw new FileNotFoundException( "Cached file could not be found or could not be used" );
    }

    LOG.readingCachedMappings( cachedFile );
    Document document = ( Document ) SerializationHelper.deserialize( new FileInputStream( cachedFile ) );
    add( new XmlDocumentImpl( document, "file", xmlFile.getAbsolutePath() ) );
    return this;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.