Examples of Root


Examples of org.jboss.test.xml.sandbox.Root

      assertEquals(parent, o);
   }

   private void assertUnmarshalled(Root unmarshalled)
   {
      Root root = new Root();
      root.setChoiceCollection1(
         Arrays.asList(new Object[]{new Choice1("choice1_a", null), new Choice1(null, "choice1_b")})
      );
      root.setChoice2(Arrays.asList(new Object[]{new Choice2("choice2_c", "choice2_d", null),
         new Choice2(null, "choice2_d", "choice2_e")
      }
      )
      );
      root.setChoice3(Arrays.asList(new Object[]{
         new Choice3(Arrays.asList(new Integer[]{new Integer(1), new Integer(2), new Integer(3)}), null),
         new Choice3(null, Arrays.asList(new String[]{"1", "2", "3"}))
      }
      )
      );
View Full Code Here

Examples of org.jboss.tools.jmx.core.tree.Root

  @Override
  public Object[] getChildren(Object parentElement) {
    if( parentElement instanceof IConnectionWrapper ) {
      IConnectionWrapper w = (IConnectionWrapper)parentElement;
      Root r = w.getRoot();
      if( r != null ) {
        if (r.containsDomain("org.apache.servicemix")) {
          ServiceMixFacade facade = new JmxTemplateServiceMixFacade(new JmxPluginJmxTemplate(r.getConnection()));
          ServiceMixNode smx = new ServiceMixNode(r, facade);
          return new Object[]{smx};
        }
      }
    } else if (parentElement instanceof NodeSupport) {
View Full Code Here

Examples of org.jvnet.sorcerer.Tag.Root

        Collections.sort(tags);

        TagStack opened = new TagStack();
        // start with the root tag
        Root root = new Root(sourceFile.length());
        opened.push(root);

        TagScanner upcoming = new TagScanner(tags);

        OUTER:
View Full Code Here

Examples of org.maltparserx.core.syntaxgraph.node.Root

  private RootLabels rootLabels;
 
  public MappablePhraseStructureGraph(SymbolTableHandler symbolTables) throws MaltChainedException {
    super(symbolTables);
    setSingleHeadedConstraint(true);
    root = new Root();
    root.setBelongsToGraph(this);
    graphEdges = new TreeSet<Edge>();
    edgePool = new ObjectPoolList<Edge>() {
      protected Edge create() { return new GraphEdge(); }
      public void resetObject(Edge o) throws MaltChainedException { o.clear(); }
View Full Code Here

Examples of org.maltparserx.core.syntaxgraph.node.Root

  private RootLabels rootLabels;
 
  public DependencyGraph(SymbolTableHandler symbolTables) throws MaltChainedException {
    super(symbolTables);
    setSingleHeadedConstraint(true);
    root = new Root();
    root.setBelongsToGraph(this);
    graphEdges = new TreeSet<Edge>();
    edgePool = new ObjectPoolList<Edge>() {
      protected Edge create() { return new GraphEdge(); }
      public void resetObject(Edge o) throws MaltChainedException { o.clear(); }
View Full Code Here

Examples of org.maltparserx.core.syntaxgraph.node.Root

  protected final Root root;
 
  public PhraseStructureGraph(SymbolTableHandler symbolTables) throws MaltChainedException {
    super(symbolTables);

    root = new Root();
    root.setBelongsToGraph(this);
   
    graphEdges = new TreeSet<Edge>();
    edgePool = new ObjectPoolList<Edge>() {
      protected Edge create() { return new GraphEdge(); }
View Full Code Here

Examples of org.mongodb.meclipse.views.objects.Root

    viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    // drillDownAdapter = new DrillDownAdapter(viewer);
    viewer.setContentProvider(content);
    viewer.setLabelProvider(new ViewLabelProvider());
    viewer.setSorter(new NameSorter());
    viewer.setInput(new Root(this));

    // Hook viewer up to the Eclipse selection provider:
    getSite().setSelectionProvider(viewer);

    // Create the help context id for the viewer's control
View Full Code Here

Examples of org.rhq.core.system.windows.RegistryEntry.Root

        if (!isCorrectTestPlatform("testRegistry")) {
            return;
        }

        WindowsNativeSystemInfo platform = (WindowsNativeSystemInfo) SystemInfoFactory.createSystemInfo();
        Root root = RegistryEntry.Root.HKEY_LOCAL_MACHINE;
        String baseKey = "SOFTWARE\\Microsoft";
        List<String> keys = platform.getRegistryChildKeys(root, baseKey);

        System.out.println("Child registry keys of: " + keys);
        assert keys.size() > 0;
View Full Code Here

Examples of org.simpleframework.xml.Root

        checkNotNull(beanDesc);
        return (T) beanDesc.getBean();
    }

    private <T> BeanDesc<T> loadBeanDesc(Class<T> clazz, boolean isRemoteFirst) {
        Root root = clazz.getAnnotation(Root.class);
        checkNotNull(root, "class %s must have annotation %s", clazz.getName(), Root.class.getName());
        String fileName = root.name();

        List<Loader> loaders = isRemoteFirst ?
                Lists.newArrayList(remoteLoader, localLoader) :
                Lists.newArrayList(localLoader, remoteLoader);
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.