Mechanism for converting text output into objects
First Claim
1. A computer-implemented method, comprising:
- parsing, within an object-based administrative tool framework, an input data stream and based on data being derived from the parsing, to instantiate one or more application programming interfaces (APIs), wherein at least one or more APIs is utilized to construct one or more objects to represent the parsed data, populate and validate contents of the one or more objects, and pass the one or more objects through a pipeline being exposed within a user-interface command application for further processing;
creating a unique template describing a text output of a traditional command, the template comprising an object state indicator for determining whether a live object is to be created, wherein the created live object includes a method that is directly invocable by one of the one or more APIs within the object-based administrative tool framework, wherein the template includes a field indicator and a corresponding field pattern; and
converting, when the object state indicator does not indicate creating the live object, the text output into a dead object, the text output not being in a standardized format and the dead object not having a method that is directly invocable, wherein converting the text output into a dead object includes invoking one of the one or more APIs to create a hash object; and
wherein the field indicator and the field pattern are utilized by the one or more APIs to process one or more objects created within the object-based administrative tool framework.
1 Assignment
0 Petitions
Accused Products
Abstract
The techniques and mechanisms described herein are directed at converting text into objects based on a template that describes the format of the text, where the format of the text is not in a standardized format. The objects then being available for further processing. The conversion mechanism converts the text into a dead object. The template comprises an object header indicator and a corresponding object header pattern. A new object is created based on the object header pattern identified within the text. In addition, the template comprises one or more field indicators each having a corresponding field pattern. The field pattern may be in a format of a regular expression. A field type and associated value are created from a string associated with the field pattern.
-
Citations
23 Claims
-
1. A computer-implemented method, comprising:
-
parsing, within an object-based administrative tool framework, an input data stream and based on data being derived from the parsing, to instantiate one or more application programming interfaces (APIs), wherein at least one or more APIs is utilized to construct one or more objects to represent the parsed data, populate and validate contents of the one or more objects, and pass the one or more objects through a pipeline being exposed within a user-interface command application for further processing; creating a unique template describing a text output of a traditional command, the template comprising an object state indicator for determining whether a live object is to be created, wherein the created live object includes a method that is directly invocable by one of the one or more APIs within the object-based administrative tool framework, wherein the template includes a field indicator and a corresponding field pattern; and converting, when the object state indicator does not indicate creating the live object, the text output into a dead object, the text output not being in a standardized format and the dead object not having a method that is directly invocable, wherein converting the text output into a dead object includes invoking one of the one or more APIs to create a hash object; and wherein the field indicator and the field pattern are utilized by the one or more APIs to process one or more objects created within the object-based administrative tool framework. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. At least one computer-readable medium storing computer-executable instructions that, when executed on a computer, perform the following steps:
-
parsing, within an object-based administrative tool framework, an input data stream and based on data being derived from the parsing, to instantiate one or more application programming interfaces (APIs), wherein at least one or more APIs is utilized to construct one or more objects to represent the parsed data, populate and validate contents of the one or more objects, and pass the one or more objects through a pipeline being exposed within a user-interface command application for further processing; describing output text generated from a source as an output template, the output template including an object state indicator for determining whether a live object is to be created, wherein the created live object includes a method that is directly invocable by one of the one or more APIs within the object-based administrative tool framework, wherein the output template includes a field indicator and a corresponding field pattern; and converting, when the object state indicator does not indicate creating the live object, the output text into a dead object, wherein the output text is not in a standardized format and the dead object does not have a method that is directly invocable, wherein converting the text output into a dead object includes invoking one of the one or more APIs to create a hash object, and wherein the field indicator and the field pattern are utilized by the one or more APIs to process one or more objects created within the object-based administrative tool framework. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
a processor; and a memory for storing program modules and data, including; an object-based administrative tool framework for parsing an input data stream and based on data being derived from the parsing, instantiating one or more application programming interfaces (APIs), wherein at least one or more APIs is utilized to construct one or more objects to represent the parsed data, populate and validate contents of the one or more objects, and pass the one or more objects through a pipeline being exposed within a user-interface command application for further processing; a template for describing text output generated from a source, the template comprising an object state indicator for determining whether a live object is to be created, wherein the created live object includes a method that is directly invocable by one of the one or more APIs within the object-based administrative tool framework, wherein the template includes a field indicator and a corresponding field pattern; and a conversion component for converting, when the object state indicator does not indicate creating the live object, the text output into a dead object, wherein the text output is not in a standardized format and the dead object does not have a method that is directly invocable, wherein the converting the text output into a dead object includes invoking the one or more APIs to create a hash object, and wherein the field indicator and the field pattern are utilized by the one or more APIs to process one or more objects created within the object-based administrative tool framework. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
Specification